Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacturer name in receipts and confirmation e-mail


arbocenc

Recommended Posts

Posted

Hello,

 

I'm interested in show manufacturer in receipts and confirmation e-mails because I have a lot of products with the same name but different manufacturer...

 

How can I do it?

 

Thanks,

 

Joan

[email protected]

www.delaterra.net

organic food in Catalonia

Posted

The email confirming the order is constructed by catalog/checkout_process.php, which builds the $products_ordered string while performing the stock update. In the current v.1.115, each product ordered has its details added by this statement at about line 213:

$products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "n";

 

Before inserting the manufacturer in this string, it has to be looked up based on the product id. Someone else will have to help take it from there, as I don't quite have the skill yet to write the tep_db_query that needs to be done.

Archived

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

×
×
  • Create New...