Skip to main content

Address Format of Order Status Notification Mail

12 years 5 months ago #162164 by asphika
www.idolkits.com
Apache : 2.2.26
MySQL : 5.5.37-35.1
PHP : 5.4.29
Joomla : 3.3.1
HikaShop Essential : 2.3.1

Hello,

I would like to change Address Format in the Order Status Notification Email
which auto generated when I manually change status of an order from "Created" to "Shipped"

Currently, I edited Display/View/address/address_template as following,
Code:
?> {address_firstname} {address_lastname} {address_street} {address_street2} {address_city} {address_state} {address_post_code} <?php /* echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}'); */ ?>

Customer(Test) and Admin(Me) received email which has the Address Format according to above template,
Name Surname
Street Street2
City State
ZipCode
That is OK, according to the format that I modified.

But when I manually change status of an Order from "Created" to "Shipped"
and select "Notify Customer" = YES

The HTML Version Editor show with this Address Format
Name Surname
Street
ZipCode City State

Telephone: XXXXXXXXXX
That I think it may be the default format, not sure.

I need to change its format to be the same as my address/address_template.

I have searched many topics, but didn't found the solution.

../media/com_hikashop/mail/order_status_notification.preload.php

Is this file related with my problem, and how to modify the codes?
I have read the codes inside, but I can not understand.

Please advise me.

Thank You
asphika

Please Log in or Create an account to join the conversation.

12 years 5 months ago - 12 years 5 months ago #162205 by asphika
Hello,

This problem has been solved.

Cause :
I have modified the Frontend / Views / address / address_template,
but the Backend / Views / order / address_template.

Thank you
asphika
:cheer:
Last edit: 12 years 5 months ago by asphika.

Please Log in or Create an account to join the conversation.

Time to create page: 0.039 seconds
Powered by Kunena Forum