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

#   Always the same variant in basket no matter what characteristic is selected

##

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

Less More

- Posts: 34
- Thank you received: 1
-
-
-

7 years 8 months ago [\#305016](#305016) by [sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")  *[Always the same variant in basket no matter what characteristic is selected](/forum/27-checkout/897169-always-the-same-variant-in-basket-no-matter-what-characteristic-is-selected#305016 "Hi there,  In my webshop with courses as products I defined a characteristic with the options &quot;dag&quot; and &quot;avond&quot; ( day and evening). After adding two variants in the product, the selection of &quot;dag&quot; or &quot;avond&quot; is possible in the front-end as expected, but when I go to the shopping-basket, always the same variant is selected: &quot;avond&quot;.  Thanks for your help, Peter")* was created by *[sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")*

Hi there,

In my webshop with courses as products I defined a characteristic with the options "dag" and "avond" ( day and evening).
After adding two variants in the product, the selection of "dag" or "avond" is possible in the front-end as expected, but when I go to the shopping-basket, always the same variant is selected: "avond".

Thanks for your help,
Peter

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

7 years 8 months ago [\#305017](#305017) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Always the same variant in basket no matter what characteristic is selected](/forum/27-checkout/897169-always-the-same-variant-in-basket-no-matter-what-characteristic-is-selected#305017 "Hi there,  In my webshop with courses as products I defined a characteristic with the options &quot;dag&quot; and &quot;avond&quot; ( day and evening). After adding two variants in the product, the selection of &quot;dag&quot; or &quot;avond&quot; is possible in the front-end as expected, but when I go to the shopping-basket, always the same variant is selected: &quot;avond&quot;.  Thanks for your help, Peter")*

Hi,

This probably means that you have some view customization on your website which breaks the HTML of the page.
Switch temporarily to the default template of Joomla and try again. It should work properly which would confirm that.
In that case, you would have to check with the person who made the customization of the product page on your end, or your template provider support (meaning that the customization was included in the template).
If you still have the issue even with the protostar template, then please provide a link to the product page with the issue so that we can analyze the situation.

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

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

Less More

- Posts: 34
- Thank you received: 1
-
-
-

7 years 8 months ago -  7 years 8 months ago [\#305266](#305266) by [sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")  Replied by *[sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")* on topic *[Always the same variant in basket no matter what characteristic is selected](/forum/27-checkout/897169-always-the-same-variant-in-basket-no-matter-what-characteristic-is-selected#305266 "Hi there,  In my webshop with courses as products I defined a characteristic with the options &quot;dag&quot; and &quot;avond&quot; ( day and evening). After adding two variants in the product, the selection of &quot;dag&quot; or &quot;avond&quot; is possible in the front-end as expected, but when I go to the shopping-basket, always the same variant is selected: &quot;avond&quot;.  Thanks for your help, Peter")*

Hi,

Thanks for the reply. I did like you suggested, but there are no view customizations and the problem also occurs when I use the Prostar template.
The problem occurs to all products, like [ go2lean.nl/opleidingen/product/33-hbo-adviesvaardigheden](https://go2lean.nl/opleidingen/product/33-hbo-adviesvaardigheden)

I created a superuser account for you on [ www.go2lean.nl](http://www.go2lean.nl) so that you hopefully find what the problem is.

There are no javascript-errors. At this moment I do not have any payment-methods installed. Can that be the problem?

Thanks,
peter

Last edit: 7 years 8 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

7 years 8 months ago [\#305267](#305267) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Always the same variant in basket no matter what characteristic is selected](/forum/27-checkout/897169-always-the-same-variant-in-basket-no-matter-what-characteristic-is-selected#305267 "Hi there,  In my webshop with courses as products I defined a characteristic with the options &quot;dag&quot; and &quot;avond&quot; ( day and evening). After adding two variants in the product, the selection of &quot;dag&quot; or &quot;avond&quot; is possible in the front-end as expected, but when I go to the shopping-basket, always the same variant is selected: &quot;avond&quot;.  Thanks for your help, Peter")*

Hi,

I'm not able to access your website with the access you provided. I get that error when I try:
[ monosnap.com/file/DDkKhuBfS8SvkdOAlx8rm3ilfGcp6E](https://monosnap.com/file/DDkKhuBfS8SvkdOAlx8rm3ilfGcp6E)
Could you please double check it ?

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

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

Less More

- Posts: 34
- Thank you received: 1
-
-
-

7 years 7 months ago [\#305384](#305384) by [sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")  Replied by *[sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")* on topic *[Always the same variant in basket no matter what characteristic is selected](/forum/27-checkout/897169-always-the-same-variant-in-basket-no-matter-what-characteristic-is-selected#305384 "Hi there,  In my webshop with courses as products I defined a characteristic with the options &quot;dag&quot; and &quot;avond&quot; ( day and evening). After adding two variants in the product, the selection of &quot;dag&quot; or &quot;avond&quot; is possible in the front-end as expected, but when I go to the shopping-basket, always the same variant is selected: &quot;avond&quot;.  Thanks for your help, Peter")*

I checked it with cut-and-past from the text below. Can not find the previous login I send you, so it might have been a typo of me.
Please let me know if you still have problems loging in.

This message contains confidential information

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

7 years 7 months ago [\#305387](#305387) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Always the same variant in basket no matter what characteristic is selected](/forum/27-checkout/897169-always-the-same-variant-in-basket-no-matter-what-characteristic-is-selected#305387 "Hi there,  In my webshop with courses as products I defined a characteristic with the options &quot;dag&quot; and &quot;avond&quot; ( day and evening). After adding two variants in the product, the selection of &quot;dag&quot; or &quot;avond&quot; is possible in the front-end as expected, but when I go to the shopping-basket, always the same variant is selected: &quot;avond&quot;.  Thanks for your help, Peter")*

Hi,

You're right it doesn't come from a view override, which is actually the cause is such case in 99% of the time.
However, the issue is still the same kind. As you can see, the variant data is inside of the form of the product page while it should be outside:
[ monosnap.com/file/fOJbWjY7VKgnYd78TARxVDQH3BtowU](https://monosnap.com/file/fOJbWjY7VKgnYd78TARxVDQH3BtowU)
So it means that there is something which has invalid HTML tags which breaks the HTML on the page.
Looking at the way you build your product page, I can see that you have a lot of custom stuff actually added through custom fields of the table "product". If I disable them via the menu Display&gt;Custom fields, then the HTML on the page is correct and the add to cart button works properly:
[ monosnap.com/file/AfH6C9AqtlUcFD0hZWKEDJs2FOSkMt](https://monosnap.com/file/AfH6C9AqtlUcFD0hZWKEDJs2FOSkMt)
So I looks like the issue comes from the HTML in these custom product fields or the HTML generated by the tags used in these custom fields.

The following user(s) said Thank You: [sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")

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

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

Less More

- Posts: 34
- Thank you received: 1
-
-
-

7 years 7 months ago [\#305527](#305527) by [sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")  Replied by *[sandvalley2019](/forum/user/58125-sandvalley2019 "View sandvalley2019's Profile")* on topic *[Always the same variant in basket no matter what characteristic is selected](/forum/27-checkout/897169-always-the-same-variant-in-basket-no-matter-what-characteristic-is-selected#305527 "Hi there,  In my webshop with courses as products I defined a characteristic with the options &quot;dag&quot; and &quot;avond&quot; ( day and evening). After adding two variants in the product, the selection of &quot;dag&quot; or &quot;avond&quot; is possible in the front-end as expected, but when I go to the shopping-basket, always the same variant is selected: &quot;avond&quot;.  Thanks for your help, Peter")*

Hi Nicolas,

Thanks to your reply I could track down the problem. In one of the custom fields there is a form, and nested forms are not allowed.
I will search for a solution for this (maybe a modal-box).

Regards,
Peter

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

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