- Posts: 7
- Thank you received: 0
Product characteristics default option empty
- free2shine@gmx.com
-
Topic Author
- Offline
Less
More
6 years 1 month ago #324394
by free2shine@gmx.com
Product characteristics default option empty was created by free2shine@gmx.com
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.4.11
-- Browser(s) name and version -- : Chrome 85.0.4183.121
-- Error-message(debug-mod must be tuned on) -- : none
Hi,
Is it possible to have the default variant option of characteristics as an empty value or saying something like "select option" (or similar)? When no option is selected, people are not able to add to cart. This is to force people to choose an option and not accidentally order the wrong (default) option already selected.
Please see attached picture for an example:
image missing http://houseofafrika.com/images/example1.jpg
Hope that makes sense.
Thanks.
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.4.11
-- Browser(s) name and version -- : Chrome 85.0.4183.121
-- Error-message(debug-mod must be tuned on) -- : none
Hi,
Is it possible to have the default variant option of characteristics as an empty value or saying something like "select option" (or similar)? When no option is selected, people are not able to add to cart. This is to force people to choose an option and not accidentally order the wrong (default) option already selected.
Please see attached picture for an example:
image missing http://houseofafrika.com/images/example1.jpg
Hope that makes sense.
Thanks.
Please Log in or Create an account to join the conversation.
6 years 1 month ago #324426
by nicolas
Replied by nicolas on topic Product characteristics default option empty
Hi,
If you have only one characteristic in your product, then the default value is automatically selected.
One solution is to create an additional variant you'll call "select an option" with a quantity of 0 or a sale end date in the past or a sale start date in the future and select it as default.
That way, you'll not have the add to cart by default, and you'll have some text that you can change with a translation override to say something else like "add to cart button will appear after you select something".
www.hikashop.com/download/languages.html#modify
If you have only one characteristic in your product, then the default value is automatically selected.
One solution is to create an additional variant you'll call "select an option" with a quantity of 0 or a sale end date in the past or a sale start date in the future and select it as default.
That way, you'll not have the add to cart by default, and you'll have some text that you can change with a translation override to say something else like "add to cart button will appear after you select something".
www.hikashop.com/download/languages.html#modify
The following user(s) said Thank You: free2shine@gmx.com
Please Log in or Create an account to join the conversation.
- free2shine@gmx.com
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
6 years 1 month ago #324509
by free2shine@gmx.com
Replied by free2shine@gmx.com on topic Product characteristics default option empty
Thanks, it works.
Please Log in or Create an account to join the conversation.
Time to create page: 0.344 seconds