res += '<input type="text" name="billing_zip" placeholder="Code postal" pattern="[0-9]{5}" tabindex="106" required>';
res += '<input type="text" name="billing_city" placeholder="Ville" tabindex="107" required>';
res += '</div>';
-
+
res += '<div class="col col-right">';
res += '<p>Adresse de livraison - Enseigne (si différente) : </p>';
res += '<input type="text" name="shipping_company" placeholder="Nom de la société" tabindex="108">';
"<br>\n" +
"<br>\n" +
"LIVRAISON<br>\n" +
- "Livraison 48 h par transporteur<br>\n" +
+ "Livraison 72 h par transporteur<br>\n" +
"<br>\n" +
" <br>\n" +
"<br>\n" +
fp = 8.3;
fpv = this.formatPrice(fp);
}
- var totalttcfp = totalttc + (fpv * 1.2);
+ var totalttcfp = this.formatPrice(totalttc + (fp * 1.2));
$.ajax({
url: 'https://workshop.fluidbook.com/services/orderRemarkable',
method: 'post',
- data: {'items': items, 'fpv': fpv, 'details': this.fluidbook.cache.get('shipping-details')},
+ data: {
+ 'items': items,
+ 'fpv': fpv,
+ 'totalttc': totalttcfp,
+ 'details': this.fluidbook.cache.get('shipping-details')
+ },
success: function (data) {
success(data);
},
link = this.addLink(navType, 'nav-print', '#', 'print', 'print', 'print');
} else if (icon == 'basket' && this.fluidbook.cart.enabled) {
link = this.addLink(navType, 'nav-basket', '#/cart', 'cart', 'basket', 'basket');
- $(this.fluidbook).on('fluidbook.cart.updateIcon', {link: link.attr('id')}, function (e, data) {
+ $(this.fluidbook).on('fluidbook.cart.updateIcon', {link: $(link).attr('id')}, function (e, data) {
var n = data.number;
var l = $("#" + e.data.link);