Let’s refresh the shipping method using JS. We have restored the total section in https://sbdevblog.com/magento-2-how-to-update-the-total-using-js/ Very often, we need to update the shipping method in the cart and checkout page using JS. For example, on applying a custom discount or […]
Month: March 2023
2 min read
Magento 2: How to update the total using JS
How to update the total using JS Let’s check how we can achieve this in Magento 2. We have updated Mini Cart using sections.xml and JS in the post: https://sbdevblog.com/magento-2-how-to-update-mini-cart/ Like the mini-cart, sometimes we […]
3 min read
Magento 2: How to Update Mini Cart?
Mini Cart displays a selection of the items added to the cart, as well as the subtotal and update and remove item options. Users can see these details without refreshing the page. If we look […]
2 min read
Magento 2: How to Invalidate and Flush Custom Cache Type?
Let’s see how we can Invalidate and Flush Custom Cache? We have created a custom cache type https://sbdevblog.com/magento-2-how-to-create-custom-cache/ as well as we have saved and retrieved data from the cache https://sbdevblog.com/magento-2-store-retrieve-from-the-custom-cache/ Invalidate and Flush Custom […]