winedog Posted July 6, 2009 Share Posted July 6, 2009 Hi, OK yet another question on where/how to cleanup my orders as customers see them! In the order email that goes out to customers there are an empty set of parentheses showing up on the product line. Why are they there and any suggestions on how I can get rid of them? Products ------------------------------------------------------ 1 x Case of Widgets () = 825.00NZD ------------------------------------------------------ GST: 91.67NZD Total: 825.00NZD Link to comment Share on other sites More sharing options...
♥ecartz Posted July 6, 2009 Share Posted July 6, 2009 It's showing the products model. To change it, find (in checkout_process.php) $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"; try changing to $products_model_display = tep_not_null($order->products[$i]['model']) ? ' (' . $order->products[$i]['model'] . ')' : ''; $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . $products_model_display . ' = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; As always, backup first. Always back up before making changes. Link to comment Share on other sites More sharing options...
winedog Posted July 6, 2009 Author Share Posted July 6, 2009 That seems to have worked. Thank you, Matt! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.