Only show most recent cart removal notice
This commit is contained in:
parent
7046b480a0
commit
342b051731
|
@ -532,7 +532,9 @@ jQuery( function( $ ) {
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
url: $a.attr( 'href' ),
|
url: $a.attr( 'href' ),
|
||||||
dataType: 'html',
|
dataType: 'html',
|
||||||
success: update_wc_div,
|
success: function( response ) {
|
||||||
|
update_wc_div( response );
|
||||||
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
unblock( $form );
|
unblock( $form );
|
||||||
unblock( $( 'div.cart_totals' ) );
|
unblock( $( 'div.cart_totals' ) );
|
||||||
|
|
Loading…
Reference in New Issue