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

#   Dropdown box

##

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

Less More

- Posts: 279
- Thank you received: 1
-
-

13 years 1 month ago [\#127017](#127017) by [trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")  *[Dropdown box](/forum/27-checkout/862655-dropdown-box#127017 "-- url of the page with the problem -- :   digitalguarddog.com/dd&#95;dev/automobiles-t...motive/pbs-i/product  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.3.3  When a customer selects &quot;Add to cart&quot; WITHOUT selecting an option in the dropdown (Select a button), the following checkout page gives an error as per the image below.  Firstly, where do I edit what appears here as it makes zero sense.  Secondly, and vastly more importantly, although a selection from the dropdown should have been made, the item is added to the cart, but there is no way to now select an item. If the customer goes back and redoes the purchase they now have 2 of the item in their cart - one w/out the dropdown selection and one with. Is there any way to stop the process of movign to the checkout page if nothing is selected, or still show the dropdown on the checkout page?  Not being able to move forward (like a required field in an ordinary form) if a dropdown doesn't have a value should be part of the whole shop setup surely?  Thanks.")* was created by *[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")*

-- url of the page with the problem -- : [ digitalguarddog.com/dd\_dev/automobiles-t...motive/pbs-i/product](https://digitalguarddog.com/dd_dev/automobiles-trucks/push-button-start-automotive/pbs-i/product)
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3.3

When a customer selects "Add to cart" WITHOUT selecting an option in the dropdown (Select a button), the following checkout page gives an error as per the image below.
[ ![hc11131d.jpg](/forum/attachment/12750) ](/forum/attachment/12750 "hc11131d.jpg")

Firstly, where do I edit what appears here as it makes zero sense.

Secondly, and vastly more importantly, although a selection from the dropdown should have been made, the item is added to the cart, but there is no way to now select an item. If the customer goes back and redoes the purchase they now have 2 of the item in their cart - one w/out the dropdown selection and one with. Is there any way to stop the process of movign to the checkout page if nothing is selected, or still show the dropdown on the checkout page?

Not being able to move forward (like a required field in an ordinary form) if a dropdown doesn't have a value should be part of the whole shop setup surely?

Thanks.

- [ ![hc11131d.jpg](/forum/attachment/12750) ](/forum/attachment/12750 "hc11131d.jpg") [ ](/forum/attachment/12750?download=1 "hc11131d.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjY1NS1kcm9wZG93bi1ib3g/dG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14326
-
-

13 years 1 month ago [\#127073](#127073) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Dropdown box](/forum/27-checkout/862655-dropdown-box#127073 "-- url of the page with the problem -- :   digitalguarddog.com/dd&#95;dev/automobiles-t...motive/pbs-i/product  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.3.3  When a customer selects &quot;Add to cart&quot; WITHOUT selecting an option in the dropdown (Select a button), the following checkout page gives an error as per the image below.  Firstly, where do I edit what appears here as it makes zero sense.  Secondly, and vastly more importantly, although a selection from the dropdown should have been made, the item is added to the cart, but there is no way to now select an item. If the customer goes back and redoes the purchase they now have 2 of the item in their cart - one w/out the dropdown selection and one with. Is there any way to stop the process of movign to the checkout page if nothing is selected, or still show the dropdown on the checkout page?  Not being able to move forward (like a required field in an ordinary form) if a dropdown doesn't have a value should be part of the whole shop setup surely?  Thanks.")*

It's probably that you turned off the option "display add to cart button for free product" and thus the system doesn't allow you to add to the cart options without prices.

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

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

Less More

- Posts: 279
- Thank you received: 1
-
-

13 years 1 month ago [\#127188](#127188) by [trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")  Replied by *[trogladyte](/forum/user/2197-trogladyte "View trogladyte's Profile")* on topic *[Dropdown box](/forum/27-checkout/862655-dropdown-box#127188 "-- url of the page with the problem -- :   digitalguarddog.com/dd&#95;dev/automobiles-t...motive/pbs-i/product  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.3.3  When a customer selects &quot;Add to cart&quot; WITHOUT selecting an option in the dropdown (Select a button), the following checkout page gives an error as per the image below.  Firstly, where do I edit what appears here as it makes zero sense.  Secondly, and vastly more importantly, although a selection from the dropdown should have been made, the item is added to the cart, but there is no way to now select an item. If the customer goes back and redoes the purchase they now have 2 of the item in their cart - one w/out the dropdown selection and one with. Is there any way to stop the process of movign to the checkout page if nothing is selected, or still show the dropdown on the checkout page?  Not being able to move forward (like a required field in an ordinary form) if a dropdown doesn't have a value should be part of the whole shop setup surely?  Thanks.")*

Ahhh good - turning that on stopped the message. However, is there any way to make that field required so a person MUST select an item from that dropdown (just like an ordinary form does with a required field)? This would seem to be an extremely helpful feature in any situation like this.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#127357](#127357) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Dropdown box](/forum/27-checkout/862655-dropdown-box#127357 "-- url of the page with the problem -- :   digitalguarddog.com/dd&#95;dev/automobiles-t...motive/pbs-i/product  -- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.3.3  When a customer selects &quot;Add to cart&quot; WITHOUT selecting an option in the dropdown (Select a button), the following checkout page gives an error as per the image below.  Firstly, where do I edit what appears here as it makes zero sense.  Secondly, and vastly more importantly, although a selection from the dropdown should have been made, the item is added to the cart, but there is no way to now select an item. If the customer goes back and redoes the purchase they now have 2 of the item in their cart - one w/out the dropdown selection and one with. Is there any way to stop the process of movign to the checkout page if nothing is selected, or still show the dropdown on the checkout page?  Not being able to move forward (like a required field in an ordinary form) if a dropdown doesn't have a value should be part of the whole shop setup surely?  Thanks.")*

Hi,

It is a product option. It means that it is an extra product added in the cart and attached to the current product.
It is not possible to render this field required and like that, I don't know how we can do it in the HikaShop core.
By removing the "---select---" you will avoid the problem but I think that it is not a good solution for you.

The only thing I see is to modify the product page in order to add some javascript when the "add to cart" button is pressed and refuse it if no button is selected in the dropdown.
It is some custom development which can be integrated directly in the product view (so no hack, no possibility to loose the customization with updates).

Hope this idea of solution will help you.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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