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

#   URGENT – Adding more than one unit to the cart doesn’t work

##

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

Less More

- Posts: 467
- Thank you received: 21
-

7 months 3 weeks ago [\#370820](#370820) by [Reincidente](/forum/user/12307-reincidente "View Reincidente's Profile")  *[URGENT – Adding more than one unit to the cart doesn’t work](/forum/25-install-update/910187-urgent---adding-more-than-one-unit-to-the-cart-doesnt-work#370820 "Hi Nicolas,  I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.")* was created by *[Reincidente](/forum/user/12307-reincidente "View Reincidente's Profile")*

Hi Nicolas,

I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDE4Ny11cmdlbnQtLS1hZGRpbmctbW9yZS10aGFuLW9uZS11bml0LXRvLXRoZS1jYXJ0LWRvZXNudC13b3JrP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

7 months 3 weeks ago [\#370822](#370822) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[URGENT – Adding more than one unit to the cart doesn’t work](/forum/25-install-update/910187-urgent---adding-more-than-one-unit-to-the-cart-doesnt-work#370822 "Hi Nicolas,  I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.")*

Hi,

Thank you for your feedback. We've reviewed the issue and added patches on our end in product / show_block_characteristics.php product / show_quantity.php and media/com_hikashop/hikashop.js
Download again the install package on our website and install it on yours to get the patches.
If you have overrides on the two view files, you'll have to remove them. Also, clear your browser cache for the JS file before testing.

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

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

Less More

- Posts: 467
- Thank you received: 21
-

7 months 3 weeks ago [\#370823](#370823) by [Reincidente](/forum/user/12307-reincidente "View Reincidente's Profile")  Replied by *[Reincidente](/forum/user/12307-reincidente "View Reincidente's Profile")* on topic *[URGENT – Adding more than one unit to the cart doesn’t work](/forum/25-install-update/910187-urgent---adding-more-than-one-unit-to-the-cart-doesnt-work#370823 "Hi Nicolas,  I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.")*

Thanks

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

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

Less More

- Posts: 91
- Thank you received: 10
-
-

7 months 3 weeks ago -  7 months 3 weeks ago [\#370827](#370827) by [duportail](/forum/user/82788-duportail "View duportail's Profile")  Replied by *[duportail](/forum/user/82788-duportail "View duportail's Profile")* on topic *[URGENT – Adding more than one unit to the cart doesn’t work](/forum/25-install-update/910187-urgent---adding-more-than-one-unit-to-the-cart-doesnt-work#370827 "Hi Nicolas,  I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.")*

selected option prices are not added to the total price.
Options are not added to the cart.

Last edit: 7 months 3 weeks ago by [duportail](/forum/user/82788-duportail "View duportail's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDE4Ny11cmdlbnQtLS1hZGRpbmctbW9yZS10aGFuLW9uZS11bml0LXRvLXRoZS1jYXJ0LWRvZXNudC13b3JrP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

7 months 3 weeks ago [\#370829](#370829) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[URGENT – Adding more than one unit to the cart doesn’t work](/forum/25-install-update/910187-urgent---adding-more-than-one-unit-to-the-cart-doesnt-work#370829 "Hi Nicolas,  I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.")*

Hi,

We are not able to reproduce the problem on our end with options. I suspect that the issue comes from an old view override on your website.
Try renaming the whole templates/YOUR_TEMPLATE/html/com_hikashop/product/ folder via FTP in order to deactivate all the override files on the product page and try again. If it works, it means that it comes from one of the files in that folder. I would say probably the option.php file where options are managed.

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

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

Less More

- Posts: 91
- Thank you received: 10
-
-

7 months 3 weeks ago -  7 months 3 weeks ago [\#370834](#370834) by [duportail](/forum/user/82788-duportail "View duportail's Profile")  Replied by *[duportail](/forum/user/82788-duportail "View duportail's Profile")* on topic *[URGENT – Adding more than one unit to the cart doesn’t work](/forum/25-install-update/910187-urgent---adding-more-than-one-unit-to-the-cart-doesnt-work#370834 "Hi Nicolas,  I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.")*

working, but i have just show.php in this dir.
With code:
[ www.ubuntushop.biz/show.txt](https://www.ubuntushop.biz/show.txt)

i do not kwow what the override does.

find it. It was for a back link just above product title. To go back to the previous products page.
sad to loose this.

Last edit: 7 months 3 weeks ago by [duportail](/forum/user/82788-duportail "View duportail's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDE4Ny11cmdlbnQtLS1hZGRpbmctbW9yZS10aGFuLW9uZS11bml0LXRvLXRoZS1jYXJ0LWRvZXNudC13b3JrP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

7 months 3 weeks ago [\#370835](#370835) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[URGENT – Adding more than one unit to the cart doesn’t work](/forum/25-install-update/910187-urgent---adding-more-than-one-unit-to-the-cart-doesnt-work#370835 "Hi Nicolas,  I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.")*

Hi,

Thank you for sharing the file. Your override is of show.php (the main product page template) from version 5.1.1. The only customization is a back button at the very top of the page. Since the rest of the
file is unchanged from 5.1.1, the override was replacing the entire 6.4.0 template with the old version.

To restore your back link, create a new override of show.php via Display &gt; Views and add these lines at the very beginning of the file, before the existing code: Code:

&lt;a onclick="window.history.back(); return false;" href="#" &gt; &lt;span class="icon-32-back" title="&lt;?php echo JText::_('HIKA_BACK'); ?&gt;"&gt;&lt;/span&gt; &lt;?php echo JText::_('HIKA_BACK'); ?&gt; &lt;/a&gt;

This way you keep the back link while using the current 6.4.0 template code for everything else.

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

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

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

Less More

- Posts: 91
- Thank you received: 10
-
-

7 months 3 weeks ago [\#370840](#370840) by [duportail](/forum/user/82788-duportail "View duportail's Profile")  Replied by *[duportail](/forum/user/82788-duportail "View duportail's Profile")* on topic *[URGENT – Adding more than one unit to the cart doesn’t work](/forum/25-install-update/910187-urgent---adding-more-than-one-unit-to-the-cart-doesnt-work#370840 "Hi Nicolas,  I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.")*

thanks

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

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