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

#   Order email problem and email customization

##

- **[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")**
- [![gioxd's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31359.png)](/forum/user/31359-gioxd "View gioxd's Profile") Topic Author
- [ Offline](/forum/user/31359-gioxd)

Less More

- Posts: 113
- Thank you received: 2
-
-
-
- [](http://www.laputea.com)
-

11 years 1 week ago [\#221078](#221078) by [gioxd](/forum/user/31359-gioxd "View gioxd's Profile")  *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#221078 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")* was created by *[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")*

-- url of the page with the problem -- : [ www.laputea.com](http://www.laputea.com)

Hi, I have some requests on email. I do not know if it's the right section of the forum.

1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change [ www.laputea.com/](http://www.laputea.com/) with a simple "laputea.com"? (see photo 1). As seen in the picture, I set the parameters correctly "sender information" (see photo 2).

2. How can I insert a custom field in the mail order status notification? When I send the email "sent" I would like to add a custom field with the tracking number and a gift voucher.

3. I can configure the field "rate and comment" in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!

- [ ![error1.jpg](/forum/attachment/27753) ](/forum/attachment/27753 "error1.jpg") [ ](/forum/attachment/27753?download=1 "error1.jpg")
- [ ![error2.jpg](/forum/attachment/27754) ](/forum/attachment/27754 "error2.jpg") [ ](/forum/attachment/27754?download=1 "error2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDU1NC1vcmRlci1lbWFpbC1wcm9ibGVtLWFuZC1lbWFpbC1jdXN0b21pemF0aW9uP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 1 week ago [\#221103](#221103) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#221103 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")*

Hi,

1. You can change the text of the email with a translation override:
[ hikashop.com/download/languages.html#modify](https://hikashop.com/download/languages.html#modify)

2. The custom order fields are added automatically to the emails if they are filled and that you configured the fields to display on the frontend. So please check on that. You should not need to change any code.

3. It's not easy to do that and you can't put a form in an email. That's not valid and will be refused by some email clients.

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

- **[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")**
- [![gioxd's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31359.png)](/forum/user/31359-gioxd "View gioxd's Profile") Topic Author
- [ Offline](/forum/user/31359-gioxd)

Less More

- Posts: 113
- Thank you received: 2
-
-
-
- [](http://www.laputea.com)
-

11 years 1 week ago -  11 years 1 week ago [\#221189](#221189) by [gioxd](/forum/user/31359-gioxd "View gioxd's Profile")  Replied by *[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")* on topic *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#221189 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")*

Hi Nicolas, thank You for reply.

1) I do not think it's a problem of translation, because the field "time" and the field "name" is replaced with the symbol %s.
I think it's a problem link. Because the system is linking to a field containing [ www.laputea.com/](http://www.laputea.com/) instead of hours or name.

2) problem solved.

3) there is a way to insert in the mail a link to a page containing only the form "rate and comment"? If I put in the mail the link to the product, people do not understand that must comment! If I link to a blank page, containing only the field "rate and comment", perhaps he understands. About the same as it does on amazon.

Last edit: 11 years 1 week ago by [gioxd](/forum/user/31359-gioxd "View gioxd's Profile").

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 11 months ago [\#225171](#225171) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#225171 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")*

Hi,

1. The %s are related on the translations. The string used in your email is not present on our end, so it is a customisation.
The customisation has potentially been done as a translation override as Nicolas said, or maybe edited directly in the email. So you can edit it back from the menu System &gt; Emails.

3. There is no pages with only rate and comment in HikaShop, but this can be done via a view override. In the email you can edit the product link in order to add a parameter in the url, for example "&amp;rate=true".
Then edit the view "product / show_default" and display or hide the parts based on the following if condition: Code:

$onlyRate = JRequest::getVar('rate',false); if(!$onlyRate){ // this content will not be displayed if only rate mode }

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

- **[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")**
- [![gioxd's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31359.png)](/forum/user/31359-gioxd "View gioxd's Profile") Topic Author
- [ Offline](/forum/user/31359-gioxd)

Less More

- Posts: 113
- Thank you received: 2
-
-
-
- [](http://www.laputea.com)
-

10 years 10 months ago [\#225565](#225565) by [gioxd](/forum/user/31359-gioxd "View gioxd's Profile")  Replied by *[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")* on topic *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#225565 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")*

Thanks for the reply.
I found this string, which perhaps is the right one: Code:

echo JText::sprintf('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE',$url,HIKASHOP_LIVE, hikashop_getDate(time(),'%d %B %Y'), hikashop_getDate(time(),'%H:%M'));?&gt;

But I have not yet figured out how to fix it. I restored the customizations in system&gt; email.
I do not think it is a translation problem, I restored the original version of the translation.
What could be the problem?

- [ ![error1&#95;2016-01-04.jpg](/forum/attachment/28710) ](/forum/attachment/28710 "...2016-01-04.jpg") [ ](/forum/attachment/28710?download=1 "...2016-01-04.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDU1NC1vcmRlci1lbWFpbC1wcm9ibGVtLWFuZC1lbWFpbC1jdXN0b21pemF0aW9uP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 10 months ago -  10 years 10 months ago [\#225623](#225623) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#225623 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")*

Hi,

As I explained in my first message, you want to do a translation override.
The translation is this: Code:

ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="We are pleased to confirm the creation of your order No. %s at %s on the %s at %s"

If you want only laputea.com instead of the full URL, you could change it to: Code:

ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="We are pleased to confirm the creation of your order No. %s at laputea.com on the %3$s at %4$s"

Last edit: 10 years 10 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

- **[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")**
- [![gioxd's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31359.png)](/forum/user/31359-gioxd "View gioxd's Profile") Topic Author
- [ Offline](/forum/user/31359-gioxd)

Less More

- Posts: 113
- Thank you received: 2
-
-
-
- [](http://www.laputea.com)
-

10 years 10 months ago [\#227239](#227239) by [gioxd](/forum/user/31359-gioxd "View gioxd's Profile")  Replied by *[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")* on topic *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#227239 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")*

Hello,
I do not wish only "laputea.com" but enter the correct time! When the time is replaced by "[ www.laputea.com](http://www.laputea.com)", but in the field there is time, not a link! Now it is explicit? Is not a problem of translation...

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 10 months ago [\#227241](#227241) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#227241 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")*

Hi,

Here more details about sprintf function and how to use it.
[ php.net/manual/en/function.sprintf.php](http://php.net/manual/en/function.sprintf.php)

If you do not give the right number of parameters or not in the right order ; you will have unexpected results.
Please adjust the parameters and also the translations ; you can use a specific tag in order to select a precise parameter and not follow the classical order.

But in some ways, it is a translation problem.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

- **[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")**
- [![gioxd's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31359.png)](/forum/user/31359-gioxd "View gioxd's Profile") Topic Author
- [ Offline](/forum/user/31359-gioxd)

Less More

- Posts: 113
- Thank you received: 2
-
-
-
- [](http://www.laputea.com)
-

10 years 9 months ago [\#228933](#228933) by [gioxd](/forum/user/31359-gioxd "View gioxd's Profile")  Replied by *[gioxd](/forum/user/31359-gioxd "View gioxd's Profile")* on topic *[Order email problem and email customization](/forum/27-checkout/880554-order-email-problem-and-email-customization#228933 "-- url of the page with the problem -- :   www.laputea.com  Hi, I have some requests on email. I do not know if it's the right section of the forum.  1. I noticed that the customer receives in the mail that there is a mistake in time: instead of the time, comes out the website link! Also how can I change   www.laputea.com/  with a simple &quot;laputea.com&quot;? (see photo 1). As seen in the picture, I set the parameters correctly &quot;sender information&quot; (see photo 2).  2. How can I insert a custom field in the mail order status notification? When I send the email &quot;sent&quot; I would like to add a custom field with the tracking number and a gift voucher.  3. I can configure the field &quot;rate and comment&quot; in the mail? I read something on the forum, but I did not understand if I can put the form in the mail and post comments directly on the product page. It would be fantastic!")*

Problem solved, thank you! ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDU1NC1vcmRlci1lbWFpbC1wcm9ibGVtLWFuZC1lbWFpbC1jdXN0b21pemF0aW9uP3RtcGw9bWFya2Rvd24=) 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.075 seconds

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