Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
hello everyone,
My website is going live on the 23th of januari, so I’m in a bit of stress. Customers can add as many of 1 product as they want. Because I’m going to sell vintage I have 1 product of each item. Unfortunately I can’t change the (add … +) button on the product page to just 1 product. The customers will receive this message: You can't add xxx to the cart. I do not want this message. I just want that they are not able to exceed the available stock quantity. Can you help me?
Hello @lydia_aida,
Greetings from the Store Watchers Support Team! Happy to help you today.
One possible solution is to hide the quantity adjuster box from the product and cart page. To do that you need to add CSS In your theme.liquid, please paste the code below before the </head> tag.
<style>
.quantity{
display:none
}
</style>
You might need to change the CSS selector which is quantity based on your theme structure if you are using custom theme.
Regards,
Store Watchers Support Team
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025