Hello, I am creating a web site (e-commerce) by using wix store. I would like to know if it’s possible to put in the page of the product the description “available” in Green and “not available” in red... ( the 2 descriptions should appear automatically upon availablility of the product itself). Do you have any suggestion on how to do it? Thanks
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Apologies for the delayed response, but I wanted to chime in on your question about displaying product availability on your Wix Store website. It's definitely possible to show "available" and "not available" descriptions in different colors on your product pages.
Hey,
You could use the wix-stores-backend API, specifically the getProductOptionsAvailability() function. You can use this function to determine the availability of a product.
You would then just have to add two text boxes to the page, one for each message in the colours you want and set them to be hidden on load. Once you do that you can add code to set the correct message to show() depending on the product availability.
Hope this helps!
Dara | Corvid Team