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

#   Hicashop cart module quantity counter wouldn't update automatically in mobile

##

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

Less More

- Posts: 47
- Thank you received: 3
-
-

2 years 3 months ago [\#362196](#362196) by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")  *[Hicashop cart module quantity counter wouldn't update automatically in mobile](/forum/31-development/908412-hicashop-cart-module-quantity-counter-wouldnt-update-automatically-in-mobile#362196 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, In the mobile view &quot;HikaShop Cart Module&quot; wouldn't update the number(The number that quantity of products in the cart) automatically when adding the product to the cart or removing it, what should I do to fix this? Thanks in advance")* was created by *[diacotm](/forum/user/52238-diacotm "View diacotm's Profile")*

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 5.1.2
-- PHP version -- : 8.1.13
-- Browser(s) name and version -- : firefox

Hi,
In the mobile view "HikaShop Cart Module" wouldn't update the number(The number that quantity of products in the cart) automatically when adding the product to the cart or removing it, what should I do to fix this?
Thanks in advance

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

2 years 3 months ago [\#362200](#362200) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hicashop cart module quantity counter wouldn't update automatically in mobile](/forum/31-development/908412-hicashop-cart-module-quantity-counter-wouldnt-update-automatically-in-mobile#362200 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, In the mobile view &quot;HikaShop Cart Module&quot; wouldn't update the number(The number that quantity of products in the cart) automatically when adding the product to the cart or removing it, what should I do to fix this? Thanks in advance")*

Hi,

This is typical of when the cart module is displayed twice on the pages. Once for the desktop and once for the mobile.
Since both display use the same module id, the javascript refreshing the cart module only see one of the two modules and thus it works on desktop and not on mobile, or vice versa based on the order of display in the HTML of the page.
The solution is to not display the same cart module instance in both places. Configure two cart module instances in the Joomla modules manager, one for mobile devices and one for desktops. You might need to check with your template provider what they recommend.

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

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

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

Less More

- Posts: 47
- Thank you received: 3
-
-

2 years 3 months ago [\#362210](#362210) by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")  Replied by *[diacotm](/forum/user/52238-diacotm "View diacotm's Profile")* on topic *[Hicashop cart module quantity counter wouldn't update automatically in mobile](/forum/31-development/908412-hicashop-cart-module-quantity-counter-wouldnt-update-automatically-in-mobile#362210 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, In the mobile view &quot;HikaShop Cart Module&quot; wouldn't update the number(The number that quantity of products in the cart) automatically when adding the product to the cart or removing it, what should I do to fix this? Thanks in advance")*

Perfect!
Thanks tons of time!

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