Merge branch 'ticket-12574-RemoveProductFromBlockcart' into develop

This commit is contained in:
Marion Muszynski 2017-03-28 10:29:14 +02:00
commit bcf9fe9792

View File

@ -431,8 +431,8 @@ var ajaxCart = {
content += '<a class="cart_block_product_name" href="' + this.link + '" title="' + this.name + '">' + name + '</a>';
content += '<p class="label_quantity">Quantité : ';
content += '<span class="quantity">' + this.quantity + '</span>';
content += ' <a rel="nofollow" class="cart_quantity_down" id="cart_quantity_down_'+productId+'_'+productAttributeId+'" onclick="updateQuantity('+productId+','+productAttributeId+',\'down\');"><img src="'+baseDir+'themes/site/img/moins.png" alt="-" width="13" height="13" /></a>';
content += ' <a rel="nofollow" class="cart_quantity_up" id="cart_quantity_up_'+productId+'_'+productAttributeId+'" onclick="updateQuantity('+productId+','+productAttributeId+',\'up\');"><img src="'+baseDir+'themes/site/img/plus.png" alt="-" width="13" height="13" /></a>';
content += ' <a rel="nofollow" class="cart_quantity_down" id="cart_quantity_down_'+productId+'_'+(this.hasAttributes ? parseInt(this.idCombination) : 0)+'" onclick="updateQuantity('+productId+','+(this.hasAttributes ? parseInt(this.idCombination) : 0)+',\'down\');"><img src="'+baseDir+'themes/site/img/moins.png" alt="-" width="13" height="13" /></a>';
content += ' <a rel="nofollow" class="cart_quantity_up" id="cart_quantity_up_'+productId+'_'+(this.hasAttributes ? parseInt(this.idCombination) : 0)+'" onclick="updateQuantity('+productId+','+(this.hasAttributes ? parseInt(this.idCombination) : 0)+',\'up\');"><img src="'+baseDir+'themes/site/img/plus.png" alt="-" width="13" height="13" /></a>';
content += '<span class="remove_link"><a rel="nofollow" class="ajax_cart_block_remove_link" href="' + baseDir + 'cart.php?delete&amp;id_product=' + productId + '&amp;token=' + static_token + (this.hasAttributes ? '&amp;ipa=' + parseInt(this.idCombination) : '') + '"> </a></span>';
content += '</p>';
content += '<p><span class="label_price">Prix unitaire : <span class="green price">' + this.unit_price + '</span></p>';