Variant not displaying at first

  • Posts: 7
  • Thank you received: 0
7 years 5 months ago #282982

-- url of the page with the problem -- : www.prorace-industry.com/it/prorace/auto...auto-10w40-tech-synt
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Firefox

Hello, I have products with variants.

When I access the page the title of the product does not show the variant, but when I select from the dropdown the variant then it is shown.

How do I show it also when the page is loaded at first?

See attached.

Attachments:

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

  • Posts: 83779
  • Thank you received: 13567
  • MODERATOR
7 years 5 months ago #282987

Hi,

You would have to edit the file "show_default" and change the line:
if(hikashop_getCID('product_id') != $this->element->product_id && isset($this->element->main->product_name))
to:
if(false)
via the menu Display>Views.

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

  • Posts: 7
  • Thank you received: 0
7 years 5 months ago #283055

sorry, where do I have to edit? where is that file?

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

  • Posts: 83779
  • Thank you received: 13567
  • MODERATOR
7 years 5 months ago #283056

Hi,

As I said, you need to do that via the menu Display>Views.
Here is a tutorial on that:
www.hikashop.com/support/documentation/1...-display.html#layout

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

Time to create page: 0.071 seconds
Powered by Kunena Forum