VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: cry0 on December 30, 2011, 17:37:46 PM

Title: Low Stock Warning in the browser window (not email)
Post by: cry0 on December 30, 2011, 17:37:46 PM
Hi everyone,

Got this request for a new store: when an article is low in stock there should be a warning message/image/whatever in the backoffice. The store admin wants a visual warning, when logged in to the backoffice, when a product is low in stock.

I have seen ways to do this by sending an automatic email, which is IMHO somewhat simple compared to this request.

Any thoughts on how to do this or if this is even possible?

Many thanks
Title: Re: Low Stock Warning in the browser window (not email)
Post by: jenkinhill on December 30, 2011, 20:12:38 PM
This could be accomplished by using a plugin. This would not be a requirement of all store owners so I don't think it should be part of the VM core. Such a plugin is not yet available, as far as I know, so would require writing.
Title: Re: Low Stock Warning in the browser window (not email)
Post by: cry0 on January 02, 2012, 16:26:45 PM
jenkinhill,

Thank you so much for your answer. Even though I have worked through and changed both virtuemart and joomla code many times in order to change SW behaviour, I have never written a plugin from scratch. Can you please recommend any good resources?

Many thanks
Title: Re: Low Stock Warning in the browser window (not email)
Post by: jenkinhill on January 02, 2012, 18:39:35 PM
The plugin documentation needs changing to suit the VM2 releasedformat, but see http://forum.virtuemart.net/index.php?topic=81681.0
Title: Re: Low Stock Warning in the browser window (not email)
Post by: cry0 on January 03, 2012, 12:40:29 PM
Will look into it. Thank you very much :)