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

#   Product Options That Have Vairants

##

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

Less More

- Posts: 12
- Thank you received: 1
-
-

12 years 8 months ago [\#146688](#146688) by [Fallen Leaf](/forum/user/8355-fallen-leaf "View Fallen Leaf's Profile")  *[Product Options That Have Vairants](/forum/25-install-update/866349-product-options-that-have-vairants#146688 "HI,  We wish to have two options in a product. One to add bags of firewood &amp; one to add bags of Kindling.  We created two new products in the system, One for Kindling &amp; One for firewood. In this we created product variants for the number of bags (1,2 or 3)  We then added these products to our main product as options. All works great they show up as options and the shopper can choose how many bags of each they want.  We came across the problem, that the shopper may not want any bags of either option but the system choose one of the variants (number of bags) by default.  I notice that if you add a product option with no variants to it the system will auto select &quot;NO&quot; so the option is not selected by default.  How can we achieve this when their is a variant (We can create another variant that is &quot;0 Bags&quot; with no price, but this then conflicts with a shipping condition we have that calculates shipping &quot;per item&quot; as they show as items in the basket.")* was created by *[Fallen Leaf](/forum/user/8355-fallen-leaf "View Fallen Leaf's Profile")*

HI,

We wish to have two options in a product. One to add bags of firewood &amp; one to add bags of Kindling.

We created two new products in the system, One for Kindling &amp; One for firewood. In this we created product variants for the number of bags (1,2 or 3)

We then added these products to our main product as options. All works great they show up as options and the shopper can choose how many bags of each they want.

We came across the problem, that the shopper may not want any bags of either option but the system choose one of the variants (number of bags) by default.

I notice that if you add a product option with no variants to it the system will auto select "NO" so the option is not selected by default.

How can we achieve this when their is a variant (We can create another variant that is "0 Bags" with no price, but this then conflicts with a shipping condition we have that calculates shipping "per item" as they show as items in the basket.

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

12 years 8 months ago [\#146695](#146695) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Options That Have Vairants](/forum/25-install-update/866349-product-options-that-have-vairants#146695 "HI,  We wish to have two options in a product. One to add bags of firewood &amp; one to add bags of Kindling.  We created two new products in the system, One for Kindling &amp; One for firewood. In this we created product variants for the number of bags (1,2 or 3)  We then added these products to our main product as options. All works great they show up as options and the shopper can choose how many bags of each they want.  We came across the problem, that the shopper may not want any bags of either option but the system choose one of the variants (number of bags) by default.  I notice that if you add a product option with no variants to it the system will auto select &quot;NO&quot; so the option is not selected by default.  How can we achieve this when their is a variant (We can create another variant that is &quot;0 Bags&quot; with no price, but this then conflicts with a shipping condition we have that calculates shipping &quot;per item&quot; as they show as items in the basket.")*

Hi,

You can do like that:
[ www.hikashop.com/forum/product-category-...t-option.html#138030](http://www.hikashop.com/forum/product-category-display/864582-how-to-show-none-as-default-for-product-option.html#138030)

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

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

Less More

- Posts: 12
- Thank you received: 1
-
-

12 years 8 months ago [\#146701](#146701) by [Fallen Leaf](/forum/user/8355-fallen-leaf "View Fallen Leaf's Profile")  Replied by *[Fallen Leaf](/forum/user/8355-fallen-leaf "View Fallen Leaf's Profile")* on topic *[Product Options That Have Vairants](/forum/25-install-update/866349-product-options-that-have-vairants#146701 "HI,  We wish to have two options in a product. One to add bags of firewood &amp; one to add bags of Kindling.  We created two new products in the system, One for Kindling &amp; One for firewood. In this we created product variants for the number of bags (1,2 or 3)  We then added these products to our main product as options. All works great they show up as options and the shopper can choose how many bags of each they want.  We came across the problem, that the shopper may not want any bags of either option but the system choose one of the variants (number of bags) by default.  I notice that if you add a product option with no variants to it the system will auto select &quot;NO&quot; so the option is not selected by default.  How can we achieve this when their is a variant (We can create another variant that is &quot;0 Bags&quot; with no price, but this then conflicts with a shipping condition we have that calculates shipping &quot;per item&quot; as they show as items in the basket.")*

HI Nicolas,

Thanks for that just what I needed. After the code change I now get this error on the product page

"The default value of one of the characteristics of that product isn't available as a variant. Please check the characteristics and variants of that product"

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

12 years 8 months ago [\#146716](#146716) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Options That Have Vairants](/forum/25-install-update/866349-product-options-that-have-vairants#146716 "HI,  We wish to have two options in a product. One to add bags of firewood &amp; one to add bags of Kindling.  We created two new products in the system, One for Kindling &amp; One for firewood. In this we created product variants for the number of bags (1,2 or 3)  We then added these products to our main product as options. All works great they show up as options and the shopper can choose how many bags of each they want.  We came across the problem, that the shopper may not want any bags of either option but the system choose one of the variants (number of bags) by default.  I notice that if you add a product option with no variants to it the system will auto select &quot;NO&quot; so the option is not selected by default.  How can we achieve this when their is a variant (We can create another variant that is &quot;0 Bags&quot; with no price, but this then conflicts with a shipping condition we have that calculates shipping &quot;per item&quot; as they show as items in the basket.")*

The code change will not generate such error. This looks more like a problem with how your product is configured.
Please follow our documentation on that:
[ www.hikashop.com/support/support/documen...html#characteristics](http://www.hikashop.com/support/support/documentation/integrated-documentation/19-hikashop-product-form.html#characteristics)

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

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