Author Topic: Low Stock Warning in the browser window (not email)  (Read 1333 times)

cry0

  • Beginner
  • *
  • Posts: 3
Low Stock Warning in the browser window (not email)
« 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27426
  • Always on vacation
    • Jenkin Hill Internet
Re: Low Stock Warning in the browser window (not email)
« Reply #1 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.10057 on Joomla 3.9.8 PHP 7.0.33
Testing VM .3.6.0.10075 on Joomla 3.9.8

cry0

  • Beginner
  • *
  • Posts: 3
Re: Low Stock Warning in the browser window (not email)
« Reply #2 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27426
  • Always on vacation
    • Jenkin Hill Internet
Re: Low Stock Warning in the browser window (not email)
« Reply #3 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.10057 on Joomla 3.9.8 PHP 7.0.33
Testing VM .3.6.0.10075 on Joomla 3.9.8

cry0

  • Beginner
  • *
  • Posts: 3
Re: Low Stock Warning in the browser window (not email)
« Reply #4 on: January 03, 2012, 12:40:29 pm »
Will look into it. Thank you very much :)