In the linked page (category) I eneble to view stock level icon.
Now if I have 1 or more products the icon is green and display high avaiability, if quantity is 0 I decided not showing product.
Is possible to set icon color like:
from 1 to 10 icon is orange (avaiable in "vm2-sprite.png" )
from 10 to 100 icon is green
Thank's for replay
The topic has been locked.
stock level icon in category pages
8 years 6 months ago #7635
I can't be sure about the "colors of icon" because it is the feature of Virtuemart itself (not our template's).
But in every product, there is a field you can type a number, which is called "Low Stock Notification".
You can see that field from: VM Backend >> Products >> [Any Product] >> Product Status >> [Low Stock Notification]
So you should better type 10 to this field, so if the stock drops below 10, the "low stock noficiation" will show off (which must be orange icon or something, i am not positive about it)
If you want to remove the product from the category page if the stock reaches to ZERO. (instead of labeling it with "SOLD OUT" badge). Then you should set this option active;
VM Backend >> Configuration >> Shopfront >> Action when a Product is Out of Stock >> [Do not Display Product]
So the if any product becomes "out of stock" it will be hidden from the website.
But those things are irrelevant to our Template and they are features of Virtuemart Component itself.