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

#   How to have both minicart and regular cart module

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

13 years 10 months ago [\#83292](#83292) by [chola](/forum/user/538-chola "View chola's Profile")  *[How to have both minicart and regular cart module](/forum/4-how-to/77010-how-to-have-both-minicart-and-regular-cart-module#83292 "Hi, I need to display minicart on mobile and regular cart on desktop browsers.I could able to achieve that with bootstrap's css class but Hikashop is not supporting this scenario.If two cart modules are enabled, then hikashop's add to cart is not working correctly even there is only one cart module displayed on the page.  Can you please advice a workaround?  Regards Chola")* was created by *[chola](/forum/user/538-chola "View chola's Profile")*

Hi,
I need to display minicart on mobile and regular cart on desktop browsers.I could able to achieve that with bootstrap's css class but Hikashop is not supporting this scenario.If two cart modules are enabled, then hikashop's add to cart is not working correctly even there is only one cart module displayed on the page.

Can you please advice a workaround?

Regards
Chola

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3MDEwLWhvdy10by1oYXZlLWJvdGgtbWluaWNhcnQtYW5kLXJlZ3VsYXItY2FydC1tb2R1bGU/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

13 years 10 months ago [\#83632](#83632) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to have both minicart and regular cart module](/forum/4-how-to/77010-how-to-have-both-minicart-and-regular-cart-module#83632 "Hi, I need to display minicart on mobile and regular cart on desktop browsers.I could able to achieve that with bootstrap's css class but Hikashop is not supporting this scenario.If two cart modules are enabled, then hikashop's add to cart is not working correctly even there is only one cart module displayed on the page.  Can you please advice a workaround?  Regards Chola")*

Hi,

You can have both on the same page I think but in that case, you need to turn off the "Use AJAX when possible for add to cart buttons" option of the configuration. Otherwise, only one of the two carts will be updated when you add a product to the cart.
It's not possible for now to have both on the same page and that option turned on.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

13 years 10 months ago [\#83758](#83758) by [chola](/forum/user/538-chola "View chola's Profile")  Replied by *[chola](/forum/user/538-chola "View chola's Profile")* on topic *[How to have both minicart and regular cart module](/forum/4-how-to/77010-how-to-have-both-minicart-and-regular-cart-module#83758 "Hi, I need to display minicart on mobile and regular cart on desktop browsers.I could able to achieve that with bootstrap's css class but Hikashop is not supporting this scenario.If two cart modules are enabled, then hikashop's add to cart is not working correctly even there is only one cart module displayed on the page.  Can you please advice a workaround?  Regards Chola")*

Hi,
Thanks for the reply..There is only one cart displayed at any point of time, but still it is not working with Ajax turned on..

Can I customize the ajax calls to look for a specific item id to add the item to the cart?

Regards
Chola

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 10 months ago [\#84323](#84323) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to have both minicart and regular cart module](/forum/4-how-to/77010-how-to-have-both-minicart-and-regular-cart-module#84323 "Hi, I need to display minicart on mobile and regular cart on desktop browsers.I could able to achieve that with bootstrap's css class but Hikashop is not supporting this scenario.If two cart modules are enabled, then hikashop's add to cart is not working correctly even there is only one cart module displayed on the page.  Can you please advice a workaround?  Regards Chola")*

Hi,

Are the both carts displayed at the same place ?
Because, if it's the case you can maybe edit the view "product / cart" in HikaShop &gt; Display &gt; Views. And check if it's a desktop browser you let the full cart, else you change the condition to display the mini cart.

The ajax must be turned off.

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

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