Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #236702
    Edwin
    Participant

    Hello, can you send the code snippet to remove the woocommerce product counter from single product listings? I know it can be done on the product page but I have hundreds of products. Here one of my product listings https://www.goldenbuddha.net/product/gilded-chenrezig-buddha-statue/ I want to remove the product counter next to add to cart. Thanks!

    #236704
    Skandha
    Keymaster

    @mmhgloba: Hello Edwin,
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    .woocommerce div.product form.cart div.quantity {
        display: none;
    }

    Let me know if this is what you want!
    Kind Regards,
    Skandha

    #236728
    Edwin
    Participant

    It removed the counter, but did not resolve the issue. The problem is that if the buyer puts the product in the cart then returns to the product page, woocommerce posts the warning that the product is already added to the cart such as in this screen shot https://www.newpassportpro.com/wp-content/uploads/2020/02/add-to-cart.jpg

    Can we disable the notification also?

    #236760
    Edwin
    Participant

    I found the code for this…so it is resolved.

    #236761
    Skandha
    Keymaster

    @mmhgloba: Glad you were able to figure it out. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘woocommerce product counter’ is closed to new replies.