Linting
parent
73bc060f57
commit
1c741eb615
|
@ -662,7 +662,7 @@ function deleteFromCart(element){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/product/removefromcart',
|
url: '/product/removefromcart',
|
||||||
data: {cart_index: element.attr('data-id')}
|
data: {cartId: element.attr('data-id')}
|
||||||
})
|
})
|
||||||
.done(function(msg){
|
.done(function(msg){
|
||||||
$('#cart-count').text(msg.totalCartItems);
|
$('#cart-count').text(msg.totalCartItems);
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue