Categories: Magento 2 Tutorials

How to Redirect to Shopping Cart in Magento 2

At a Magento 2 store, the visitors add products to the cart by clicking the Add to Cart button. Once they are done, they need to click the cart icon at the top of the page to go to the shopping cart page. In some cases, store owners wish to send the visitors directly to the shopping cart page when the Add to Cart button is clicked. This tutorial offers a simple solution to this requirement. Note: Sending the visitor to the shopping cart page in response to the click on the Add to Cart button is not a recommended Magento design practice. Only use it if the circumstances of the store demand this action. Open the store’s Admin Panel and navigate to STORES → Configuration: Next, click Checkout under the Sales tab: Go to the Shopping Cart section and select Yes for the After Adding a Product Redirect to Shopping Cart option: Finally, click the Save Config at the top of the configuration page

Testing the Process

To test the functionality, go to any product page and click the Add to Cart button. You will be redirected to the Shopping Cart:

Wrapping Up

I hope that you could now redirect the users to the shopping cart page after they click the Add to Cart button. Remember that it is not a recommended design practice. If you still have any confusion related to this tutorial, just leave a comment below!  
Syed Muneeb Ul Hasan

Syed Muneeb Ul Hasan is an expert in PHP and Magento, he prefers to educate users in implementing and learning Magento. When not working, he loves to watch cricket.

Share
Published by
Syed Muneeb Ul Hasan

Recent Posts

How to Improve Customer Experience Using a CRM System?

Your greatest possible competitive advantage can be your clients and the interactions they have with… Read More

8 months ago

Which KPIs Matter Most in Digital Marketing Analytics?

Digital marketing KPIs are measurable values that marketing teams use to track progress toward desired… Read More

8 months ago

Top 5 Fraud Prevention and Detection Software to Safeguard Your Business

In today's digital age, fraud poses a significant threat to businesses of all sizes. As… Read More

11 months ago

A Guide to Understanding the Major Types of Financial Crimes in 2024

Financial crimes continue to evolve and proliferate in our increasingly digital, global economy. From complex… Read More

11 months ago

Building Employee Trust and Dedication – A Complete Guide

In the highly competitive modern workplace, trust, and employee loyalty are crucial factors for long-term… Read More

1 year ago

12 Winning Strategies for Small Businesses Marketing

In the ever-evolving world of small business developing and implementing effective marketing strategies is critical to… Read More

1 year ago