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

#   Force customer to choose variant

##

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

Less More

- Posts: 137
- Thank you received: 4
-
-

14 years 4 months ago [\#54308](#54308) by [simonkloostra](/forum/user/4870-simonkloostra "View simonkloostra's Profile")  *[Force customer to choose variant](/forum/4-how-to/54308-force-customer-to-choose-variant#54308 "I have set up a number of products, most of them with variants. Usually I set a default value called &quot;make a selection&quot;, but this is sometimes ignored, so I have to ask the customer by email after ordering. How can I force customers to make a selection? I have checked the forum, but could not find too many hints. I believe one solution was to set the amount of the default variant to zero using the Manage variants option for the product, but that did not work, the amount of zero is ignored and customers can still order without making a selection. I do not have a link to this, I am testing on a localhost.")* was created by *[simonkloostra](/forum/user/4870-simonkloostra "View simonkloostra's Profile")*

I have set up a number of products, most of them with variants. Usually I set a default value called "make a selection", but this is sometimes ignored, so I have to ask the customer by email after ordering.
How can I force customers to make a selection? I have checked the forum, but could not find too many hints. I believe one solution was to set the amount of the default variant to zero using the Manage variants option for the product, but that did not work, the amount of zero is ignored and customers can still order without making a selection.
I do not have a link to this, I am testing on a localhost.

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

Less More

- Posts: 86283
- Thank you received: 14262
-
-

14 years 4 months ago [\#54323](#54323) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Force customer to choose variant](/forum/4-how-to/54308-force-customer-to-choose-variant#54323 "I have set up a number of products, most of them with variants. Usually I set a default value called &quot;make a selection&quot;, but this is sometimes ignored, so I have to ask the customer by email after ordering. How can I force customers to make a selection? I have checked the forum, but could not find too many hints. I believe one solution was to set the amount of the default variant to zero using the Manage variants option for the product, but that did not work, the amount of zero is ignored and customers can still order without making a selection. I do not have a link to this, I am testing on a localhost.")*

It's not the price amount but the quantity amount that you need to set to 0.

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

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

Less More

- Posts: 137
- Thank you received: 4
-
-

14 years 4 months ago [\#54474](#54474) by [simonkloostra](/forum/user/4870-simonkloostra "View simonkloostra's Profile")  Replied by *[simonkloostra](/forum/user/4870-simonkloostra "View simonkloostra's Profile")* on topic *[Re: Force customer to choose variant](/forum/4-how-to/54308-force-customer-to-choose-variant#54474 "I have set up a number of products, most of them with variants. Usually I set a default value called &quot;make a selection&quot;, but this is sometimes ignored, so I have to ask the customer by email after ordering. How can I force customers to make a selection? I have checked the forum, but could not find too many hints. I believe one solution was to set the amount of the default variant to zero using the Manage variants option for the product, but that did not work, the amount of zero is ignored and customers can still order without making a selection. I do not have a link to this, I am testing on a localhost.")*

Yeah, ok, that's obvious, did that. I sort of managed to change the behaviour by removing the option, re-applying it, and then setting the quantity to zero of the default variant.

However, what happens is that the "Add to cart" button is removed, and the message that the product is out of stock is displayed. Of course I can override the translation to get a more fitting message, but I would not want the button to disappear.

Basically I would want to show my page as exactly as it currently is (like for example: [ hielspoorinfo.nl/profesionele-hielspoor-zool](http://hielspoorinfo.nl/profesionele-hielspoor-zool)). Only when an order is placed I would want a message that a selection should be made.

Is this possible?

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

Less More

- Posts: 86283
- Thank you received: 14262
-
-

14 years 4 months ago [\#54528](#54528) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Force customer to choose variant](/forum/4-how-to/54308-force-customer-to-choose-variant#54528 "I have set up a number of products, most of them with variants. Usually I set a default value called &quot;make a selection&quot;, but this is sometimes ignored, so I have to ask the customer by email after ordering. How can I force customers to make a selection? I have checked the forum, but could not find too many hints. I believe one solution was to set the amount of the default variant to zero using the Manage variants option for the product, but that did not work, the amount of zero is ignored and customers can still order without making a selection. I do not have a link to this, I am testing on a localhost.")*

It depends.
If you don't want to manage prices or quantities on a per variant basis, instead of a characteristic, you should use a custom field of the table "item".
[ www.hikashop.com/en/support/documentatio...p-field-listing.html](http://www.hikashop.com/en/support/documentation/41-hikashop-field-listing.html)
You will be able to configure the custom field that way but turning on the "required" option of the custom field and having a default value without any "value".

Otherwise, if you need to handle prices or quantities on a per variant basis, custom fields don't allow you to do that so you won't be able to do what you want unless you add custom code in the code of Hikashop.

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

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

Less More

- Posts: 137
- Thank you received: 4
-
-

14 years 4 months ago [\#54681](#54681) by [simonkloostra](/forum/user/4870-simonkloostra "View simonkloostra's Profile")  Replied by *[simonkloostra](/forum/user/4870-simonkloostra "View simonkloostra's Profile")* on topic *[Re: Force customer to choose variant](/forum/4-how-to/54308-force-customer-to-choose-variant#54681 "I have set up a number of products, most of them with variants. Usually I set a default value called &quot;make a selection&quot;, but this is sometimes ignored, so I have to ask the customer by email after ordering. How can I force customers to make a selection? I have checked the forum, but could not find too many hints. I believe one solution was to set the amount of the default variant to zero using the Manage variants option for the product, but that did not work, the amount of zero is ignored and customers can still order without making a selection. I do not have a link to this, I am testing on a localhost.")*

Custom fields might be the way to go for most of my products indeed, thanks, didn't know that they could be used that way.

However, I would also like to achieve this for products with product-options with varying price, like this one: [ hielspoorinfo.nl/bauerfeind-viscospot-hielkussen](http://hielspoorinfo.nl/bauerfeind-viscospot-hielkussen)
Is this possible? Or do I understand it isn't (without custom code)?

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

Less More

- Posts: 86283
- Thank you received: 14262
-
-

14 years 4 months ago [\#54709](#54709) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Force customer to choose variant](/forum/4-how-to/54308-force-customer-to-choose-variant#54709 "I have set up a number of products, most of them with variants. Usually I set a default value called &quot;make a selection&quot;, but this is sometimes ignored, so I have to ask the customer by email after ordering. How can I force customers to make a selection? I have checked the forum, but could not find too many hints. I believe one solution was to set the amount of the default variant to zero using the Manage variants option for the product, but that did not work, the amount of zero is ignored and customers can still order without making a selection. I do not have a link to this, I am testing on a localhost.")*

It isn't.

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

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

[](#top)
