Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to Update Mini Cart in Magento 2

  1. #1
    Junior Member
    Join Date
    Nov 2022
    Location
    CA, USA
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to Update Mini Cart in Magento 2

    With the mini cart functionality included in Magento 2, users can simply view the contents of their carts as well as other information without having to go away from the current page and load the cart page.


    Any online store's in-store experience is enhanced by the mini cart. However, whether a visitor adds or removes an item or makes any other modifications to the cart, the mini cart does not update, according to Magento developers.


    The user experience has been damaged and has to be fixed.

    For a programmatic resolution to this challenge and to update the mini cart in Magento 2, Visit: https://meetanshi.com/blog/update-mi...-in-magento-2/

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    If you have any desire to refresh Magento 2 small truck amount with ajax, then you really want to follow these means:
    Make the Amasty/Truck/and so forth/frontend/areas. xml record and characterize the regulator way.
    Make another JS record where you really want to refresh the smaller than usual truck.
    Make the Magento 2 AJAX regulator record itself.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •