Customise Woocommerce Product page to show 'Sold out' beside variants that are sold out, and hide variant when no longer available.
Our woocommerce website sells courses that are held on a certain date/time. The date/time is stored as an attribute on the product. See [url removed, login to view]
When the stock level for a variant becomes zero woocommerce currently hides (does not show) the variant. We would like to change this so that the website continues to display the variant after it's stock level reaches zero and display a 'Sold Out' message beside the variant (instead of the Book Now) button. Additionally, we would like the website to hide the variant/course when it's date/attribute value is less than (<) today's date.
A design for the 'Sold Out' message will be provided.
Attached is an extract of the code (from [url removed, login to view]) that draws the courses and buy now buttons.
6 freelancers are bidding on average $72 for this job
We have great experience to provide web design, development services to all kinds of small, medium and large enterprises. Please order with confidence. we are the real deal!