How to show the stock status on product catalog pages
-
How can I show the stock status on product catalog pages?
I use this free stock plugin: https://nl.wordpress.org/plugins/woo-custom-stock-status/ to show custom stock status text per product.
The setting and meta information for variable and simple products you’ll find in the attached image
A simple product has the metadata: Meta: in_stock
A variable product has the metadata: Meta: _in_stock_status
https://ibb.co/S6WtfpRIf a variable product has a couple of variations, each variation can have another custom stock status like: Delivery time: within 4-6 weeks or Delivery time: for collection: within 5 working days, for delivery: within 14 working days.
These custom texts are stored in: Meta: _in_stock_status.If the Meta: in_stock and Meta: _in_stock_status contains for example the words: within 14 working days. It must show a label/text on the product catalog pages at that product with: Fast delivery or something.
Does this already exist, or how can I add this?
woo-custom-stock-status does not have this feature.
- The topic ‘How to show the stock status on product catalog pages’ is closed to new replies.