- Posts: 55
- Thank you received: 0
Confirm order
- gioferrario@gmail.com
-
Topic Author
- Offline
Less
More
11 years 7 months ago #190704
by gioferrario@gmail.com
Comfirm order was created by gioferrario@gmail.com
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.35
-- Browser(s) name and version -- : Crome las versiont
Buongiorno is a mistake in the order confirmation email, which should bring the time when the order was placed back on the site, as can change this value?
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.35
-- Browser(s) name and version -- : Crome las versiont
Buongiorno is a mistake in the order confirmation email, which should bring the time when the order was placed back on the site, as can change this value?
Please Log in or Create an account to join the conversation.
11 years 7 months ago #190719
by nicolas
Replied by nicolas on topic Comfirm order
Hi,
This URL comes from the "live site" option where you set the URL of your website in the Joomla configuration page.
This URL comes from the "live site" option where you set the URL of your website in the Joomla configuration page.
Please Log in or Create an account to join the conversation.
- gioferrario@gmail.com
-
Topic Author
- Offline
Less
More
- Posts: 55
- Thank you received: 0
11 years 7 months ago #191178
by gioferrario@gmail.com
Replied by gioferrario@gmail.com on topic Comfirm order
The problem is that there should be them the time and not the site link
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 7 months ago #191189
by Mohamed Thelji
Replied by Mohamed Thelji on topic Comfirm order
Hello,
I didn't totally understood your issue, what do you exactly mean by :
I didn't totally understood your issue, what do you exactly mean by :
The problem is that there should be them the time and not the site link
Please Log in or Create an account to join the conversation.
- gioferrario@gmail.com
-
Topic Author
- Offline
Less
More
- Posts: 55
- Thank you received: 0
11 years 7 months ago #191242
by gioferrario@gmail.com
Replied by gioferrario@gmail.com on topic Comfirm order
These are the translations in Italian and English of the problem, the variable is not a link to the site but a time, for example at 18.45 not
www.pro
.....
Italian: ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="Confermiamo di aver ricevuto l'ordine %s alle %s il giorno %s"
English: 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"
How do I change that variable?
Italian: ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="Confermiamo di aver ricevuto l'ordine %s alle %s il giorno %s"
English: 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"
How do I change that variable?
Please Log in or Create an account to join the conversation.
11 years 7 months ago #191262
by Xavier
Replied by Xavier on topic Comfirm order
Hi,
Via the menu System > Emails, you have to edit the email "order creation notification", then in the HTML version part, replace:
By:
Same thing in the Preload part of the email.
If the informations are still not as desired, you have to change the order of the elements in the JText function.
Via the menu System > Emails, you have to edit the email "order creation notification", then in the HTML version part, replace:
Code:
JText::sprintf('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE',$url,HIKASHOP_LIVE, hikashop_getDate(time(),'%d %B %Y'), hikashop_getDate(time(),'%H:%M'))
Code:
JText::sprintf('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE',$url,hikashop_getDate(time(),'%H:%M'), hikashop_getDate(time(),'%d %B %Y'), HIKASHOP_LIVE)
Same thing in the Preload part of the email.
If the informations are still not as desired, you have to change the order of the elements in the JText function.
Please Log in or Create an account to join the conversation.
- gioferrario@gmail.com
-
Topic Author
- Offline
Less
More
- Posts: 55
- Thank you received: 0
11 years 7 months ago #191381
by gioferrario@gmail.com
Replied by gioferrario@gmail.com on topic Comfirm order
nothing has changed, what can I do?
Please Log in or Create an account to join the conversation.
11 years 7 months ago #191395
by nicolas
Replied by nicolas on topic Comfirm order
Hi,
There should be no need to change any code.
Just modify that text with a translation override so that it displays what you want:
hikashop.com/download/languages.html#modify
And if you want to change the order of the variables in the translation, it's possible too.
So for example the translation:
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"
in the same as:
ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="We are pleased to confirm the creation of your order No. %1$s at %2$s on the %3$s at %4$s"
and you can change the order of the variables like this:
ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="We are pleased to confirm the creation of your order No. %1$s at %2$s at %4$s on the %3$s"
There should be no need to change any code.
Just modify that text with a translation override so that it displays what you want:
hikashop.com/download/languages.html#modify
And if you want to change the order of the variables in the translation, it's possible too.
So for example the translation:
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"
in the same as:
ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="We are pleased to confirm the creation of your order No. %1$s at %2$s on the %3$s at %4$s"
and you can change the order of the variables like this:
ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="We are pleased to confirm the creation of your order No. %1$s at %2$s at %4$s on the %3$s"
Please Log in or Create an account to join the conversation.
Time to create page: 0.219 seconds