HOW TO REDIRECT THE ADD TO CART BUTTON STRAIGHT TO THE CART PAGE

New Member
1 0 0

I am using the Venture theme and I dont know how to get the add to cart buttont to redirect straight to cart page, any info I can find is outdated.

0 Likes
Astronaut
1081 146 272

Find where it occurs in your code and just add an anchor tag around it

<a href="/cart">
  <div class="add-to-cart">
    Add to Cart
  </div>
</a>

 

If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish :D
0 Likes
New Member
2 0 0

Hello, Thanks! Where should I paste this code in order to redirect them straight to the cart? On venture theme

0 Likes