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

#   Options with Variants do not show the variants description in Product listing.

##

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

Less More

- Posts: 7
- Thank you received: 1
-
-

8 years 1 week ago -  8 years 1 week ago [\#300053](#300053) by [sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile")  *[Options with Variants do not show the variants description in Product listing.](/forum/32-content-creation/896150-options-with-variants-do-not-show-the-variants-description-in-product-listing#300053 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Version 70.0.3538.77 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error on page....variant description not showing.  I added the Option &quot;Bypass Series&quot; to the Product Aura, the Option &quot;Bypass Series&quot; has two active Variants. While the variants show on the product Aura, their variant descriptions do not...it only shows the default description.  In addition the Option is Optional, I am really having difficulty with being able to allow options the client can pick but are not mandatory. Just about every product for a Bath and Kitchen renovation has options that are NOT mandatory. FOr example: client picks a bathtub....it has several Variants based on left side install right install which are mandatory to select. BUT Optional to this are the doors that surround the Bathtub which are in their own respective Category and also optional drains and hardware they MAY select as an Option but are not Mandatory. I will have several thousand products to create with Options that are optional and also as above those options are actual products with their own variants ion which the variant description must show when they select that Option.")* was created by *[sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile")*

-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.9.0
-- PHP version -- : 7.2.10
-- Browser(s) name and version -- : Version 70.0.3538.77 (Official Build) (64-bit)
-- Error-message(debug-mod must be tuned on) -- : No error on page....variant description not showing.

I added the Option "Bypass Series" to the Product Aura, the Option "Bypass Series" has two active Variants. While the variants show on the product Aura, their variant descriptions do not...it only shows the default description.

In addition the Option is Optional, I am really having difficulty with being able to allow options the client can pick but are not mandatory. Just about every product for a Bath and Kitchen renovation has options that are NOT mandatory. FOr example: client picks a bathtub....it has several Variants based on left side install right install which are mandatory to select. BUT Optional to this are the doors that surround the Bathtub which are in their own respective Category and also optional drains and hardware they MAY select as an Option but are not Mandatory. I will have several thousand products to create with Options that are optional and also as above those options are actual products with their own variants ion which the variant description must show when they select that Option.

- [ ![Untitled.jpg](/forum/attachment/45291) ](/forum/attachment/45291 "Untitled.jpg") [ ](/forum/attachment/45291?download=1 "Untitled.jpg")

Last edit: 8 years 1 week ago by [sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile"). Reason: Forgot to add the additional issue directly related to the first post.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk2MTUwLW9wdGlvbnMtd2l0aC12YXJpYW50cy1kby1ub3Qtc2hvdy10aGUtdmFyaWFudHMtZGVzY3JpcHRpb24taW4tcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

8 years 1 week ago [\#300062](#300062) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Options with Variants do not show the variants description in Product listing.](/forum/32-content-creation/896150-options-with-variants-do-not-show-the-variants-description-in-product-listing#300062 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Version 70.0.3538.77 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error on page....variant description not showing.  I added the Option &quot;Bypass Series&quot; to the Product Aura, the Option &quot;Bypass Series&quot; has two active Variants. While the variants show on the product Aura, their variant descriptions do not...it only shows the default description.  In addition the Option is Optional, I am really having difficulty with being able to allow options the client can pick but are not mandatory. Just about every product for a Bath and Kitchen renovation has options that are NOT mandatory. FOr example: client picks a bathtub....it has several Variants based on left side install right install which are mandatory to select. BUT Optional to this are the doors that surround the Bathtub which are in their own respective Category and also optional drains and hardware they MAY select as an Option but are not Mandatory. I will have several thousand products to create with Options that are optional and also as above those options are actual products with their own variants ion which the variant description must show when they select that Option.")*

Hi,

1. The description icon on the option name is supposed to be the description of the main product of the option not the variants. So it's actually normal it doesn't refresh when you change the variant selected in the option.
We didn't think it would make sense.
I personally still don't think it would.
Moreover, if you want to change that, it won't be so easy as the tooltips are initialized by Joomla when the page is loaded. So changing the content of the tooltip dynamically would require some custom javascript to clear the tooltip and reinitialize it.
It's not impossible to do if you're a developer and you know well PHP/javascript but otherwise I don't see any way to do that.

2. There are two ways to go about that:
- you add an additional "no" value to the characteristics and add the corresponding variant in the option product and select it as default. That way, the option will default to that "no" variant.
- you can also add a "no" choice for all the options with variants:
[ www.hikashop.com/forum/product-category-...t-option.html#138030](https://www.hikashop.com/forum/product-category-display/864582-how-to-show-none-as-default-for-product-option.html#138030)

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

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

Less More

- Posts: 7
- Thank you received: 1
-
-

8 years 1 week ago -  8 years 1 week ago [\#300122](#300122) by [sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile")  Replied by *[sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile")* on topic *[Options with Variants do not show the variants description in Product listing.](/forum/32-content-creation/896150-options-with-variants-do-not-show-the-variants-description-in-product-listing#300122 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Version 70.0.3538.77 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error on page....variant description not showing.  I added the Option &quot;Bypass Series&quot; to the Product Aura, the Option &quot;Bypass Series&quot; has two active Variants. While the variants show on the product Aura, their variant descriptions do not...it only shows the default description.  In addition the Option is Optional, I am really having difficulty with being able to allow options the client can pick but are not mandatory. Just about every product for a Bath and Kitchen renovation has options that are NOT mandatory. FOr example: client picks a bathtub....it has several Variants based on left side install right install which are mandatory to select. BUT Optional to this are the doors that surround the Bathtub which are in their own respective Category and also optional drains and hardware they MAY select as an Option but are not Mandatory. I will have several thousand products to create with Options that are optional and also as above those options are actual products with their own variants ion which the variant description must show when they select that Option.")*

> nicolas wrote: Hi,
>
> 1\. The description icon on the option name is supposed to be the description of the main product of the option not the variants. So it's actually normal it doesn't refresh when you change the variant selected in the option.
> We didn't think it would make sense.
> I personally still don't think it would.
> Moreover, if you want to change that, it won't be so easy as the tooltips are initialized by Joomla when the page is loaded. So changing the content of the tooltip dynamically would require some custom javascript to clear the tooltip and reinitialize it.
> It's not impossible to do if you're a developer and you know well PHP/javascript but otherwise I don't see any way to do that.
>
> 2\. There are two ways to go about that:
> \- you add an additional "no" value to the characteristics and add the corresponding variant in the option product and select it as default. That way, the option will default to that "no" variant.
> \- you can also add a "no" choice for all the options with variants:
> [ www.hikashop.com/forum/product-category-...t-option.html#138030](https://www.hikashop.com/forum/product-category-display/864582-how-to-show-none-as-default-for-product-option.html#138030)

I looked for the code

"$this-&gt;values = array();
to:
$this-&gt;values = array(JHTML::_('select.option', 0,JText::_('HIKASHOP_NO')));
and removing the line:
$value = $variant-&gt;product_id; "

in the Options View but it is not there here is what I see but I still do not know what to change to add the "no" value to it.

**\[Moderator :** There is no point to post a code view that we already know and have.
Plus, don't forget that this forum aim is to be used by other people, and so a long message detracts from the good reading, next time using attachments.\]

Last edit: 8 years 1 week ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

The following user(s) said Thank You: [fernando.alh](/forum/user/29824-fernando-alh "View fernando.alh's Profile")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 1 week ago -  8 years 1 week ago [\#300132](#300132) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Options with Variants do not show the variants description in Product listing.](/forum/32-content-creation/896150-options-with-variants-do-not-show-the-variants-description-in-product-listing#300132 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Version 70.0.3538.77 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error on page....variant description not showing.  I added the Option &quot;Bypass Series&quot; to the Product Aura, the Option &quot;Bypass Series&quot; has two active Variants. While the variants show on the product Aura, their variant descriptions do not...it only shows the default description.  In addition the Option is Optional, I am really having difficulty with being able to allow options the client can pick but are not mandatory. Just about every product for a Bath and Kitchen renovation has options that are NOT mandatory. FOr example: client picks a bathtub....it has several Variants based on left side install right install which are mandatory to select. BUT Optional to this are the doors that surround the Bathtub which are in their own respective Category and also optional drains and hardware they MAY select as an Option but are not Mandatory. I will have several thousand products to create with Options that are optional and also as above those options are actual products with their own variants ion which the variant description must show when they select that Option.")*

Hello,

Nicolas means create a **new variant value** in the relative setting page, from **Main HikaShop Configuration** page, go on **Products** dropdown and select **Characteristics**, see my screenshot to better understand the context :

[ ![&#91;img](https://i.imgur.com/3isDCJR.png) ](https://i.imgur.com/3isDCJR.png "&#91;img")

That's why, we don't get your point about your code in this topic.

Regards

Last edit: 8 years 1 week ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 7
- Thank you received: 1
-
-

8 years 6 days ago -  8 years 6 days ago [\#300292](#300292) by [sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile")  Replied by *[sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile")* on topic *[Options with Variants do not show the variants description in Product listing.](/forum/32-content-creation/896150-options-with-variants-do-not-show-the-variants-description-in-product-listing#300292 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Version 70.0.3538.77 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error on page....variant description not showing.  I added the Option &quot;Bypass Series&quot; to the Product Aura, the Option &quot;Bypass Series&quot; has two active Variants. While the variants show on the product Aura, their variant descriptions do not...it only shows the default description.  In addition the Option is Optional, I am really having difficulty with being able to allow options the client can pick but are not mandatory. Just about every product for a Bath and Kitchen renovation has options that are NOT mandatory. FOr example: client picks a bathtub....it has several Variants based on left side install right install which are mandatory to select. BUT Optional to this are the doors that surround the Bathtub which are in their own respective Category and also optional drains and hardware they MAY select as an Option but are not Mandatory. I will have several thousand products to create with Options that are optional and also as above those options are actual products with their own variants ion which the variant description must show when they select that Option.")*

Hi, I figured out a simple solution to having Options of a Product show with default option of NO that does not require creating additional Variants!

How to:

Under the heading Display&gt;Views, select the column Product and then the active template you are using.

Edit the Option file and drill down to the section where it says

if($this-&gt;config-&gt;get('add_no_to_options', 0) &amp;&amp; $selectionMethod != 'check')

change only the 0 to 1 as below

if($this-&gt;config-&gt;get('add_no_to_options', **1**) &amp;&amp; $selectionMethod != 'check')

and to get the default option value set to no you simply change this

if($this-&gt;config-&gt;get('select_option_default_value', **1**) &amp;&amp; $selectionMethod != 'check')
to this
if($this-&gt;config-&gt;get('select_option_default_value', 0) &amp;&amp; $selectionMethod != 'check')

Just changing the value of 1 to 0

You will have to do this to every template you have active on your Joomla site if you want each Option you add to have a No selection so that the customer is not forced to add an option to his Product purchase and bonus is the Options that are selected as No will not show up in the cart which would potentially confuse the client. (In the example below you see that the Axent Bypass Sliding Doors is an option and the client selected no so on the right hand side in the cart you only see one item which is the Soaker left Bathtub variant without listing Options the client selected as No.

I still haven't figured out how to edit jtext so that NO becomes a custom name like "no thank you" but this is really making things simpler for me to add multiple options that the client can either select or opt out of.

[ ![example.PNG](/forum/attachment/45357) ](/forum/attachment/45357 "example.PNG")

- [ ![example.PNG](/forum/attachment/45357) ](/forum/attachment/45357 "example.PNG") [ ](/forum/attachment/45357?download=1 "example.PNG")

Last edit: 8 years 6 days ago by [sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile"). Reason: added one extra change so that the default value for any option is no

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk2MTUwLW9wdGlvbnMtd2l0aC12YXJpYW50cy1kby1ub3Qtc2hvdy10aGUtdmFyaWFudHMtZGVzY3JpcHRpb24taW4tcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

8 years 5 days ago [\#300316](#300316) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Options with Variants do not show the variants description in Product listing.](/forum/32-content-creation/896150-options-with-variants-do-not-show-the-variants-description-in-product-listing#300316 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : Version 70.0.3538.77 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error on page....variant description not showing.  I added the Option &quot;Bypass Series&quot; to the Product Aura, the Option &quot;Bypass Series&quot; has two active Variants. While the variants show on the product Aura, their variant descriptions do not...it only shows the default description.  In addition the Option is Optional, I am really having difficulty with being able to allow options the client can pick but are not mandatory. Just about every product for a Bath and Kitchen renovation has options that are NOT mandatory. FOr example: client picks a bathtub....it has several Variants based on left side install right install which are mandatory to select. BUT Optional to this are the doors that surround the Bathtub which are in their own respective Category and also optional drains and hardware they MAY select as an Option but are not Mandatory. I will have several thousand products to create with Options that are optional and also as above those options are actual products with their own variants ion which the variant description must show when they select that Option.")*

Hi,

For the text, you should change the translation key in the option.php view file: HIKASHOP_NO
For example with MY_TRANSLATION_KEY
and then, in the HikaShop configuration, under the "languages" tab, edit your language, and in the "override" area you can add such line:
MY_TRANSLATION_KEY="no thank you"

The following user(s) said Thank You: [sportsaction2000](/forum/user/42079-sportsaction2000 "View sportsaction2000's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk2MTUwLW9wdGlvbnMtd2l0aC12YXJpYW50cy1kby1ub3Qtc2hvdy10aGUtdmFyaWFudHMtZGVzY3JpcHRpb24taW4tcHJvZHVjdC1saXN0aW5nP3RtcGw9bWFya2Rvd24=) 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.066 seconds

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