Is there basic coding to display items that have variants as “grayed out” with sold out variants in the product drop downs/pill buttons so that customers know which items are available?
Also, I’m wanting to have item photos for products that are sold out to automatically be reduced in opacity (but still show as there’s an option to be notified for restocks)
Customizing the variant button with the liquid file is so difficult and prone to conflict, so in your case, I suggest you use a third-party app to solve this problem.
Thank You! I’m not exactly sure this answers the original question though. I’ve included a photo as to what I was hoping to showcase. I don’t see where the app above enables sold out items to grey or cross out?
Thank you!!! This worked for my Dawn theme as well!
The code just needed to be inputted farther down then what your picture displays for me. I just searched the code until I found the exact same coding that was displayed in your pic. Mine was around line 300.
This worked for me in Dawn theme! You just have to search a little bit farther down for the correct place to input the coding. It was around line 300 - just compare to the posted picture above for the exact place you need to input.
We’re happy to see that our suggestion helped you solve the issue. Can you kindly give us a like? This can be a reference for other merchants if they have an issue like you and greatly motivate us.