Developer forum

Forum » Ecommerce - Standard features » Cannot Go to Order Detail Page

Cannot Go to Order Detail Page

Tin Ma Ma
Reply
Hi
 
I created one website and five language layers. In Main site, I can go order history page and order detail page .In the other language layers, I can go order history page but I can't go to order detail page.
Kindly check the below recorded video
https://www.useloom.com/share/005091cf98a64112bafa4ae192a17b3a

And also I used the sample template for all language layers.
In Main site,  the date format is "Oct 24,2018".
 

In Japanese language layer, the date format is "10 24,2018".

In Chinese language layer, the date format is  10月 24 , 2018

 

May I know how to make consistent date format in all language layers and why I can't go to order detail page in other language layers?

The site url is https://twg-uat.dynamicwebapac.com
 
Looking forward your reply.

Thanks and Regards,

Tin Ma Ma


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

I've been to the solution. I see the used template for CC-Order list has hardcoded paragraph ID in master site (attached). It could be changed to support 

language area as follows (attached). You can find new 'OrderList-new' template I've used in japanese language to test - OK.

Regarding formatting, do you mean to get the same format for master and all languages or get specific one for japanese/chinese languages? Now I see order 

details has probably correct formatting in japanese language and could be used in the list as well (attached).

PS: I cannot see your picture in the topic, please post them correct in future (e.g. as attachment).

BR, Oleg QA  

2018-10-31_1413.png 2018-10-31_1415.png 2018-10-31_1422.png
 
Nicolai Pedersen
Reply

The date formats are coming from which tag is used in the template - and what regional settings the website/language has.

 
Nicolai Pedersen
Reply

For the dates, you need to locate the Date.ToString("***") statements, and change them to use i.e. Date.ToString("d") or Date.ToString("D") etc. depending on the length of the date string you want. Find the various options here: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings

We will also change how we format dates in next version of Rapido.

Thanks, Nicolai

 

You must be logged in to post in the forum