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

#   No automatic variants?

##

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

Less More

- Posts: 19
- Thank you received: 0
-
-

15 years 9 months ago [\#7283](#7283) by [kohypon](/forum/user/882-kohypon "View kohypon's Profile")  *[No automatic variants?](/forum/3-bug-report/7283-no-automatic-variants#7283 "Hi,  I have used the characteristics to make variants of my products. First when I added a new characteristic to a product, the variants were created automatically (like &quot;productA&#95;1, productA&#95;2 ...). But when I now create new characteristics and add them to a product, that automatic creation of the variants does not work any more! When I click on &quot;manage variants&quot;, I only see one variant for that product in the variants screen named &quot;productA&#95;&quot; and without having a characteristic added.  How can it be solved to recreate that &quot;automatic variants process&quot;?")* was created by *[kohypon](/forum/user/882-kohypon "View kohypon's Profile")*

Hi,

I have used the characteristics to make variants of my products. First when I added a new characteristic to a product, the variants were created automatically (like "productA_1, productA_2 ...).
But when I now create new characteristics and add them to a product, that automatic creation of the variants does not work any more! When I click on "manage variants", I only see one variant for that product in the variants screen named "productA_" and without having a characteristic added.

How can it be solved to recreate that "automatic variants process"?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83MjgzLW5vLWF1dG9tYXRpYy12YXJpYW50cz90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

15 years 9 months ago [\#7295](#7295) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: No automatic variants?](/forum/3-bug-report/7283-no-automatic-variants#7295 "Hi,  I have used the characteristics to make variants of my products. First when I added a new characteristic to a product, the variants were created automatically (like &quot;productA&#95;1, productA&#95;2 ...). But when I now create new characteristics and add them to a product, that automatic creation of the variants does not work any more! When I click on &quot;manage variants&quot;, I only see one variant for that product in the variants screen named &quot;productA&#95;&quot; and without having a characteristic added.  How can it be solved to recreate that &quot;automatic variants process&quot;?")*

Hi,

When you already have variants in your product and you add new characteristics, hikashop doesn't know what to do (imagine that you changed some data in the variants...if hikashop delete them in order to recreate all the variants, you're screwed) so it doesn't create the variants automatically.

If you want it to recreate all the variants automatically, you need to delete all the variants of your product first. Then, go back to the product, delete the characteristics and save the product. Then, add the characteristics again and save the product and all the variants will be recreated automatically.

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

15 years 9 months ago [\#7303](#7303) by [kohypon](/forum/user/882-kohypon "View kohypon's Profile")  Replied by *[kohypon](/forum/user/882-kohypon "View kohypon's Profile")* on topic *[Re: No automatic variants?](/forum/3-bug-report/7283-no-automatic-variants#7303 "Hi,  I have used the characteristics to make variants of my products. First when I added a new characteristic to a product, the variants were created automatically (like &quot;productA&#95;1, productA&#95;2 ...). But when I now create new characteristics and add them to a product, that automatic creation of the variants does not work any more! When I click on &quot;manage variants&quot;, I only see one variant for that product in the variants screen named &quot;productA&#95;&quot; and without having a characteristic added.  How can it be solved to recreate that &quot;automatic variants process&quot;?")*

OMG, I tried only to delete the characteristic and then added a new characteristic to the product. But I forgot to delete the automatically created wrong variant itself!

Thank you Nicolas for your advise, that helped perfectly.

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

15 years 9 months ago [\#7596](#7596) by [kohypon](/forum/user/882-kohypon "View kohypon's Profile")  Replied by *[kohypon](/forum/user/882-kohypon "View kohypon's Profile")* on topic *[Re: No automatic variants?](/forum/3-bug-report/7283-no-automatic-variants#7596 "Hi,  I have used the characteristics to make variants of my products. First when I added a new characteristic to a product, the variants were created automatically (like &quot;productA&#95;1, productA&#95;2 ...). But when I now create new characteristics and add them to a product, that automatic creation of the variants does not work any more! When I click on &quot;manage variants&quot;, I only see one variant for that product in the variants screen named &quot;productA&#95;&quot; and without having a characteristic added.  How can it be solved to recreate that &quot;automatic variants process&quot;?")*

Hi Nicolas,

I still think that there is some trouble with that process.
The creation of the automatic variants according to your advice ("delete all the variants of your product first. Then, go back to the product, delete the characteristics and save the product. Then, add the characteristics again and save the product") only works sometimes. I have to try it several times to have the variants created correctly.

I recognized that every time I save a product and change something in the characteristics or variants, an error is displayed:

Warning: Invalid argument supplied for foreach() in *************/www_root/administrator/components/com_hikashop/classes/product.php on line 436

As mentioned above, most times there is only one variant created like "ProductA_" without characteristic value.
Maybe this error has something to do with the process only working sporadically?

Thanks
Kohypon

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83MjgzLW5vLWF1dG9tYXRpYy12YXJpYW50cz90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

15 years 9 months ago [\#7597](#7597) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: No automatic variants?](/forum/3-bug-report/7283-no-automatic-variants#7597 "Hi,  I have used the characteristics to make variants of my products. First when I added a new characteristic to a product, the variants were created automatically (like &quot;productA&#95;1, productA&#95;2 ...). But when I now create new characteristics and add them to a product, that automatic creation of the variants does not work any more! When I click on &quot;manage variants&quot;, I only see one variant for that product in the variants screen named &quot;productA&#95;&quot; and without having a characteristic added.  How can it be solved to recreate that &quot;automatic variants process&quot;?")*

Hi,

We made some changes on that end. Could you try to install the latest version and see if you still have the problem ?

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

15 years 9 months ago [\#7599](#7599) by [kohypon](/forum/user/882-kohypon "View kohypon's Profile")  Replied by *[kohypon](/forum/user/882-kohypon "View kohypon's Profile")* on topic *[Re: No automatic variants?](/forum/3-bug-report/7283-no-automatic-variants#7599 "Hi,  I have used the characteristics to make variants of my products. First when I added a new characteristic to a product, the variants were created automatically (like &quot;productA&#95;1, productA&#95;2 ...). But when I now create new characteristics and add them to a product, that automatic creation of the variants does not work any more! When I click on &quot;manage variants&quot;, I only see one variant for that product in the variants screen named &quot;productA&#95;&quot; and without having a characteristic added.  How can it be solved to recreate that &quot;automatic variants process&quot;?")*

Hi Nicolas,

with that new version the error diappeared and the automatic variant creation now seems to work 100%.

Great job!

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