This topic has 14 replies, 3 voices, and was last updated 9 years, 10 months ago ago by Robert Hall
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?
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.
This didn’t work — was I supposed to add it to the style.css file; I couldn’t find any file names, ‘Custom.css’?
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.
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).
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.
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!
Hello,
Please provide us with wp-admin panel credentials in Private Content.
Thank you.
Regards,
Eva Kemp.
Thanks —
UserName: Guest
Passwd: PeMcWaZo67I!
sorry…that wasn’t private, let me try again!! 🙂
Login Credentials below in private content –
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.
Yes, it was my cache – thank you so much for taking the time to review and help!
Hello,
You’re welcome!
If you have any questions please feel free to contact us.
Regards,
Robert Hall.
The issue related to '‘Can Qty be removed on Product page?’' has been successfully resolved, and the topic is now closed for further responses