Out of stock swatch style not applied on product page
-
Hello,
I set a disabled swatch style for out-of-stock variations in Attributes > Swatches settings. However, on the product page, the variation still shows with plain text “Out of stock” instead of the disabled style.
Screenshots are attached for reference (backend settings and frontend result).
Could you please check why the selected swatch style is not applied?
Thanks.
Attachments:
You must be
logged in to view attached files.
Hello,
Navigate to Products > Attributes > edit attribute > Choose the disabled swatch. The disabled Swatch style is for the variants of the Products that are disabled, ,not for the Out of Stock variants. So, you need to have the variant of the Product not checked with the Enable option on it, and then the Disabled Swatch style will work accordingly.
See these images for reference:
https://snipboard.io/BMehIF.jpg
https://snipboard.io/NbOzfP.jpg
Best Regards,