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

#   Trouble with variants

##

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 11 months ago [\#1721](#1721) by [Joanne](/forum/user/276-joanne "View Joanne's Profile")  *[Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1721 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")* was created by *[Joanne](/forum/user/276-joanne "View Joanne's Profile")*

Hi,

I'm entering variants of products and then they are not there when i select "manage variants" or when i choose to show variants on the main product listing page.

I've read through the instructions and a couple of previous posts but cannot figure it out.

I am making sure they're published, saving etc.

I read previously something about having a default item but could not see how to set this.

Jo

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

Less More

- Posts: 86289
- Thank you received: 14266
-
-

15 years 11 months ago [\#1723](#1723) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1723 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")*

Hi,

It could happen that the system was not able to automatically create the variants of a product based on the characteristics you set. In such cases, you won't see the variants on the "manage variant" listing. However, you can still create them manually with the new button there.

Did you add values for your characteristics beforehand ?
There must be a problem with the way you're creating your products. You're the first person reporting that the system didn't create the variants automatically. If you try with a new product do you have the same behavior ?
If so, could you explain step by step what you do until the manage variant screen where you don't see the variants ?

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 11 months ago [\#1770](#1770) by [Joanne](/forum/user/276-joanne "View Joanne's Profile")  Replied by *[Joanne](/forum/user/276-joanne "View Joanne's Profile")* on topic *[Re: Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1770 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")*

I've managed to figure out what I was doing wrong and how to make it happen!

But one of my values is 0 (zero) (also 00, 000 &amp; 1 for kids clothes) the 0 value appears as I've entered it when i go into values &amp; variants but appears as 10 everywhere else &amp; therefore on the dropdown menu on product page it is 10 insteas of 0. Is there any way I can fix this (without changing it to a letter O)?

Thanks very much, I appreciate the support and quick replies.

Jo

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

Less More

- Posts: 86289
- Thank you received: 14266
-
-

15 years 11 months ago [\#1771](#1771) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1771 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")*

Could you post a screenshot of the edition page of your characteristic ? That would help us reproduce the problem on our end.

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 11 months ago [\#1772](#1772) by [Joanne](/forum/user/276-joanne "View Joanne's Profile")  Replied by *[Joanne](/forum/user/276-joanne "View Joanne's Profile")* on topic *[Re: Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1772 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")*

I hope this shows what you need.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/characteristics.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/characteristics.png "&#91;img")

- [ ![characteristics.png](/forum/attachment/119) ](/forum/attachment/119 "...cteristics.png") [ ](/forum/attachment/119?download=1 "...cteristics.png")

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 11 months ago [\#1774](#1774) by [Joanne](/forum/user/276-joanne "View Joanne's Profile")  Replied by *[Joanne](/forum/user/276-joanne "View Joanne's Profile")* on topic *[Re: Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1774 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")*

OK?  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/char.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/char.png "&#91;img")

- [ ![char.png](/forum/attachment/120) ](/forum/attachment/120 "char.png") [ ](/forum/attachment/120?download=1 "char.png")

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

Less More

- Posts: 86289
- Thank you received: 14266
-
-

15 years 11 months ago [\#1776](#1776) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1776 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")*

Yes, thank you. We will try to reproduce the problem and fix it.
That fact that you use 0 and 00 and 000 probably create problems with the checks on emptiness because with you check if a variable is empty in PHP 0 and 00 and 000 meaning the same thing. There are some ways to do the checks differently to avoid such issues.

In the mean time, I would recommend to cheat the system. You could use the values &amp;nbsp;0 &amp;nbsp;00 and &amp;nbsp;000
Since &amp;nbsp; is replaced into a space by the browsers it should work.

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

Less More

- Posts: 86289
- Thank you received: 14266
-
-

15 years 11 months ago [\#1787](#1787) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1787 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")*

Hi,

The problem comes from Joomla actually. We use their libraries to display HTML elements and they don't take into account the 0 properly in the library.
In order to fix the display problem for the 0, you can change the code Code:

$this-&gt;values[] = JHTML::_('select.option', $key,$val);

to the code Code:

if(strlen($val)!=0 &amp;&amp; empty($val)){ $val = $val.'&amp;nbsp;'; } $this-&gt;values[] = JHTML::_('select.option', $key,$val);

near line 145 of the file administrator/components/com_hikashop/type/characteristic.php
That's something we are going to include in next release.

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

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

Less More

- Posts: 14
- Thank you received: 0
-
-

15 years 11 months ago [\#1795](#1795) by [Joanne](/forum/user/276-joanne "View Joanne's Profile")  Replied by *[Joanne](/forum/user/276-joanne "View Joanne's Profile")* on topic *[Re: Trouble with variants](/forum/4-how-to/1721-trouble-with-variants#1795 "Hi,  I'm entering variants of products and then they are not there when i select &quot;manage variants&quot; or when i choose to show variants on the main product listing page.  I've read through the instructions and a couple of previous posts but cannot figure it out.  I am making sure they're published, saving etc.  I read previously something about having a default item but could not see how to set this.  Jo")*

Thank you so much for taking the time to figure this out for me, very much appreciated.

I've changed the values to O for now as you suggested and it's fine. I now know how to change it to the way I want so thanks.

Jo

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

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

[](#top)
