News:

Support the VirtueMart project and become a member

Main Menu

low stock warning emails cannot be stopped

Started by welrachid, November 26, 2018, 10:52:33 AM

Previous topic - Next topic

welrachid

Hi guys
J!3.9
After updating to newest VM 3.2.4 im having problems with emails with subject COM_VIRTUEMART_PRODUCT_LOW_STOCK_EMAIL_SUBJECT
The "lstockmail" field in configuration have always and still is (i even tried saving just to make sure it writes correct to the db if fieldname changed) turned off

So im wondering why am i receiving these mails?
We dont use stock in this particular shop, so we let it just keep going up.

I have updated from VM 3.2.14

I've already located the place i think is being issued an email from:
administrator/components/com_virtuemart/models/product.php: 2913

but this says that only if it is true it should send out an email?

Hope you guys have an answer
Thanks.
Best regards,
Wel

Jörgen

Does negative stock maybe screw things up ?

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

welrachid

Yes. We do have negative stock, but this is because we could sell 50.000 flyers or so, so keeping up with stock makes no sense for us.

Before updating we did not receive any warnings
Best regards,
Wel

Jörgen

Does the negative stock cause this issue ? Or is it unrelated ?

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