Aimays-Valentine's Day gift Seamless Softness Tie Dye Sports Leggings
${function() {
const variantData = data.variant || {"id":"465260f3-49d3-4176-872f-71c8c7dd6af2","product_id":"a3d42335-c30b-4067-a6a7-92802a4994d6","title":"Peach-S(4)","weight_unit":"g","inventory_quantity":999,"sku":"Sports Leggings Peach S","barcode":"","position":1,"option1":"Peach","option2":"S(4)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/772f86d9652fbd2cd6ff8280e5d029a6.jpeg","path":"772f86d9652fbd2cd6ff8280e5d029a6.jpeg","width":1340,"height":1340,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/seamless-softness-tie-dye-sports-leggings?variant=465260f3-49d3-4176-872f-71c8c7dd6af2","available_quantity":999999999,"options":[{"name":"Color","value":"Peach"},{"name":"Size","value":"S(4)"}],"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.
${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}
`;
}()}
15 Days Return,100% Money Back
7*24h Service at: support@aimays.com