Hi,
I've added a new field to the products table "products_bin". This is very similar to the "products_model" field. I need it to appear on the e-mail confirmation. Can anyone help me?
Looking at the checkout_process.php file, I've found the following line of code that creates the lines in the e-mail with the product details, so I've added the text in red:
$products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['bin'] . '/' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n";
I've also gone to the 'order.php' class file (includes\classes) and edited it so that every time there was an instance of "model", I added "bin".
I've also added a field in the orders_products table named 'products_bin'.
Anyone can help? Pleeease??
thanks in advance,
A.-




LinkBack URL
About LinkBacks






Bookmarks