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

#   Variant is displaying the wrong price in the checkout

##

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

Less More

- Posts: 24
- Thank you received: 1
-
-

8 years 4 months ago [\#293647](#293647) by [pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")  *[Variant is displaying the wrong price in the checkout](/forum/25-install-update/894918-variant-is-displaying-the-wrong-price-in-the-checkout#293647 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.4 -- PHP version -- : 7.0.1 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : No matter which variant is picked, the same price comes out (the last variant)  Having an issue with this one product only. I've tried deleting and recreating the characteristic and variants. Every time the variant is added to the cart, it uses the price from the last variant in the list.  I can give you a test user login to see, or check out the pictures if that works.  Thank you!")* was created by *[pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.4
-- PHP version -- : 7.0.1
-- Browser(s) name and version -- : Chrome latest
-- Error-message(debug-mod must be tuned on) -- : No matter which variant is picked, the same price comes out (the last variant)

Having an issue with this one product only. I've tried deleting and recreating the characteristic and variants.
Every time the variant is added to the cart, it uses the price from the last variant in the list.

I can give you a test user login to see, or check out the pictures if that works.

Thank you!

- [ ![addded.wrong.item.tocart.PNG](/forum/attachment/43863) ](/forum/attachment/43863 "...tem.tocart.PNG") [ ](/forum/attachment/43863?download=1 "...tem.tocart.PNG")
- [ ![enrolled.PNG](/forum/attachment/43864) ](/forum/attachment/43864 "enrolled.PNG") [ ](/forum/attachment/43864?download=1 "enrolled.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDkxOC12YXJpYW50LWlzLWRpc3BsYXlpbmctdGhlLXdyb25nLXByaWNlLWluLXRoZS1jaGVja291dD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

8 years 4 months ago [\#293659](#293659) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variant is displaying the wrong price in the checkout](/forum/25-install-update/894918-variant-is-displaying-the-wrong-price-in-the-checkout#293659 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.4 -- PHP version -- : 7.0.1 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : No matter which variant is picked, the same price comes out (the last variant)  Having an issue with this one product only. I've tried deleting and recreating the characteristic and variants. Every time the variant is added to the cart, it uses the price from the last variant in the list.  I can give you a test user login to see, or check out the pictures if that works.  Thank you!")*

Hi,

I don't see the characteristic on your link so I can't reproduce the problem and analyze it:
[ monosnap.com/file/ek8VMeS1usGOBrqDGZ3K4KQXvDqima](https://monosnap.com/file/ek8VMeS1usGOBrqDGZ3K4KQXvDqima)
However, usually, this is because of the way the product page layout was customized which creates a problem with the HTML when you select a variant. Because of that, you get always the same variant added to the cart.
You can confirm that by renaming the folder templates/YOUR_TEMPLATE/html/com_hikashop/product via FTP. That will disable all the customization of the product page and it should then work properly, confirming that the issue comes from the customization that was done in one of the files of that folder.

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

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

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

Less More

- Posts: 24
- Thank you received: 1
-
-

8 years 4 months ago -  8 years 4 months ago [\#293705](#293705) by [pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")  Replied by *[pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")* on topic *[Variant is displaying the wrong price in the checkout](/forum/25-install-update/894918-variant-is-displaying-the-wrong-price-in-the-checkout#293705 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.4 -- PHP version -- : 7.0.1 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : No matter which variant is picked, the same price comes out (the last variant)  Having an issue with this one product only. I've tried deleting and recreating the characteristic and variants. Every time the variant is added to the cart, it uses the price from the last variant in the list.  I can give you a test user login to see, or check out the pictures if that works.  Thank you!")*

Thanks for the quick response.

That makes sense...
I recently edited the product/shop.php and product/show_default.php template.

Last edit: 8 years 4 months ago by [pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile").

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

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

Less More

- Posts: 24
- Thank you received: 1
-
-

8 years 4 months ago [\#293706](#293706) by [pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")  Replied by *[pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")* on topic *[Variant is displaying the wrong price in the checkout](/forum/25-install-update/894918-variant-is-displaying-the-wrong-price-in-the-checkout#293706 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.4 -- PHP version -- : 7.0.1 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : No matter which variant is picked, the same price comes out (the last variant)  Having an issue with this one product only. I've tried deleting and recreating the characteristic and variants. Every time the variant is added to the cart, it uses the price from the last variant in the list.  I can give you a test user login to see, or check out the pictures if that works.  Thank you!")*

Here is the other thing that is happening at the checkout and removing the customized templates didn't fix:

Whenever I remove a product, it logs me in (see screenshots). Not sure if the issues are related, but I have not been having an issue with the variants on other products, such as this one: [ Product with variants](https://pacificcenterforlifelonglearning.com/joomdle/courses/product/marketing-for-acupuncturists-and-massage-therapists)

- [ ![chrome&#95;2018-06-06&#95;12-07-26.png](/forum/attachment/43874) ](/forum/attachment/43874 "...6&#95;12-07-26.png") [ ](/forum/attachment/43874?download=1 "...6&#95;12-07-26.png")
- [ ![chrome&#95;2018-06-06&#95;12-08-41.png](/forum/attachment/43875) ](/forum/attachment/43875 "...6&#95;12-08-41.png") [ ](/forum/attachment/43875?download=1 "...6&#95;12-08-41.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDkxOC12YXJpYW50LWlzLWRpc3BsYXlpbmctdGhlLXdyb25nLXByaWNlLWluLXRoZS1jaGVja291dD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

8 years 4 months ago [\#293714](#293714) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variant is displaying the wrong price in the checkout](/forum/25-install-update/894918-variant-is-displaying-the-wrong-price-in-the-checkout#293714 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.4 -- PHP version -- : 7.0.1 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : No matter which variant is picked, the same price comes out (the last variant)  Having an issue with this one product only. I've tried deleting and recreating the characteristic and variants. Every time the variant is added to the cart, it uses the price from the last variant in the list.  I can give you a test user login to see, or check out the pictures if that works.  Thank you!")*

Hi,

That's because you're using the old checkout system of HikaShop 2 which submits the whole page when you do an action, so if the login form is auto filled by your browser and you do an action, the login process will be triggered.
I would recommend turning off the "checkout legacy" setting of the HikaShop configuration in order to use the new checkout system of HikaShop 3. That will avoid such issues and the checkout should work much better.

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

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

[](#top)
