Any of you Javascript geniuses out there find a way to do this: Allow a shopper to add an item to the cart, but instead of the usual followup action that sends them to quickcart, view cart, or checkout, your store redirects them instead to another product or category page?
I tried hacking the hard code on listing_0 page, changing the ProductAddtoCart button javascript handler to execute two events (1.adding item to cart and 2.redirecting to a category page). THis isn't working on Firefox or Chrome. Here's my code, if anyone's interested in giving my pointers on a better way to get it done.
<input type="button" onClick="check_and_add(document.add); window.location='Plans_c_7.html';" name="Add" ID="Add" value="[product_addtocart]" class="btn" onMouseOver="this.className='btn_over'" onMouseOut="this.className='btn'"/>
I tried hacking the hard code on listing_0 page, changing the ProductAddtoCart button javascript handler to execute two events (1.adding item to cart and 2.redirecting to a category page). THis isn't working on Firefox or Chrome. Here's my code, if anyone's interested in giving my pointers on a better way to get it done.
<input type="button" onClick="check_and_add(document.add); window.location='Plans_c_7.html';" name="Add" ID="Add" value="[product_addtocart]" class="btn" onMouseOver="this.className='btn_over'" onMouseOut="this.className='btn'"/>
Comment