I want to add a dynamic free shipping bar to Magento 2 (version 2.4) that will show users how much they have left to add to their cart to get free shipping. I found several ready-made modules, but they either conflict with my theme or do not update the cart total in real time. I tried to implement it via JavaScript, but I can’t correctly pull the current order total and update the message without reloading the page. Has anyone done this before? What is the best way to implement a dynamic free shipping bar?
top of page


Website Created by fabr with logo by Logined Guest and inspired by Requiem and Psych News. Support Friday Night Funkin' on Newgrounds and Itch.io All characters and original Friday Night Funkin' game material belong to The Funkin Crew


bottom of page
To implement a dynamic free shipping indicator in Magento 2.4 with a real-time update of the cart amount, it is better to use JavaScript and AJAX. To do this, you can set up tracking of changes in the cart via events and dynamically update the free shipping information. To avoid problems with caching and conflicts with the theme, it is recommended to create a custom module. Amasty specialists can help you with the development of magento 2 free shipping bar , which will work correctly with your theme and update data in real time without reloading the page.