Hi and thanks for this, but it does not seem to be working for me. I tested by setting product to stock level of 1 then from front end I ordered this product, taking stock level down to 0. I did not receive an out of stock email.
I am using 1.5.1.3.1
Am I understanding the operation of this mod correctly? Any ideas?
Rob
I am using 1.5.1.3.1
Am I understanding the operation of this mod correctly? Any ideas?
Rob
I know my place...!
Karman,
I installed the mod and everything works fine! But I have one little question, now I get the 'model' field in the out of stock mail, but I want to see the product_name field in case of the 'model' field in my mail.
I already tried to change 'model' to 'product_id' in the .XML file but without succes.
Can you please tell me what to do?
Thank you very much, great mod!
I installed the mod and everything works fine! But I have one little question, now I get the 'model' field in the out of stock mail, but I want to see the product_name field in case of the 'model' field in my mail.
I already tried to change 'model' to 'product_id' in the .XML file but without succes.
Can you please tell me what to do?
Thank you very much, great mod!
Fmobile,
my dev opencart system is up to @#% again today, but please test the attached vqmod file, Should work now.
if not, can you just sent me any errors you get.
thanks
L:
my dev opencart system is up to @#% again today, but please test the attached vqmod file, Should work now.
if not, can you just sent me any errors you get.
thanks
L:
Attachments
Edited the mod and tested on 1.5.4.1
Sends alert mail to admin when quantity < 1
You can edit row 12 in the xml to set the warning stock quantity:
And the text starting on row 15:
Sends alert mail to admin when quantity < 1
You can edit row 12 in the xml to set the warning stock quantity:
Code: Select all
if ($qry->row['quantity'] < 1) {
Code: Select all
$text = 'Warning!'."\n\n";
$text .= 'Product stock reached 0'."\n\n";
$text .= 'Product name:'.$qry->row['name']."\n";
$text .= 'Product model:'.$qry->row['model']."\n";
if using " in product name, then it's displayed as " in subject and content message sent
please, do you know how to fix it ?
many thanks ;-) in advance
please, do you know how to fix it ?
many thanks ;-) in advance
OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4
Hi folks and thank you for the contribution to the developer of this xml.
I have updated the xml to be compatible for version 3.0.3.1 It should work on any 3.X version. Enjoy!
I have updated the xml to be compatible for version 3.0.3.1 It should work on any 3.X version. Enjoy!
Thanks, this works on 2.3.0.2 as well tested. Is it possible to have it also notify when a product option is out of stock? For example Option A has 5 but Option B was sold out.
Yes.
Copy attached file to /system/ and refresh modifications or use Extension - Installer
Note 1: tested on OC 2.3.0.2
Note 2: Change values for minimum on lines 12 and 41 :
Copy attached file to /system/ and refresh modifications or use Extension - Installer
Note 1: tested on OC 2.3.0.2
Note 2: Change values for minimum on lines 12 and 41 :
Code: Select all
if ($qry->row['quantity'] < 4) {
if ($option_gry->row['quantity'] < 2) {
Who is online
Users browsing this forum: No registered users and 5 guests