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

#   Product variants, prices wrong since update to 4.4.4

##

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

Less More

- Posts: 4
- Thank you received: 1
-
-

5 years 1 week ago [\#336725](#336725) by [Lovely Shawls](/forum/user/60850-lovely-shawls "View Lovely Shawls's Profile")  *[Product variants, prices wrong since update to 4.4.4](/forum/26-product-category-display/903402-product-variants-prices-wrong-since-update-to-4-4-4#336725 "-- url of the page with the problem -- :   lovelyshawls.nl/cadeaubon  -- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Chrome  Since the update to 4.4.4, the product variants of the giftcard do not function normally. The prices are wrong, e.g. if you select a card of € 100, the shopping bag add € 250. Also, the order of the variants is wrong and I cannot seem to change it.")* was created by *[Lovely Shawls](/forum/user/60850-lovely-shawls "View Lovely Shawls's Profile")*

-- url of the page with the problem -- : [ lovelyshawls.nl/cadeaubon](https://lovelyshawls.nl/cadeaubon)
-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.4.25
-- Browser(s) name and version -- : Chrome

Since the update to 4.4.4, the product variants of the giftcard do not function normally. The prices are wrong, e.g. if you select a card of € 100, the shopping bag add € 250.
Also, the order of the variants is wrong and I cannot seem to change it.

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

5 years 1 week ago [\#336728](#336728) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product variants, prices wrong since update to 4.4.4](/forum/26-product-category-display/903402-product-variants-prices-wrong-since-update-to-4-4-4#336728 "-- url of the page with the problem -- :   lovelyshawls.nl/cadeaubon  -- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Chrome  Since the update to 4.4.4, the product variants of the giftcard do not function normally. The prices are wrong, e.g. if you select a card of € 100, the shopping bag add € 250. Also, the order of the variants is wrong and I cannot seem to change it.")*

Hi,

It's not a problem with the update itself. The problem comes from customization of the product layout on your website. This causes the hidden HTML of the variants to be inside of the product page form instead of being after it.
Because of that, you can see that when you click on the add to cart button, not only the id of the selected variant is sent to the server, but also the id of all the variants of the product:
[ i.imgur.com/alvVxg5.png](https://i.imgur.com/alvVxg5.png)
And in such case, the server only sees the last one,f from the hidden variants HTML.
It's likely that you're missing a &lt;/div&gt; tag somewhere near the end in the show_default.php view file which leads to the browser into thinking that the hidden HTML of the variants should be inside the form instead of outside.
To confirm this, check the folder templates/YOUR_TEMPLATE/html/com_hikashop/product via FTP.
If you rename that folder, it will deactivate all the view overrides on products and you'll see again the default layout of the product page and the selected variants will be added to the cart instead of the last one.
This will confirm that the issue comes from the customization of one of the view files in that folder.

Regarding the order of the variants, this is dictacted by the setting "Characteristics values ordering" in the HikaShop configuration as well as the "order" that you've entered for each value of the characteristic when you edit the characteristic via the menu Products&gt;Characteristics. So please check these.

The following user(s) said Thank You: [Lovely Shawls](/forum/user/60850-lovely-shawls "View Lovely Shawls's Profile")

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

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

Less More

- Posts: 4
- Thank you received: 1
-
-

5 years 1 week ago [\#336735](#336735) by [Lovely Shawls](/forum/user/60850-lovely-shawls "View Lovely Shawls's Profile")  Replied by *[Lovely Shawls](/forum/user/60850-lovely-shawls "View Lovely Shawls's Profile")* on topic *[Product variants, prices wrong since update to 4.4.4](/forum/26-product-category-display/903402-product-variants-prices-wrong-since-update-to-4-4-4#336735 "-- url of the page with the problem -- :   lovelyshawls.nl/cadeaubon  -- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Chrome  Since the update to 4.4.4, the product variants of the giftcard do not function normally. The prices are wrong, e.g. if you select a card of € 100, the shopping bag add € 250. Also, the order of the variants is wrong and I cannot seem to change it.")*

Thank you Nicolas. Since i did not develop this website myself I was not aware of any overrides. Both problems are solved!

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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