[Skip to main content](#vessel-content)

#   Custom fields and editing emails

##

- **[lpks](/forum/user/44617-lpks "View lpks's Profile")**
- [![lpks's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44617-lpks "View lpks's Profile") Topic Author
- [ Offline](/forum/user/44617-lpks)

Less More

- Posts: 9
- Thank you received: 0
-
-

10 years 1 month ago -  10 years 1 month ago [\#250237](#250237) by [lpks](/forum/user/44617-lpks "View lpks's Profile")  *[Custom fields and editing emails](/forum/32-content-creation/886495-custom-fields-and-editing-emails#250237 "Hi, I am using HikaShop Business and need help with a couple of features.  1. How do I edit just the text for HikaShop order emails? In the HikaShop email tutorial it says &quot;If you only need to tweak text in the emails, you can edit the translation files via the configuration page of HikaShop and edit them there. That will allow HikaShop to send emails in the language of the customer.&quot; Where exactly do I find these translation files and is this the right file to edit also for the English (main language) emails?  3. How do I add a datepicker custom field to a single product? - I've created the field (HikaShop &gt; Display &gt; Custom fields) and attached it to the product I want, but it won't show on the frontend. When this field is published and attached to the product, it also creates an error on the backend when trying to edit the product. The error message is: &quot;Error Please complete the Visit date field Error Saving&quot; - I currently have the links to products disabled in the product category view; in order to utilise the datepicker feature in a product, does the single product page need to be accessible to the customer, or could they for example fill in this field on the checkout?  As the site is only accessible to registered users, please use the provided login to view.  Thank you and if you need any further info, let me know.")* was created by *[lpks](/forum/user/44617-lpks "View lpks's Profile")*

Hi, I am using HikaShop Business and need help with a couple of features.

1. How do I edit just the text for HikaShop order emails? In the HikaShop email tutorial it says "If you only need to tweak text in the emails, you can edit the translation files via the configuration page of HikaShop and edit them there. That will allow HikaShop to send emails in the language of the customer." Where exactly do I find these translation files and is this the right file to edit also for the English (main language) emails?

3. How do I add a datepicker custom field to a single product?
- I've created the field (HikaShop &gt; Display &gt; Custom fields) and attached it to the product I want, but it won't show on the frontend. When this field is published and attached to the product, it also creates an error on the backend when trying to edit the product. The error message is:
"Error
Please complete the Visit date field
Error Saving"
- I currently have the links to products disabled in the product category view; in order to utilise the datepicker feature in a product, does the single product page need to be accessible to the customer, or could they for example fill in this field on the checkout?

As the site is only accessible to registered users, please use the provided login to view.

Thank you and if you need any further info, let me know.

Last edit: 10 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: remove confidential information

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg2NDk1LWN1c3RvbS1maWVsZHMtYW5kLWVkaXRpbmctZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

10 years 1 month ago [\#250291](#250291) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom fields and editing emails](/forum/32-content-creation/886495-custom-fields-and-editing-emails#250291 "Hi, I am using HikaShop Business and need help with a couple of features.  1. How do I edit just the text for HikaShop order emails? In the HikaShop email tutorial it says &quot;If you only need to tweak text in the emails, you can edit the translation files via the configuration page of HikaShop and edit them there. That will allow HikaShop to send emails in the language of the customer.&quot; Where exactly do I find these translation files and is this the right file to edit also for the English (main language) emails?  3. How do I add a datepicker custom field to a single product? - I've created the field (HikaShop &gt; Display &gt; Custom fields) and attached it to the product I want, but it won't show on the frontend. When this field is published and attached to the product, it also creates an error on the backend when trying to edit the product. The error message is: &quot;Error Please complete the Visit date field Error Saving&quot; - I currently have the links to products disabled in the product category view; in order to utilise the datepicker feature in a product, does the single product page need to be accessible to the customer, or could they for example fill in this field on the checkout?  As the site is only accessible to registered users, please use the provided login to view.  Thank you and if you need any further info, let me know.")*

Hi,

1. Yes, that's the correct location regardless of the language. You can follow the instructions here:
[ www.hikashop.com/download/languages.html#translate](https://www.hikashop.com/download/languages.html#translate)

3. You need to create a custom field of the table "item". From your description of the issue, it looks like the custom field you created is of the table "product". So you need to delete it and recreate it with the correct table for what you want.

4. If you want the field to appear during the checkout, you need to create instead a custom field of the table "order".

The following user(s) said Thank You: [lpks](/forum/user/44617-lpks "View lpks's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg2NDk1LWN1c3RvbS1maWVsZHMtYW5kLWVkaXRpbmctZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lpks](/forum/user/44617-lpks "View lpks's Profile")**
- [![lpks's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44617-lpks "View lpks's Profile") Topic Author
- [ Offline](/forum/user/44617-lpks)

Less More

- Posts: 9
- Thank you received: 0
-
-

10 years 3 weeks ago [\#251026](#251026) by [lpks](/forum/user/44617-lpks "View lpks's Profile")  Replied by *[lpks](/forum/user/44617-lpks "View lpks's Profile")* on topic *[Custom fields and editing emails](/forum/32-content-creation/886495-custom-fields-and-editing-emails#251026 "Hi, I am using HikaShop Business and need help with a couple of features.  1. How do I edit just the text for HikaShop order emails? In the HikaShop email tutorial it says &quot;If you only need to tweak text in the emails, you can edit the translation files via the configuration page of HikaShop and edit them there. That will allow HikaShop to send emails in the language of the customer.&quot; Where exactly do I find these translation files and is this the right file to edit also for the English (main language) emails?  3. How do I add a datepicker custom field to a single product? - I've created the field (HikaShop &gt; Display &gt; Custom fields) and attached it to the product I want, but it won't show on the frontend. When this field is published and attached to the product, it also creates an error on the backend when trying to edit the product. The error message is: &quot;Error Please complete the Visit date field Error Saving&quot; - I currently have the links to products disabled in the product category view; in order to utilise the datepicker feature in a product, does the single product page need to be accessible to the customer, or could they for example fill in this field on the checkout?  As the site is only accessible to registered users, please use the provided login to view.  Thank you and if you need any further info, let me know.")*

Thank you for your help Nicolas, much appreciated!

I have another quick question; is it possible for a logged in user to type in another email address on the checkout and have the order confirmation be sent to that alternate email address instead of the email address with which the user is logged in? I tried setting up an email address custom field on the checkout, but couldn't figure out how to make that the address that the order confirmation emails would go to.
I am setting up a wholesale site for e-tickets, and will create logins for my wholesale agents, who will have several individuals using the same login. I would like to give them the option of receiving their orders and tickets to their individual email addresses instead of all going to the same main address that the account is linked to.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg2NDk1LWN1c3RvbS1maWVsZHMtYW5kLWVkaXRpbmctZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

10 years 3 weeks ago [\#251059](#251059) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom fields and editing emails](/forum/32-content-creation/886495-custom-fields-and-editing-emails#251059 "Hi, I am using HikaShop Business and need help with a couple of features.  1. How do I edit just the text for HikaShop order emails? In the HikaShop email tutorial it says &quot;If you only need to tweak text in the emails, you can edit the translation files via the configuration page of HikaShop and edit them there. That will allow HikaShop to send emails in the language of the customer.&quot; Where exactly do I find these translation files and is this the right file to edit also for the English (main language) emails?  3. How do I add a datepicker custom field to a single product? - I've created the field (HikaShop &gt; Display &gt; Custom fields) and attached it to the product I want, but it won't show on the frontend. When this field is published and attached to the product, it also creates an error on the backend when trying to edit the product. The error message is: &quot;Error Please complete the Visit date field Error Saving&quot; - I currently have the links to products disabled in the product category view; in order to utilise the datepicker feature in a product, does the single product page need to be accessible to the customer, or could they for example fill in this field on the checkout?  As the site is only accessible to registered users, please use the provided login to view.  Thank you and if you need any further info, let me know.")*

There is no option to do that.
It will require editing the emails via the menu System&gt;emails and adding custom code to get the value from the address and add it as receiver.
Something like that near the end of the preload version of the order notification emails should do: Code:

$data-&gt;customer-&gt;user_email = $data-&gt;cart-&gt;billing_address-&gt;XXX;

where XXX is the custom field column name.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg2NDk1LWN1c3RvbS1maWVsZHMtYW5kLWVkaXRpbmctZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.297 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
