- Posts: 252
- Thank you received: 1
Modify order notification email layout
10 years 2 months ago #250840
by twscott
Modify order notification email layout was created by twscott
-- HikaShop version -- : HikaShop Business 2.6.4
-- Joomla version -- : 3.3.5
-- PHP version -- : 5.5.12
Hi,
I am going to modify the layout of the order notification email, which template file should I use?
Best regards
Scott
-- Joomla version -- : 3.3.5
-- PHP version -- : 5.5.12
Hi,
I am going to modify the layout of the order notification email, which template file should I use?
Best regards
Scott
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 2 months ago #250853
by Mohamed Thelji
Replied by Mohamed Thelji on topic Modify order notification email layout
Hello Scott,
To do that the solution will probably be to directly edit the "Order status notification" email via "Hikashop->System->Emails".
To do that the solution will probably be to directly edit the "Order status notification" email via "Hikashop->System->Emails".
The following user(s) said Thank You: twscott
Please Log in or Create an account to join the conversation.
10 years 1 month ago #251118
by twscott
Replied by twscott on topic Modify order notification email layout
Hi Mohamed,
Thanks for the replay.
I've modify the order status notification code in hikashop's editing page, and it worked fine.
But I could not find the file that was modified in my file system. Could you tell me the path where the file that I saved is?
Thanks
Best regards
Scott
Thanks for the replay.
I've modify the order status notification code in hikashop's editing page, and it worked fine.
But I could not find the file that was modified in my file system. Could you tell me the path where the file that I saved is?
Thanks
Best regards
Scott
Please Log in or Create an account to join the conversation.
10 years 1 month ago #251119
by twscott
Replied by twscott on topic Modify order notification email layout
Oh, I found it.
It's in media\com_hikashop\mail, thanks anyway.
Best regards
Scott
It's in media\com_hikashop\mail, thanks anyway.
Best regards
Scott
Please Log in or Create an account to join the conversation.
10 years 1 month ago - 10 years 1 month ago #251217
by twscott
Replied by twscott on topic Modify order notification email layout
Hi Mohamed,
We have created a product custom field and set it to show on the notification email. It shows correctly.
My problem is I need to access this custom field in order_admin_notification.preload.modified.php, I know it must be in somewhere but I look through the $data and $var, just couldn't find it. Could you tell me where could it be?
Best regards
Scott
We have created a product custom field and set it to show on the notification email. It shows correctly.
My problem is I need to access this custom field in order_admin_notification.preload.modified.php, I know it must be in somewhere but I look through the $data and $var, just couldn't find it. Could you tell me where could it be?
Best regards
Scott
Last edit: 10 years 1 month ago by twscott.
Please Log in or Create an account to join the conversation.
10 years 1 month ago #251260
by nicolas
Replied by nicolas on topic Modify order notification email layout
Hi,
After the line:
you can find your custom field data for the current row in $product->XXX where XXX is the column name of your custom field.
After the line:
Code:
$product = @$productClass->all_products[$item->product_id];
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds