Hikashop Characteristic name remove : and default characteristic name

  • Posts: 79
  • Thank you received: 0
6 years 3 months ago #286377

-- HikaShop version -- : business 3.2
-- Joomla version -- : 3.7

Hi, i would like to remove the : symbol between product name and hikashop_product_variant_subname but no idea where the code is.
Please guide me where is the code of this part.

Also, variant name that after product name is not displaying by default, how can the default variant name displayed even the dropdown haven chosen?

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

  • Posts: 81597
  • Thank you received: 13081
  • MODERATOR
6 years 3 months ago #286396

Hi,

1. You can use a translation override on the translation key HIKA_VARIANTS_MIDDLE_SEPARATOR in order to change it:
www.hikashop.com/download/languages.html#modify

2. You can change the line:
echo $this->element->main->product_name;
to:
echo $this->element->product_name;
in the file "show_default" via the menu Display>Views.

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

  • Posts: 79
  • Thank you received: 0
6 years 3 months ago #286458

Hi, the product name is working like magic, but the HIKA_VARIANTS_MIDDLE_SEPARATOR is blank by default in language file, please guide us where else is the code for this : mark?

Attachments:

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

  • Posts: 81597
  • Thank you received: 13081
  • MODERATOR
6 years 3 months ago #286464

Hi,

Sorry that is the separator between each characteristic value after the semi colon.
For the semi colon, it's the same but for the translation key HIKA_VARIANT_SEPARATOR

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

Time to create page: 0.054 seconds
Powered by Kunena Forum