Home Forums WoodMart support forum On product page, hide the quantity input

On product page, hide the quantity input

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #690156

    Maxor
    Participant

    Hi

    On product page, how to hide the quantity input ?

    as all clients only buy 1 product, i dont need the quantity input to show

    so that i can have the add to cart button showing 100% width

    how can i do that ?

    thank you

    #690190

    Hung Pham
    Keymaster

    Hi Maxor,

    Thanks for reaching to us.

    There are 2 points regarding that:

    + If you want to remove quantities box, it does mean you want to sell 1 item for each product only, so keep it in the Cart page doesn’t make sense. If it’s true, then I kindly request that you enable the option to be Sold Individually, which will remove the quantity selection from specific single product https://prnt.sc/dnAHNuPDlOet

    + In case you are simply want to remove it from all products, add below Custom CSS code to Theme Settings > Custom CSS > Global custom CSS

    .single-product .quantity{
    	display: none;
    }

    Regards,
    Hung PD

    • This reply was modified 4 days, 21 hours ago by Hung Pham.
    #690357

    Maxor
    Participant

    Thank you

    for those with the same need, it needs !important so that it can work :

    .single-product .quantity{
    	display: none!important;
    }
    #690505

    Hung Pham
    Keymaster

    Hi Maxor,

    Glad to hear your issue has been resolved. And hope you can share you feedbacks here https://tally.so/r/w4l54k

    If you have a quick minute we always appreciate a 5-star rating on our theme!

    https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492

    Your feedback is the motivation to improve our work and services.

    Regards,
    Hung PD

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘On product page, hide the quantity input’ is closed to new replies.