Hi guys
Trying to setup an improve thetranscational emails customers get once they've placed their order.
Currently we have 3 shipping options
1st Class - Free - 1-3 days
1st Class Recorded - £1.99 - 1-3 days
Next Working Day - £7 - Next Day
I want to send the customer an email when they've placed their order that corresponds to the shipping service they opted for.
What would the best way of doing this be?
design/themes/YOUR_THEME/mail/templates/orders/order_notification.tpl
add the following code:
{foreach from=$order_info.shipping item="shipping" name="f_shipp"}
{if $shipping.shipping_id == 1}
...text 1...
{elseif $shipping.shipping_id == 2}
...text 2...
{elseif $shipping.shipping_id == 3}
...text 3...
{/if}
{/foreach}
Corresponding shipping method IDs can be found in the admin panel
Thanks Aleksy you superstar!! Am I just adding that below everything else?
And I can't find the shipping method ID's.....
Is it on here somewhere?
[url=http://postimg.org/image/mkrjs28rn/][/url]
I've also used http://digitalsave.co.uk/api/shippingsbut it asks me for a user/pass and my admin details dont work
Open the necessary shipping method for editing and you will learn the ID from the page URL: dispatch=shippings.update&shipping_id=4
Please check the Activate API Access section on the following page:
http://docs.cs-cart.com/4.3.x/api/index.html