Does Shopify have an option to show out-of-stock items but disable the "add to cart" button?

Asked 2 years ago

Does Shopify have an option to show out-of-stock items but disable the "add to cart" button?

Jeffry Buckner

Thursday, June 15, 2023

You have two options if you want to hide the "Add to Cart button" for your sold-out product. Either you can disable "Continue selling when out of stock", or you can change the theme's source code.

To disable "Continue selling when out of stock", from your Shopify admin, head to settings > Products > Scroll down to inventory and check the "Continue selling when out of stock" option.

If this doesn't work, or you want to change the code, you can wrap the "Add to Cart" button code with an {% if %} statement. Keep in mind, if you're not familiar with changing code then it's best to outsource, as incorrect changes can be hazardous to your website.





Write an answer...

Cancel

Please follow our  Community Guidelines

Can't find what you're looking for?

New to Shopify?

Launch your eCommerce business with Shopify's powerful platform. Get everything you need to create, manage, and scale your online store with ease. Join millions of successful merchants worldwide.

Continuous Innovation

We regularly release new features and improvements based on merchant feedback. Our development roadmap is shaped by your needs, ensuring our Shopify apps evolve with your business.

Expert Support Available

Our dedicated support team is available 24/7/365 to help with any questions about our Shopify apps. Reach us through the support icon in any app or email us at support@egnition.io

Pin It on Pinterest