Go straight to checkout instead of cart on Vision theme

Go straight to checkout instead of cart on Vision theme

code-ed
Visitor
3 0 1

As title says, looking to direct customers directly to cart instead of the slider cart or cart page. I've looked online and on the community but no one seems to have any help for the Vision theme particularly - would love some help on this if possible 🙂 


website is creagums.com


any help is appreciated, thanks so much!

Reply 1 (1)

Odunola
Shopify Partner
16 2 4

To send clients directly to the cart when using the Vision theme:

  1. Modify the code: Open the theme.js or cart.js file by going to Online Store > Themes > Edit Code.
  2. Adjust Put in Cart: To redirect to the cart, locate the "Add to Cart" function and add this line.
    window.location.href = '/cart';
  3. Save and Test: After adding a product, clients will be directed straight to the cart page if you save the changes.

If my suggestion works for you, please give it a Like or mark it as a Solution
Feel free to reach out to me
Email : adeniyiblessing888@gmail.com
WhatsApp [wa.me/+2347047775840]