Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stock Update & Customer E-mail


MightyThor

Recommended Posts

Hi everyone,

 

I'm trying to add a small piece of code which, when someone buys a product, does a quick stock check and e-mails the store owner if that product is low on stock.

 

Where can I find the code which deducts from the stock and e-mails the customer after they've purchased an item? I can't find it for the life of me nor can I find any threads relating to this.

 

Any help would be much appreciated.

 

Thanks!

Link to comment
Share on other sites

the file in question is checkout_process.php look for $stock_left and tep_mail in that file.

 

That should get you started.

 

Matt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...