- Posts: 31
- Thank you received: 0
Confirmation email
I would like to include payment and delivery data in confirmation email that is sent to the customer after purchase.
For the example customer ordered with Payment: Collect on delivery and Delivery: Standard Post (which I defined in admin), I want that info to be visible in confirmation email.
Is this possible?
Thanks in advance.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
www.hikashop.com/en/forum/4-how-to/39438...-in-order-email.html
For shipping, just do the same and replace "payment" by "shipping" everywhere in the code.
Please Log in or Create an account to join the conversation.
Thank you.
Please Log in or Create an account to join the conversation.
I also need to product code (SKU), also to be visible in confirmation email.
Thanks.
Please Log in or Create an account to join the conversation.
<?php echo $product->order_product_code; ?>
Or:
<?php echo $item->order_product_code; ?>
(it depends on which email you're editing so just try and see if one is working, otherwise, use the other)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It is in the emails (System > Emails).
Email edition require HikaShop Business. Otherwise you have to edit the email manually in the media/com_hikashop/mail/ folder and creating an override.
You can find more information about it in the forum.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
You can easily add the SKU next to the product name in the email like that:
<?php echo $product->order_product_code; ?>
Or:
<?php echo $item->order_product_code; ?>
(it depends on which email you're editing so just try and see if one is working, otherwise, use the other)
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you tell me in which email from the "Hikashop->System->Email" page, do you exactly want to add your "SKU" ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
In this case I think you can simply try both and send yourself an e-mail to test it.
Anyway you should have the right information
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It depends where you want to display it
But what I can propose it is to use a simpler solution. Edit the email and replace
My example is for the mail "order_status_notification".
You can also change the HikaShop configuration "show product code" in order to display the code (in the website and in the emails).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.