1 Reply Latest reply: Nov 10, 2014 11:18 AM by eric_413 RSS

    Remove product from cart AND go to catalog with 1 button

    eric_413 Community Member

      How can I modify the remove item from cart button to also go to a catalog when the item is removed on click?

       

      Here's the button:

      <a href="/all-ttha-gear" onclick="UpdateItemQuantity(0,324401,282161,9383705,337215,'','US');return false;">Continue Shopping</a>

       

      I used javascript to change the text to "Continue Shopping" and changed the href value from "#" to "/all-ttha-gear".

       

      This link is being displayed in a modal when a user drops the shopping cart total below $40. I want them to click continue shopping and have it remove the bonus item from the cart.

       

      As the a tag is displayed above, it removes the correct product but stays on the same page.

       

      Any thoughts?

       

      Here's a link to the test site.