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.
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.
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).
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.
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.
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.