Can Qty be removed on Product page? - by Kathy

This topic has 14 replies, 3 voices, and was last updated 9 years, 10 months ago ago by Robert Hall

  • Avatar: kathycb
    Kathy
    Participant
    December 23, 2014 at 04:26

    I’d like to remove the Qty option on the product page and have the user just select ‘Add to Cart’. I’m not really using this site as a shopping cart website – it’s more to register and pay for single classes, so I’m trying to retrofit the cart functionality.

    For example, see this demo page – http://fabiusindoorsportsdev.hillsidewebsolutions.com/product/soccer-classes-2/

    Is this possible?

    13 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    December 23, 2014 at 09:01

    Hello,

    Please add this code into custom.css file:

    #product-page .product-shop .addto-container .qty-block {
        display: none !important;
    }

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: kathycb
    Kathy
    Participant
    December 23, 2014 at 15:15

    This didn’t work — was I supposed to add it to the style.css file; I couldn’t find any file names, ‘Custom.css’?

    Avatar: Eva
    Eva Kemp
    Support staff
    December 23, 2014 at 15:23

    Hello,

    To create custom.css you need rename default.custom.css to custom.css in wp-content/themes/blanco directory via FTP. Then enable it in Blanco – Theme Settings > tick “Enable Custom CSS file”.

    Regards,
    Eva Kemp.

    Avatar: kathycb
    Kathy
    Participant
    January 3, 2015 at 13:42

    I have created the custom.css file which is working great; it fixed another issue that I was having. But, I added the code to hide the QTY and it still displays. Any other ideas? I’d also like to hide QTY on the actual cart page (once something is placed in the cart).

    Avatar: Eva
    Eva Kemp
    Support staff
    January 3, 2015 at 18:04

    Hello,

    Please add this code in custom.css file:

    th.product-quantity, th.product-quantity .qty-block {
    display: none;
    }
    th.product-subtotal {
    position: absolute;
    padding-left: 50px;
    }
    @media only screen and (max-width: 479px) { th.product-quantity, th.product-quantity .qty-block {
    display: none;
    }
    th.product-subtotal {
    position: absolute;
    padding-left: 50px;
    }
    }

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: kathycb
    Kathy
    Participant
    January 9, 2015 at 01:12

    Thank you — it works on my products page! But in the Cart itself, I still see the Qty where user can add or subtract. Can this be removed as well?

    This is a great theme – it’s working perfectly in my mobile p hone as well as desktop!

    Avatar: Eva
    Eva Kemp
    Support staff
    January 9, 2015 at 09:54

    Hello,

    Please provide us with wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: kathycb
    Kathy
    Participant
    January 10, 2015 at 22:55

    Thanks —
    UserName: Guest
    Passwd: PeMcWaZo67I!

    Avatar: kathycb
    Kathy
    Participant
    January 10, 2015 at 22:55

    sorry…that wasn’t private, let me try again!! 🙂

    Avatar: kathycb
    Kathy
    Participant
    January 10, 2015 at 23:01

    Login Credentials below in private content –

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    January 12, 2015 at 10:58

    Hello,

    As I see there is no Qty option on the Cart page.
    Please clear your browser cache and check again.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: kathycb
    Kathy
    Participant
    January 12, 2015 at 20:41

    Yes, it was my cache – thank you so much for taking the time to review and help!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 12, 2015 at 20:51

    Hello,

    You’re welcome!
    If you have any questions please feel free to contact us.

    Regards,
    Robert Hall.

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

The issue related to '‘Can Qty be removed on Product page?’' has been successfully resolved, and the topic is now closed for further responses

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