Jump to content

 

webmonk-diverge

Member Since 26 Nov 2013
Offline Last Active Dec 10 2018 04:14 PM
-----

Topics I've Started

Link To Add Item To Cart And Then Go To The Cart

20 November 2018 - 04:34 PM

I have a link that I am using to add a specific item to the cart.  I am trying to accomplish the following:

 

1) Add the item to the cart

2) Don't show the popup about going to the cart or checkout

3) Take the user to the cart page

 

Here is my HTML.  The item gets added to the cart, the cart summary gets updated to reflect the added item but I cannot seem to figure out how to bypass the popup and most importantly, get the user cart page automatically.

 

<a href="{"checkout.add..117"|fn_url}"  data-ca-target-id="cart_status_6040" class="ty-btn ty-btn__primary ty-btn__big ty-btn__add-to-cart text-button cm-post cm-ajax cm-ajax-full-render cm-reload" id="order-button">ORDER</a>

 

Any guidance would be greatly appreciated!