- Posts: 7
- Thank you received: 0
How to have both minicart and regular cart module
13 years 10 months ago #83292
by chola
How to have both minicart and regular cart module was created by chola
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
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 or Create an account to join the conversation.
13 years 10 months ago #83632
by nicolas
Replied by nicolas on topic How to have both minicart and regular cart module
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.
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 or Create an account to join the conversation.
13 years 10 months ago #83758
by chola
Replied by chola on topic How to have both minicart and regular cart module
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
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 or Create an account to join the conversation.
13 years 10 months ago #84323
by Xavier
Replied by Xavier on topic How to have both minicart and regular cart module
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 > Display > 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.
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 > Display > 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 or Create an account to join the conversation.
Time to create page: 0.044 seconds