Disable the quantity fields on the product page

This topic has 5 replies, 2 voices, and was last updated 1 years, 8 months ago ago by Rose Tyler

  • Avatar: martijntje
    martijntje
    Participant
    April 11, 2023 at 10:16

    Hi there,

    I would like to hide the quantity fields on the product page (and checkout pages), as it is a digital product to sell.

    I saw the following code from another topic:

    .content-product .quantity-wrapper .quantity {
    display: none;
    }

    I added it to custom css box but it still shows the quantity field. Am I doing something wrong?

    Regards,

    Martijn

    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 11, 2023 at 10:32

    Hello, Martijntje,

    Thank you for contacting us and for using XStore.

    We can’t open URL you provided without log in. Please provide temporary wp-admin access via the Private Content area.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Kind Regards,
    8theme team

    Avatar: martijntje
    martijntje
    Participant
    April 11, 2023 at 10:36

    See attached.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 11, 2023 at 13:22

    Hello, Martijntje,

    Thank you for your response.
    Could you provide FTP access also?
    To create FTP access, please contact your hosting provider for assistance.

    Kind Regards,
    8theme team

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 11, 2023 at 14:37

    Hello, Martijntje,

    To fix the issue correctly without any “bad coding” implementations one of our developers already posted a suggestion to WooCommerce plugin so that they could provide more possibilities for fixing this issue from our theme and also from many other themes and plugins that provide such plus/minus quantity feature.

    Topic -> https://github.com/woocommerce/woocommerce/issues/37661

    For this time we recommend you use next custom CSS ->

    .sold-individually .quantity {
        display: none;
    }

    You may also leave your comments or voices for this request to speed up WooCommerce devs.

    Thank you for understanding!

    Kind Regards,
    8theme team

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

You must be logged in to reply to this topic.Log in/Sign up

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