Use named cart fragment refresh callback.
This commit is contained in:
parent
61e6f708d5
commit
55dae383af
|
@ -114,11 +114,11 @@ jQuery( function( $ ) {
|
|||
}
|
||||
|
||||
} catch( err ) {
|
||||
$.ajax( $fragment_refresh );
|
||||
refresh_cart_fragment();
|
||||
}
|
||||
|
||||
} else {
|
||||
$.ajax( $fragment_refresh );
|
||||
refresh_cart_fragment();
|
||||
}
|
||||
|
||||
/* Cart Hiding */
|
||||
|
|
Loading…
Reference in New Issue