How to disable the Return to Shop button

This topic has 8 replies, 4 voices, and was last updated 8 years, 9 months ago ago by Jack Richardson

  • Avatar: andreataylor
    andreataylor
    Participant
    July 12, 2015 at 22:21

    Hi there,

    Our website menu is mostly made up of product categories. We do not wish the include the Shop page in the menu i.e. the full listing of all products. Therefore, we would like to disable the ‘Return to Shop’ button that appears when there are no products to view within a product category. I’ve taken a look but can’t see how to do that. Any advice much appreciated.

    Best wishes, Andrea

    7 Answers
    Avatar: stan
    Stan Russell
    Participant
    July 13, 2015 at 07:40

    Hello,

    please add following css code to your custom.css file:

    .empty-category-block{
    display:none
    }

    Regards,
    Stan Russell.

    Avatar: andreataylor
    andreataylor
    Participant
    July 22, 2015 at 09:12

    Hi Stan,

    Thank you for your email. I don’t think I explained the problem properly.. if I click the ‘Bag’ button when it is empty, the text reads ‘You bag is currently empty’ and below this is a ‘Return to Shop’ button. But, we haven’t set up a Shop page (all the products are listed under product categories). So we want to remove this button altogether, as we don’t have a Shop page. The code you have suggested doesn’t do that?

    Best wishes, Andrea

    Avatar: Eva
    Eva Kemp
    Support staff
    July 22, 2015 at 10:17

    Hello,

    I’ve edited the code in your custom.css to this one:

    .empty-cart-block .button.active {
    display:none !important;
    }

    Please check empty cart page now.

    Regards,
    Eva Kemp.

    Avatar: andreataylor
    andreataylor
    Participant
    July 22, 2015 at 11:34

    Hi Eva,

    Much appreciated. Sorry, actually, the problem is also there for product categories that do not currently have any products listed. So, for example, we have 2 categories/pages — ‘Art Pieces’ and ‘Gifts’ that has the same ‘Return to Shop’ button appearing. How would I remove the button from these pages also? Or change it to ‘Return to Home’ if that is easier? Apologies for the inconvenience, I only just noticed it appears on more than just the Bag page..

    Best wishes, Andrea

    Avatar: Eva
    Eva Kemp
    Support staff
    July 22, 2015 at 15:11

    Hello,

    Please add this code in custom.css:

    .empty-category-block .button.active {
    display:none !important;
    }

    Regards,
    Eva Kemp.

    Avatar: andreataylor
    andreataylor
    Participant
    July 22, 2015 at 15:45

    Fabulous! Many thanks indeed Eva!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 22, 2015 at 18:13

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘How to disable the Return to Shop button’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.