Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #194751

    Hi,
    Two questions about our Enfold Woocommerce webshop:
    First, we have created a ‘continue shopping’ button in the webshop. This shows on the cart page, but when the cart is empty, another ‘back to store’ button appears. Is it possible to deactivate this button or program our own button to not show when cart is empty?

    Second, our webshop has a lot of categories and subcategories. Behind every category title, the shop shows the amount of products in it, between brackets. Is there a way to remove these numbers?

    Thank you so much in advance!

    Gonneke Peeters
    peetersduurzaam.nl

    #195052

    Hi eric_peeters!

    1.) You can add this on your custom.css or Quick CSS:

    
    .woocommerce-cart .entry-content .woocommerce .button {
    display: none;
    }

    2.) Use this:

    .product-category .count {
    display: none;
    }

    Regards,
    Ismael

    #197752

    Dear Ismael,

    Thank you very mucht for your help! We have added these lines in the Quick CSS and they seem to have worked. However, we now have some different problems with the webshop. On the cart page, the checkout-button has disappeared and we have no clue where it went or how to get it back.

    Also, there is a wrong cartpage stuck in our system somewhere, Whenever we check the box on leading the customer directly to cart upon selecting a product, it links to this wrong cartpage that shows a different product that can not be removed. When we do not send the customer directly to the cart page, the cart seems to be working fine (apart from not having the checkout-button). How can we remove this false page, so we can redirect the customer to the correct cart page directly?

    Thank you so much in advance!

    Kindest regards,

    Gonneke

    #197932

    Hey!

    1.) Please add this at the bottom of the code I gave you:

    .actions .button {
    display: block !important;
    }

    2.) Can you please give us a step by step instruction on how you encounter this issue?

    Best regards,
    Ismael

    #198024

    Ismael,

    1) Somehow I keep getting the “Saving didn’t work! Please reload the page and try again“-message every time I try to add the code that you gave to the quick css box and save it. I tried reloading the page, rebooting my internet browser, and rebooting my computer but I keep getting that message so I will try again later.

    2) I will give you a step by step instruction in a private reply.

    Kind regards,

    Gonneke & Pim

    #198027
    This reply has been marked as private.
    #198435

    Hey!

    Removing:

    
    .woocommerce-cart .entry-content .woocommerce .button {
    display: none;
    }

    Should fix it. I don’t think there is actually a good way of removing the back to shop button from an empty cart page since there is no unique class or page name for that scenario.

    You can try the WooCommerce support forums however and see if anyone has found a good method for it there.

    Regards,
    Devin

    #198540

    OK thanks Devin!
    Where can I find this code?

    #198793

    Thats the css Ismael suggested using previously. I’m guessing its the cause of the button getting removed since it doesn’t have a very specific class declaration.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Continue shopping button and number of products’ is closed to new replies.