Girlfairy spring outfit summer top Show Off Furry Halter Camisole
${function() {
const variantData = data.variant || {"id":"b56af155-8142-44f6-aac7-46e39127eb02","product_id":"ad0813e7-e686-4a12-934e-6e6a1ec1176f","title":"Purple","weight_unit":"lb","inventory_quantity":999,"sku":"GirlfairyGirlfairy show-off-furry-halter-camisolePurple","barcode":"","position":1,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc0cc8a21b460c0b8f256487d4e0ac9e.jpeg","path":"cc0cc8a21b460c0b8f256487d4e0ac9e.jpeg","width":1852,"height":1852,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26","retail_price":"0","available":true,"url":"\/products\/girlfairy-show-off-furry-halter-camisole?variant=b56af155-8142-44f6-aac7-46e39127eb02","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"}],"off_ratio":0,"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}
`
}()}
Product was out of stock.
Product is unavailable.
15 Days Return,100%Money Back
7*24h Service at:support@Girlfairy.com
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('15');
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 = 35;
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 `
`;
}()}