Skip to content

Commit

Permalink
Merge pull request PrestaShop#7959 from unlocomqx/cust
Browse files Browse the repository at this point in the history
Empty customization ID after adding to cart
  • Loading branch information
aleeks authored Jun 22, 2017
2 parents 4d2a0c1 + 38c0145 commit b603697
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions themes/_core/js/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ $(document).ready(() => {
$('.cart-voucher').replaceWith(resp.cart_voucher);
$('.cart-overview').replaceWith(resp.cart_detailed);

$('#product_customization_id').val(0);

$('.js-cart-line-product-quantity').each((index, input) => {
var $input = $(input);
$input.attr('value', $input.val());
Expand Down

0 comments on commit b603697

Please sign in to comment.