Hide Cross sell product in Shopping cart Magento 2.

Cross-sell products will be displayed on the Shopping cart page. If you want to disable cross sell items from the shopping cart page, You need to disable setting from the Configuration.

Out of the Box, Cross-sell products will be displayed on cart page though you can disable if you want, from the admin panel. Continue reading “Hide Cross sell product in Shopping cart Magento 2.”

How to check redirect to cart enable programmatically Magento 2?

After adding product to cart, you can directly Redirect to the Cart page, Using OOB Magento 2 settings.

Manually Settings:

If you have enabled this feature from the Stores -> Configuration -> Sales -> Checkout -> Shopping Cart -> After Adding a Product Redirect to Shopping Cart, It will redirect to cart after adding product.

By Default Setting is Disabled(No), Once you add a product from the Category or Product page, It will stay on the same page without redirect to the cart page. Continue reading “How to check redirect to cart enable programmatically Magento 2?”

How to update cart total summary section using js Magento 2?

You can reload or update cart total summary sidebar section in Magento by using Magento_Checkout/js/action/get-totals file.

A get-totals.js file used to reload a cart summary block on the cart page. Continue reading “How to update cart total summary section using js Magento 2?”