Product title or title variant

  • Posts: 55
  • Thank you received: 0
  • Hikashop Business
4 years 11 months ago #317298

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.3.12
-- Browser(s) name and version -- : Chrome lastes

When I call the product you see the default setting.
But the title of the head varaint.



If I now make a choice, the title will be as follows


Now I go back to the default setting, the title becomes


it is also possible that the default set variant is also properly displayed in the title.

Or should I give it my own name.

Attachments:
Last edit: 4 years 11 months ago by webmasterab.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317308

Hi,

Before you select another variant, the name displayed is the main product name.
If you don't want that, you can change the line:
echo $this->element->main->product_name;
to:
echo $this->element->product_name;
in the file show_default.php via the menu Display>Views.

The following user(s) said Thank You: webmasterab

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

Time to create page: 0.072 seconds
Powered by Kunena Forum