👗💥【S-5XL】Rochie nouă de modă, design clasic, elegant și simplu
${function() {
const variantData = data.variant || {"id":"b1325c6e-539b-4d50-a4b0-da65af13eecb","product_id":"57b70db1-9673-4bae-ab97-5f6f59dba58e","title":"Violet-S","weight_unit":"kg","inventory_quantity":100,"sku":"cx61-Violet-S","barcode":"","position":1,"option1":"Violet","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac69833bc0c3c8473b7433f021002d1c.jpeg","path":"ac69833bc0c3c8473b7433f021002d1c.jpeg","width":1080,"height":1920,"alt":"","aspect_ratio":0.5625},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0","compare_at_price":"64","price":"32","retail_price":"64","available":true,"url":"\/products\/s-5xl-rochie-noua-de-moda-design-clasic-elegant-\u0219i-simplu?variant=b1325c6e-539b-4d50-a4b0-da65af13eecb","available_quantity":999999999,"options":[{"name":"culoare","value":"Violet"},{"name":"dimensiune","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('15');
const maxInventory = parseInt('70');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
${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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"b1325c6e-539b-4d50-a4b0-da65af13eecb","product_id":"57b70db1-9673-4bae-ab97-5f6f59dba58e","title":"Violet-S","weight_unit":"kg","inventory_quantity":100,"sku":"cx61-Violet-S","barcode":"","position":1,"option1":"Violet","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac69833bc0c3c8473b7433f021002d1c.jpeg","path":"ac69833bc0c3c8473b7433f021002d1c.jpeg","width":1080,"height":1920,"alt":"","aspect_ratio":0.5625},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0","compare_at_price":"64","price":"32","retail_price":"64","available":true,"url":"\/products\/s-5xl-rochie-noua-de-moda-design-clasic-elegant-\u0219i-simplu?variant=b1325c6e-539b-4d50-a4b0-da65af13eecb","available_quantity":999999999,"options":[{"name":"culoare","value":"Violet"},{"name":"dimensiune","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":1};
return `
`
}()}
${function() {
const minDays = parseInt('4');
const maxDays = parseInt('8');
const customText = "Estimated 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 = "Free shipping on all orders, no minimum purchase";
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 `
`;
}()}
Cash on delivery, no minimum purchase quantity
Pay online and get 10% discount