Tagged: x
-
AuthorPosts
-
September 14, 2016 at 2:13 pm #1175304
Ben HorleParticipantHi
I know from reading other posts there is some sort of conflict with the shop page sidebar and having renew set to full width.
All the posts I find are old and I can’t find code that will work. I am keen to get my shop working please can you help, login ect to follow
September 14, 2016 at 2:15 pm #1175307
Ben HorleParticipantThis reply has been marked as private.September 14, 2016 at 2:16 pm #1175314
Ben HorleParticipantThe reason that I would like to show the sidebar it to be able to filter by catagory, is this possible to do with in the sidebar or have I overlooked the shop page settings?
September 14, 2016 at 9:04 pm #1175880
Rue NelModeratorHello There,
Thanks for writing in and the very detailed information. Do you want the sidebar just in the shop page only? If that is the case, you may add this code in your child themes functions.php file;
// Sidebars only in Shop page // ============================================================================= function add_shop_sidebar($layout) { if ( x_is_shop() ) { // 'content-sidebar' if you want to display content left and sidebar right // 'sidebar-content' if you want to display sidebar left and content right $layout = 'content-sidebar'; } return $layout; } add_filter('x_option_x_layout_content', 'add_shop_sidebar'); // =============================================================================We would loved to know if this has work for you. Thank you.
September 15, 2016 at 4:49 am #1176336
Ben HorleParticipantThat’s exactly it. I will give this a try. Thank you!
September 15, 2016 at 4:52 am #1176340
Ben HorleParticipantAlso is there a way to hide the shop basket while I build my shop? I want to build and test it but I don’t want customers clicking around it yet.
Thanks
Ben
September 15, 2016 at 7:26 am #1176492
JoaoModeratorHi There,
You can add temporarily the following code on Appereance > Customizer > Custom > CSS
.x-navbar .x-nav>li.x-menu-item-woocommerce>a .x-cart>span, .x-navbar .x-nav>li.x-menu-item-woocommerce>a .x-cart.inline.outer-inner { display: none; }Hope it helps,
Joao
September 15, 2016 at 11:41 am #1176855
Ben HorleParticipantYou guys are so helpfull thank you!
September 15, 2016 at 11:57 am #1176890
Ben HorleParticipantAlso, is it possible to make the shop page view catogarys instead of products?
September 15, 2016 at 2:34 pm #1177122
Nabeel AModeratorHey there,
Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.
Thanks for understanding. Take care!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1175304 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
