Cursor currency and : sign

  • Posts: 7
  • Thank you received: 0
9 years 8 months ago #214935

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.3.26

Hey,

I have a problem with the cursor and don't know how to fix it.
I want the currency sign before the price. (Like the rest of the shop)

There is a : sign before the price. And i don't know how to remove it.

Best regards,

Rien

Attachments:

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
9 years 8 months ago #214947

Hi,

You can use a translation override in order to remove it:
CURSOR_TITLE_SEPARATOR=""

hikashop.com/download/languages.html#modify

The following user(s) said Thank You: riengenie

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

  • Posts: 7
  • Thank you received: 0
9 years 8 months ago #217806

Thanks Nicolas. With the translation it 's working.
Any tips for the currency before the amount? I don't think I can change this kind of code in display --> views

Thanks

Rien

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
9 years 8 months ago #217815

Hi,

Indeed. There is no easy way to change that. You would have to edit directly the file administrator/components/com_hikashop/classes/filter.php in the display function of the hikashopCursorFilter class.

The following user(s) said Thank You: riengenie

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

  • Posts: 7
  • Thank you received: 0
9 years 7 months ago #217911

Hi Nicolas,

But this will be reversed with an update? What is the best way to update those core files?

Best regards,

Rien

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
9 years 7 months ago #217939

Hi,

Yes, it will be reversed with an update.
You could keep a copy to make sure you can reapply the changes in the future.
You can override that file with the override system of classes with a small plugin:
www.hikashop.com/forum/2-general-talk-ab...custom-features.html

The following user(s) said Thank You: riengenie

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

  • Posts: 7
  • Thank you received: 0
9 years 7 months ago #218040

Thanks for the advice!

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

Time to create page: 0.058 seconds
Powered by Kunena Forum