❤️[S-5XL]2024 nowa elegancka sukienka jesienna
${function() {
const variantData = data.variant || {"id":"9bbecb24-edf4-4d56-aad2-f6078fc84e71","product_id":"f1f2f038-1a65-4911-adae-299964c1b1db","title":"Niebieski-S","weight_unit":"kg","inventory_quantity":1000,"sku":"st25-Pic-S","barcode":"","position":1,"option1":"Niebieski","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/072126917980136dd36e061152bfd5cc.jpg","path":"072126917980136dd36e061152bfd5cc.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":129,"min_quantity":1}],"weight":"0","compare_at_price":"149","price":"129","retail_price":"149","available":true,"url":"\/products\/american-dresses00d4152b-40e3-49ee-ada9-6b91b302d10b?variant=9bbecb24-edf4-4d56-aad2-f6078fc84e71","available_quantity":999999999,"options":[{"name":"Kolor","value":"Niebieski"},{"name":"Rozmiar","value":"S"}],"off_ratio":13,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
10% discount for online payment
${function() {
const minDays = parseInt('2');
const maxDays = parseInt('7');
const customText = "Estimated time of shipment\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}
${function() {
const postageFreeAmount = 1;
const custom_text = "No minimum purchase, free shipping on all orders";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}