Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1175304
    Ben Horle
    Participant

    Hi

    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

    #1175307
    Ben Horle
    Participant
    This reply has been marked as private.
    #1175314
    Ben Horle
    Participant

    The 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?

    #1175880
    Rue Nel
    Moderator

    Hello 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.

    #1176336
    Ben Horle
    Participant

    That’s exactly it. I will give this a try. Thank you!

    #1176340
    Ben Horle
    Participant

    Also 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

    #1176492
    Joao
    Moderator

    Hi 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

    #1176855
    Ben Horle
    Participant

    You guys are so helpfull thank you!

    #1176890
    Ben Horle
    Participant

    Also, is it possible to make the shop page view catogarys instead of products?

    #1177122
    Nabeel A
    Moderator

    Hey 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!

  • <script> jQuery(function($){ $("#no-reply-1175304 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>