Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing Stock Level Email - contribution


puplepixi

Recommended Posts

Hi,

 

I'm trying to install the contribution for emailing low stock levels. I'm a bit confused tho. It says to install it after:

 

if ((DOWNLOAD_ENABLED != 'true') || (!$stock_values['products_attributes_filename']))

{

$stock_left = $stock_values['products_quantity'] - $order->products[$i]['qty'];

 

in the checkout_process.php file. But mine doesn't have that anywhere, mine says:

 

 

define('EMAIL_TEXT_SUBJECT', 'Order Process');

define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');

define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');

define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');

define('EMAIL_TEXT_PRODUCTS', 'Products');

define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');

define('EMAIL_TEXT_TAX', 'Tax: ');

define('EMAIL_TEXT_SHIPPING', 'Shipping: ');

define('EMAIL_TEXT_TOTAL', 'Total: ');

define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address');

define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address');

define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method');

 

define('EMAIL_SEPARATOR', '------------------------------------------------------');

define('TEXT_EMAIL_VIA', 'via');

?>

 

 

Am I looking in the right place? Any ideas?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...