I need a custom stock status on my new Hyva site that im working on and I would like the following.
The most important is that it can show the actually stock level for each product from the salable quantity.
Green dot x stk.
Yellow dot 0 stk. (Bestillingsvare) if product stock (salable quanmtity) is 0 or below.
Red dot Ikke på lager (If i change the product to out of stock in the backend)
This file should be the one to change but I dont know how to do it unfortnatly:
/Magento_Catalog/templates/product/view/stock-status.phtml
Hope someone can help me.