Product quantity issue - shows out of stock

Topic summary

A user encountered an issue where products with quantity set to 1 displayed as out of stock, showing crossed-out size/color options and a disabled gray “Pre-order” button. Standard troubleshooting steps (disabling quantity tracking, enabling “continue selling when out of stock,” duplicating working products, creating new products) failed to resolve the problem.

Suggested troubleshooting steps:

  • Verify each variant has assigned SKU and quantity data
  • Check product theme template is set to “default” rather than “preorder” (Madrid theme has built-in pre-order templates)
  • Disable/uninstall any pre-order, bundle, or back-in-stock apps that may override inventory settings
  • Review main-product.liquid for custom code logic affecting product availability

Resolution: The issue was resolved by enabling the product “to be able for delivery” in Shopify’s “Shipping and delivery” settings section—a configuration requirement separate from inventory management.

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

I use Madrid theme. I set product qty to 1, but website shows as it is absent (size and color are crossed out, plus there is disabled gray button “Pre-order”)

Some products with no issue, I compared them - but did found any difference.

I tried switch off qty tracking - the same.

Tried set “Continue selling when out of stock” - no result..

Tried duplicate “healthy” product - did not help.

I tried to create new product from scratch - same issue

This usually isn’t about your inventory settings if you’ve already tried track quantity on/off and continue selling when out of stock. Since it’s happening even on brand new products, it points to a theme or variant setup issue rather than stock.

A few things to check.

  1. Variants Make sure each variant (size, color, etc.) has a SKU and quantity assigned. If a variant is missing data, the theme can mark it unavailable even if stock = 1.

  2. Theme settings (Madrid) Some Madrid versions have a built-in Pre order template. If that template is applied to your product, it will override inventory and show the gray button. Double-check under Online Store → Products → Theme template that it’s set to default (not preorder).

  3. Apps If you have a preorder, bundle, or back in stock app installed, it may be injecting that Preorder button behavior. Try disabling/uninstalling to test.

  4. Theme code If none of the above help, the product form in Madrid may have been customized. Look in main-product.liquid for logic like if quantity < 2 → show Preorder.

Hello @azshop ,

I hope you are doing well!

Can you please check if the varient quantity is not available? Is the correct variant selected as available?

Also, check the pre-order code condition on the theme. It might be the case that due to some specific condition pre-order button is visible with grey color.

It is need to add product “to be able for delivery” in “Shipping and delivery” section of shopify settings.