Skip to main content

Confirm order

More
11 years 7 months ago #190704 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?

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
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.

More
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 :

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.

More
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?

Please Log in or Create an account to join the conversation.

More
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:
Code:
JText::sprintf('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE',$url,HIKASHOP_LIVE, hikashop_getDate(time(),'%d %B %Y'), hikashop_getDate(time(),'%H:%M'))
By:
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.

More
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.

More
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"

Please Log in or Create an account to join the conversation.

Time to create page: 0.219 seconds
Powered by Kunena Forum