• lgb2018

    (@lgb2018)


    Hi,
    I wanted to know if it is possible to hide botton cart quantity in the product pages, but to show it on the cart page. I see that it can be disabled but not hidden. Thank you

    • This topic was modified 6 years ago by lgb2018.
Viewing 8 replies - 1 through 8 (of 8 total)
  • RokasJ

    (@rokasjan)

    Hi,

    Are you referring to product quantity before adding it to cart? I’m not sure I fully understand.

    Thread Starter lgb2018

    (@lgb2018)

    Exactly, I want to put the quantity only in the cart, not in the product page

    RokasJ

    (@rokasjan)

    Hi,

    If you could share url to your website I could write custom CSS code that would hide the input field, however it would do that to all products.

    Thread Starter lgb2018

    (@lgb2018)

    RokasJ

    (@rokasjan)

    Hi,

    Because you have disabled the quantity box I am unable to properly check what classes are being used for this field therefore the following CSS code might not work.

    .woocommerce-variation-add-to-cart > .quantity {
        display: none;
    }

    Please try it out by pasting it to the “Custom CSS” module.

    Thread Starter lgb2018

    (@lgb2018)

    thank you for your help, now it works but not at all, I want it never to appear on the product page and when you choose the size, the amount will come back out. I want you to be able to modify the quantity only in the cart.it’s possible?

    • This reply was modified 6 years ago by lgb2018.
    RokasJ

    (@rokasjan)

    Hi,

    Please try the following CSS (remove the previous one):

    .woocommerce-variation-add-to-cart > .quantity {
        display: none !important;
    }
    Thread Starter lgb2018

    (@lgb2018)

    thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘not show cart quantity’ is closed to new replies.