News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to change stock level intervals?

Started by man.of.earth, March 23, 2019, 23:26:27 PM

Previous topic - Next topic

man.of.earth

Hello everyone,

Does anyone know how to change the intervals for the colors of stock levels? (those red, green etc.), i.e. between 1-10 - red, between 300-1000 - green

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

man.of.earth

No. It's the default VM one.
I simply look to find out where the intervals for low/medium and sufficient stock are defined.

Jörgen

I do not use this but I guess :

Stock  <= 0  = RED
Stock  <= Low Stock Notification  = ORANGE
Stock > Low Stock Notification = GREEN

Try it for Yourself, takes about 5 minutes to test.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

man.of.earth

Thanks Jörgen, it worked.
It displays orange if the (stock minus reserved) <= low stock number.