[Skip to main content](#vessel-content)

#   Variant not displaying at first

##

- **[proraceindustry](/forum/user/52907-proraceindustry "View proraceindustry's Profile")**
- [![proraceindustry's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/52907-proraceindustry "View proraceindustry's Profile") Topic Author
- [ Offline](/forum/user/52907-proraceindustry)

Less More

- Posts: 7
- Thank you received: 0
-
-

9 years 2 days ago [\#282982](#282982) by [proraceindustry](/forum/user/52907-proraceindustry "View proraceindustry's Profile")  *[Variant not displaying at first](/forum/26-product-category-display/892870-variant-not-displaying-at-first#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.")* was created by *[proraceindustry](/forum/user/52907-proraceindustry "View proraceindustry's Profile")*

-- url of the page with the problem -- : [ www.prorace-industry.com/it/prorace/auto...auto-10w40-tech-synt](https://www.prorace-industry.com/it/prorace/automobili/lubrificanti-motore/oli-motore-classic/product/114-motor-oil-classic-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.  [ ![Schermata-2017-11-23-alle-09.14.48.jpg](/forum/attachment/41441) ](/forum/attachment/41441 "...e-09.14.48.jpg")

[ ![Schermata-2017-11-23-alle-09.14.54.jpg](/forum/attachment/41442) ](/forum/attachment/41442 "...e-09.14.54.jpg")

- [ ![Schermata-2017-11-23-alle-09.14.48.jpg](/forum/attachment/41441) ](/forum/attachment/41441 "...e-09.14.48.jpg") [ ](/forum/attachment/41441?download=1 "...e-09.14.48.jpg")
- [ ![Schermata-2017-11-23-alle-09.14.54.jpg](/forum/attachment/41442) ](/forum/attachment/41442 "...e-09.14.54.jpg") [ ](/forum/attachment/41442?download=1 "...e-09.14.54.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTI4NzAtdmFyaWFudC1ub3QtZGlzcGxheWluZy1hdC1maXJzdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

9 years 1 day ago [\#282987](#282987) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variant not displaying at first](/forum/26-product-category-display/892870-variant-not-displaying-at-first#282987 "-- 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.")*

Hi,

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTI4NzAtdmFyaWFudC1ub3QtZGlzcGxheWluZy1hdC1maXJzdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[proraceindustry](/forum/user/52907-proraceindustry "View proraceindustry's Profile")**
- [![proraceindustry's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/52907-proraceindustry "View proraceindustry's Profile") Topic Author
- [ Offline](/forum/user/52907-proraceindustry)

Less More

- Posts: 7
- Thank you received: 0
-
-

9 years 1 day ago [\#283055](#283055) by [proraceindustry](/forum/user/52907-proraceindustry "View proraceindustry's Profile")  Replied by *[proraceindustry](/forum/user/52907-proraceindustry "View proraceindustry's Profile")* on topic *[Variant not displaying at first](/forum/26-product-category-display/892870-variant-not-displaying-at-first#283055 "-- 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.")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTI4NzAtdmFyaWFudC1ub3QtZGlzcGxheWluZy1hdC1maXJzdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

9 years 18 hours ago [\#283056](#283056) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variant not displaying at first](/forum/26-product-category-display/892870-variant-not-displaying-at-first#283056 "-- 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.")*

Hi,

As I said, you need to do that via the menu Display&gt;Views.
Here is a tutorial on that:
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTI4NzAtdmFyaWFudC1ub3QtZGlzcGxheWluZy1hdC1maXJzdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
