Girlfairy Autumn Winter Women Warm Plush Jacket Fashion Color Block White Padded Long Sleeve Coat Casual Vintage Zipper Hoodie 2023 New
${function() {
const variantData = data.variant || {"id":"b646a39e-59a9-4142-a6f7-d78dd6ed2731","product_id":"001e0ae5-d10b-44be-93fc-001c354f94be","title":"S-photo color","weight_unit":"g","inventory_quantity":999,"sku":"89580175-s-photo-color","barcode":"","position":1,"option1":"S","option2":"photo color","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a2f940b0d3078a1ad4cb968ebef3691.jpeg","path":"8a2f940b0d3078a1ad4cb968ebef3691.jpeg","width":1000,"height":1000,"alt":"Girlfairy Autumn Winter Women Warm Plush Jacket Fashion Color Block White Padded Long Sleeve Coat","aspect_ratio":1},"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"41.99","retail_price":"0","available":true,"url":"\/products\/autumn-winter-women-warm-plush-jacket-fashion-color-block-white-padded-long-sleeve-coat-casual-vintage-zipper-hoodie-2021-new?variant=b646a39e-59a9-4142-a6f7-d78dd6ed2731","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"photo color"}],"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}
`
}()}
${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 `
`;
}()}