master
Mark Moffat 2019-06-11 14:43:20 +09:30
parent 73bc060f57
commit 1c741eb615
2 changed files with 2 additions and 2 deletions

View File

@ -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