- Posts: 7
- Thank you received: 0
Variant not displaying at first
- proraceindustry
-
Topic Author
- Offline
Less
More
9 years 2 days ago #282982
by proraceindustry
Variant not displaying at first was created by proraceindustry
-- 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.
-- 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.
Please Log in or Create an account to join the conversation.
9 years 1 day ago #282987
by nicolas
Replied by nicolas on topic Variant not displaying at first
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.
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.
- proraceindustry
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
9 years 1 day ago #283055
by proraceindustry
Replied by proraceindustry on topic Variant not displaying at first
sorry, where do I have to edit? where is that file?
Please Log in or Create an account to join the conversation.
9 years 18 hours ago #283056
by nicolas
Replied by nicolas on topic Variant not displaying at first
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
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.051 seconds