Product available from

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 11 months ago #80130

Hi

using the business edition

When I choose a date in the (Product available from) line in the products, then in the front-end it looks not the way it should.

Back-end it looks like that "Product available from 2012-12-13 04:15"


Front -end it looks like that "13 12月 2012発売開始日"

it should look like that "201212月13発売開始日" the red one are missing Japanese kanji.

Where can I change the order and where can I add the missing Japanese kanji?

appreciate a quick respond.

Best regards
Raphael

Last edit: 11 years 11 months ago by ePower2007.

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #80201

Hi,

This text is displayed in the view "product | quantity" with the line

echo JText::sprintf('ITEM_SOLD_ON_DATE',hikashop_getDate($start_date,$this->params->get('date_format','%d %B %Y')));
I think you can edit the view and change the date format, it would be the simplest solution.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 11 months ago #80209

Hi Jerome

Thanks but how can I add the missing Kanji?
The month in the middle shows but the day and year is missing....where can I add them?

best regards
Raphael

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #80210

Hi

I think this, should work:

echo JText::sprintf('ITEM_SOLD_ON_DATE',hikashop_getDate($start_date,'%Y年%B月%d日'));

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 11 months ago #80220

Hi Jerome

This worked out, but I think this is not the right way. there is a bug somewhere as the month 月 Kanji is taken automatically and the other two not. Everywhere else the Kanji are taken automatically and not need to be added into the php file.

hope you can fix this for the next edition.

best regards
Raphael

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

Time to create page: 0.059 seconds
Powered by Kunena Forum