Loose Blue Bloomers Pants
${function() {
const variantData = data.variant || {"id":"2172d16d-e9d7-45a3-bd16-25f757b1d321","product_id":"0ab84165-d9e0-4615-8145-c492912f8ea4","title":"DEEP BLUE-LARGE SIZE","weight_unit":"g","inventory_quantity":0,"sku":"Lin4301588228290-DEEPBLUE-LARGESIZE","barcode":"","position":1,"option1":"DEEP BLUE","option2":"LARGE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e475ea4abea4f785f487467f2a5a0e3.jpeg","path":"3e475ea4abea4f785f487467f2a5a0e3.jpeg","width":600,"height":801,"alt":"","aspect_ratio":0.7490636704119851},"wholesale_price":[{"price":67.99,"min_quantity":1}],"weight":"0","compare_at_price":"74","price":"67.99","retail_price":"74","available":true,"url":"\/products\/loose-blue-bloomers-pants?variant=2172d16d-e9d7-45a3-bd16-25f757b1d321","available_quantity":999999999,"options":[{"name":"Color","value":"DEEP BLUE"},{"name":"Size","value":"LARGE SIZE"}],"off_ratio":8,"flashsale_info":[],"sales":4};
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}
`
}()}
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('14');
const customText = "Estimated Delivery\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 = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
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 `
`;
}()}
Product was out of stock.
Product is unavailable.
people are viewing this right now