- Posts: 235
- Thank you received: 4
Add customer product fields into the e-mail
- janvankuijk
-
Topic Author
- Offline
Less
More
12 years 2 months ago #170411
by janvankuijk
Add customer product fields into the e-mail was created by janvankuijk
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3
-- Browser(s) name and version -- : All
I want to add customer product fields into the order e-mail to the administrator.
How to do so?
Jan
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3
-- Browser(s) name and version -- : All
I want to add customer product fields into the order e-mail to the administrator.
How to do so?
Jan
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 2 months ago #170419
by Mohamed Thelji
Replied by Mohamed Thelji on topic Add customer product fields into the e-mail
Hello,
You'll have to directly edit the code of the "Order administrator notification" email through the page "Hikashop->System->Emails".
Also, if you want to add product custom fields through your email, you'll probably find the solution through that thread : www.hikashop.com/forum/orders-management...ry-email.html#134103
You'll have to directly edit the code of the "Order administrator notification" email through the page "Hikashop->System->Emails".
Also, if you want to add product custom fields through your email, you'll probably find the solution through that thread : www.hikashop.com/forum/orders-management...ry-email.html#134103
In the email you can add the following tag:
after this line:Code:{LINEVAR:product.CUSTOM_FIELD_NAME}Code:{LINEVAR:PRODUCT_NAME}<!--{IF:ORDER_PRODUCT_CODE}--> {LINEVAR:PRODUCT_CODE}<!--{ENDIF:ORDER_PRODUCT_CODE}-->
Please Log in or Create an account to join the conversation.
- janvankuijk
-
Topic Author
- Offline
Less
More
- Posts: 235
- Thank you received: 4
12 years 2 months ago #170472
by janvankuijk
Replied by janvankuijk on topic Add customer product fields into the e-mail
I added this line: {LINEVAR:product.GRAVEERPLAATJE}
But without any result. Only the code is on the order e-mail and not the variable. See attached images.
Jan
But without any result. Only the code is on the order e-mail and not the variable. See attached images.
Jan
Please Log in or Create an account to join the conversation.
12 years 2 months ago #170579
by nicolas
Replied by nicolas on topic Add customer product fields into the e-mail
The custom field column name needs to be like you have it in your custom field so the tag should be:
{LINEVAR:product.graveerplaatje}
{LINEVAR:product.graveerplaatje}
Please Log in or Create an account to join the conversation.
- janvankuijk
-
Topic Author
- Offline
Less
More
- Posts: 235
- Thank you received: 4
12 years 2 months ago #170603
by janvankuijk
Replied by janvankuijk on topic Add customer product fields into the e-mail
No 
See attached printscreen.
Jan
See attached printscreen.
Jan
Please Log in or Create an account to join the conversation.
12 years 2 months ago #170610
by Xavier
Replied by Xavier on topic Add customer product fields into the e-mail
Hi,
Thanks to replace the currently added code by:
And in the preload part, add:
After:
Thanks to replace the currently added code by:
Code:
{LINEVAR:graveerplaatje}
Code:
$cartProduct['graveerplaatje'] = isset($product->graveerplaatje)?$product->graveerplaatje:'';
Code:
$cartProduct = array(
'PRODUCT_CODE' => $item->order_product_code,
'PRODUCT_QUANTIY' => $item->order_product_quantity,
'PRODUCT_IMG' => '',
'item' => $item,
'product' => $product,
);
Please Log in or Create an account to join the conversation.
- janvankuijk
-
Topic Author
- Offline
Less
More
- Posts: 235
- Thank you received: 4
12 years 2 months ago #170732
by janvankuijk
Replied by janvankuijk on topic Add customer product fields into the e-mail
Xavier no 
See attached files, but there isn't an text on the e-mail.
Jan
See attached files, but there isn't an text on the e-mail.
Jan
Please Log in or Create an account to join the conversation.
12 years 2 months ago #170761
by nicolas
Replied by nicolas on topic Add customer product fields into the e-mail
Then this would indicate that you didn't enter any value in your custom product field for the product/variant you're testing with.
Could you check on that please ?
Could you check on that please ?
Please Log in or Create an account to join the conversation.
- janvankuijk
-
Topic Author
- Offline
Less
More
- Posts: 235
- Thank you received: 4
12 years 2 months ago #170840
by janvankuijk
Replied by janvankuijk on topic Add customer product fields into the e-mail
There is a custom. See attached print screen.
Maybe I will sent you login details?
Jan
Maybe I will sent you login details?
Jan
Please Log in or Create an account to join the conversation.
12 years 2 months ago #170917
by Xavier
Replied by Xavier on topic Add customer product fields into the e-mail
Hi,
Could you try to set the custom field type to text instead of dropdown in order to see if it's working ?
If it still doesn't work, yes thanks to provide access to backend via private message, don't forget to give us the url of that topic.
Could you try to set the custom field type to text instead of dropdown in order to see if it's working ?
If it still doesn't work, yes thanks to provide access to backend via private message, don't forget to give us the url of that topic.
Please Log in or Create an account to join the conversation.
- janvankuijk
-
Topic Author
- Offline
Less
More
- Posts: 235
- Thank you received: 4
12 years 2 months ago #171006
by janvankuijk
Replied by janvankuijk on topic Add customer product fields into the e-mail
It seems to work now!
Thanks a lot!!!!!
Jan
Thanks a lot!!!!!
Jan
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds