Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sum ordert total ang shipping in email confirmation


kendry

Recommended Posts

Posted

Hi,

 

I would like to sum ​​up order total and shippinh method in email order confirmation which goes to client.

 

someone may prompt where or how to do it?

Posted

In checkout_proces.php (which is responsible for sending e-mail) I have listing which shows me all the amount of the order and shipping cost:

 

 

for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) {

$email_order .= '<tr><td colspan="5" align="right"><b>' . strip_tags($order_totals[$i]['title']) . '</b></td>' . '<td align="right" style="background-color:#C;"> <b><font color="#FF0000" size="+2"> ' . strip_tags($order_totals[$i]['text']) . "</font></b></td></tr></table>\n";
}

Archived

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

×
×
  • Create New...