News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Customize Order emails

Started by hk, March 02, 2014, 11:54:22 AM

Previous topic - Next topic

hk

Hi,

I want to customize emails which are sent to vendor/customer.
I have created a template override.
The Bill to/Ship to information is in a tabular form:





Bill to Ship to
First nameABCXYZ
CityCityACityB

However, I need to customize as below:

Bill To:
First_name Last_name
Address_1 Address_2
City Zip
State Country
Phone

Ship To:
First_name Last_name
Address_1 Address_2
City Zip
State Country
Phone

I am able to get the Bill To details using $this->orderDetails['details']['BT']->first_name variables.
I am facing issue in getting the Country and State names.. I am able to get only Country/state ids.

Also, I am not sure how to get for Ship To details. How to check if both billing and shipping information are same?

Please assist.

Thanks.