Guest Posted November 7, 2005 Share Posted November 7, 2005 Hi, Got a little problem with send_order_html_email. When the site is sending the confirmation e-mail to the customer the price displayed after the productsname is the price excl. the tax. I need to display the price incl. tax in the confirmation email. The problem seems to be in the Checkout_process.php file under the heading // ################ Added Send Order HTML Mail ################## if i'm not mistaken in this line: $products_price .= '<tr><td height="40" valign="top">' . ($currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'])) . '</td></tr>'; I already tried to change the line to: $products_price .= '<tr><td height="40" valign="top">' . ($currencies->format($order->products[$i]['final_price'], $order->products[$i]['tax'] * $order->products[$i]['qty'])) . '</td></tr>'; But it looks like that is not working. Does anyone have an idea how to solve this? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted November 16, 2005 Share Posted November 16, 2005 It looks like nobody could help me with this. So it tried serveral options. Solutions is as follows $products_price .= '<tr><td height="40" valign="top">' . ($currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'])) . '</td></tr>'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.