Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #873161
    PX
    Participant

    can we hide all products in the last section of the shop page?
    http://www.gsabedding.org/shop/

    I used woocommerce shortcode to generate each category but would like to hide the default ‘all products’ if possible.

    #873827
    Christopher
    Moderator

    Hi there,

    Please add your shortcode in a normal page, it’s an archive page. If you want to use his URL as shop page, please change main shop page from wocommerce settings -> Products -> Display.

    Hope it helps.

    #876744
    PX
    Participant

    we set the shop page up correctly. please see attachment for details. how can we remove the default ‘all products’ if possible.

    #877507
    Darshana
    Moderator

    Hi there,

    The above post suggest you to create a new page in WordPress and then use WooCommerce shorcodes to show your products (https://docs.woothemes.com/document/woocommerce-shortcodes/) and then you can select that page as your main shop page by head over to WooCommerce Settings -> Products -> Display -> Shop Page.

    Hope that’s clear.

    #878553
    PX
    Participant

    thank you for your reply.
    that’s exactly what we did but the ‘all products’ view is displaying. we only want selected categories to display. please advise.

    #879368
    Lely
    Moderator

    Hi PX,

    Please check Product Category on the link provided on the previous reply. Something like this:[product_category category="appliances"]. It will display multiple products in a category by slug.

    Hope this helps.

    #880565
    PX
    Participant

    thats exactly what we did. i’ve attached the page edit view which displays the shortcode we used and i’ve also attached the page view, which you can also visit at http://www.gsabedding.org/shop/

    as you can see in the screenshot, we want to remove the “all products” view and ONLY display specific categories. the shortcode works great but how can we hide the default products as outlined in the screenshot?

    i hope you can help!

    #880570
    PX
    Participant

    here is the screenshot of the shop page with the area in question.

    #881357
    Darshana
    Moderator

    Hi there,

    In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #881370
    PX
    Participant
    This reply has been marked as private.
    #881768
    Rue Nel
    Moderator

    Hello There,

    Removing the all products section in your shop page and only display the custom Woo shortcodes you have added on the page, please add the following css code in the customizer, Appearance > Customize > Custom > CSS

    .post-type-archive-product .products.cols-4,
    .post-type-archive-product .woocommerce-ordering,
    .post-type-archive-product .woocommerce-result-count,
    .post-type-archive-product .x-pagination {
        display: none;
    }
    
    .post-type-archive-product .woocommerce.columns-4 .products.cols-4 {
        display: block;
    }

    Hope this helps. Please let us know how it goes.

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