Bring Your Business to Life › Support › Image Store › Redirect after cart › Reply To: Redirect after cart
January 21, 2014 at 9:08 pm #56809
Keymaster
The form is submitted using ajax, the code above does redirect on the ajax call but not the user page.
What you wan to do is bind a javascript function to the submit botton
$( 'body' ).delegate( 'input[name="ims-add-to-cart"]', 'click', function( e ){
$(document).bind( "ajaxComplete", function(){
window.location = "http://www.google.com/"
})
}