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

Asked a year 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?

Don't Know what Shopify is?

Start your own online eCommerce business using Shopify platform. Shopify gives you all the tools needed to make the journey easier, faster and more profitable.

Frequent Releases

We work tirelessly to deliver more value to your business. Our roadmap is largely based on the questions you ask. We listen and we deliver as often as we can.

24/7/365 apps support

You can reach out to us via a dedicated support icon in the apps. We're always there. Or simply send us an email with your questions at support@egnition.io

Pin It on Pinterest