Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Email Format


Recommended Posts

Posted

I am wondering if I can change the way the email is formatted when a sale has been made.

 

It looks like this now

mystore.ca
------------------------------------------------------
Order Number: 2
Detailed Invoice: http://mystore.ca/account_history_info.php?order_id=2
Date Ordered: Friday 21 May, 2010

Products
------------------------------------------------------
1 x GU10 240 Lumen White 15 5050 SMD LED Wide Angle (1232WH) = $18.00
1 x GU10 110 Volt AC 32 Warm White LED Spot Light Bulb (1209WW) = $10.00
------------------------------------------------------
Sub-Total: $28.00
Flat Rate (Best Way): $5.00
Total: $33.00

Delivery Address
------------------------------------------------------
John Co.
John Smith
200 Erb St.W
Waterloo, N2L 1V4
ON, Canada

Billing Address
------------------------------------------------------
John Co.
John Smith
200 Erb St.W
Waterloo, N2L 1V4
ON, Canada

Payment Method
------------------------------------------------------
Credit Card

but I want it to be different. Wondering if and how I can do this.

Posted

I found what I was looking for. Just in case someone else is looking for this in the future it can be found in the catalog/checkout_process.php file just find this code:

 

    $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";
 }

// lets start with the email confirmation 

 

and right after that is the email information

Archived

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

×
×
  • Create New...