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

#   The selected characteristic is not added to the cart

##

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

Less More

- Posts: 15
- Thank you received: 1
-
-

5 years 7 months ago [\#331633](#331633) by [48media](/forum/user/32301-48media "View 48media's Profile")  *[The selected characteristic is not added to the cart](/forum/25-install-update/902355-the-selected-characteristic-is-not-added-to-the-cart#331633 "-- url of the page with the problem -- :   wanat.48media.waw.pl/kolekcje/art-vision...witryna-2s,-3sz.html  -- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.21 -- PHP version -- : 7,2 -- Browser(s) name and version -- : ff  The selected characteristic is not added to the cart. You can test it on the attached link. No matter what color we choose in the basket, there is a different version (you can see the product code). Now I don't know how to solve it, views have been modified.")* was created by *[48media](/forum/user/32301-48media "View 48media's Profile")*

-- url of the page with the problem -- : [ wanat.48media.waw.pl/kolekcje/art-vision...witryna-2s,-3sz.html](http://wanat.48media.waw.pl/kolekcje/art-vision/product/art-vision-9018-witryna-2s,-3sz.html)
-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.21
-- PHP version -- : 7,2
-- Browser(s) name and version -- : ff

The selected characteristic is not added to the cart. You can test it on the attached link. No matter what color we choose in the basket, there is a different version (you can see the product code).
Now I don't know how to solve it, views have been modified.

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

5 years 7 months ago [\#331637](#331637) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The selected characteristic is not added to the cart](/forum/25-install-update/902355-the-selected-characteristic-is-not-added-to-the-cart#331637 "-- url of the page with the problem -- :   wanat.48media.waw.pl/kolekcje/art-vision...witryna-2s,-3sz.html  -- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.21 -- PHP version -- : 7,2 -- Browser(s) name and version -- : ff  The selected characteristic is not added to the cart. You can test it on the attached link. No matter what color we choose in the basket, there is a different version (you can see the product code). Now I don't know how to solve it, views have been modified.")*

Hi,

This is a common issue when the product page views are modified incorrectly.
If you look at the HTML on that URL, you can see that the variant data DIVs that are hidden (display:none is applied on them) are inside the form of the product page:
[ i.imgur.com/C7Sr9aT.png](https://i.imgur.com/C7Sr9aT.png)
Normally, these are outside of the form.
The problem is that in these DIVs, you have the "quantity" ones which contains the add to cart button for each variant so that the system can swap the add to cart button when you select another variant. But since you have all of them inside the product page form, it's always the last one which is added to the cart as the server only sees the last one's information being sent when you click on the add to cart button.
Usually, the cause of this is that you are missing some &lt;/div&gt; tags somewhere. So you can try adding one or two at the end of the show_default ( or show_tabular, or the view file you're using for the product page layout ) and it might be enough to fix the problem.
Otherwise, you can delete the override and reapply the modifications making sure you don't break the HTML structure of the elements but it's a lot more work.

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

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

Less More

- Posts: 15
- Thank you received: 1
-
-

5 years 7 months ago [\#331694](#331694) by [48media](/forum/user/32301-48media "View 48media's Profile")  Replied by *[48media](/forum/user/32301-48media "View 48media's Profile")* on topic *[The selected characteristic is not added to the cart](/forum/25-install-update/902355-the-selected-characteristic-is-not-added-to-the-cart#331694 "-- url of the page with the problem -- :   wanat.48media.waw.pl/kolekcje/art-vision...witryna-2s,-3sz.html  -- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.21 -- PHP version -- : 7,2 -- Browser(s) name and version -- : ff  The selected characteristic is not added to the cart. You can test it on the attached link. No matter what color we choose in the basket, there is a different version (you can see the product code). Now I don't know how to solve it, views have been modified.")*

OKAY. This is my code syntax error. This thread can be deleted.

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

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

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