Red lip print fashion phone case for iPhone 11 13 14 15 Pro Max 12 Mini 78 Plus XS XR SE durable anti-fall full coverage
${function() {
const variantData = data.variant || {"id":"b2dfaa69-5fa6-4590-9004-ae235653ce82","product_id":"d8f61a68-a29d-4a42-931c-c98347e8dab5","title":"Claret-For iPhone 15 Plus","weight_unit":"lb","inventory_quantity":9995,"sku":"10:529#For iPhone 15 Plus;14:273312254#Claret;200007763:201336100","barcode":"","position":4,"option1":"Claret","option2":"For iPhone 15 Plus","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29b3fcbee06c8790e083666fb533ed57.jpeg","path":"29b3fcbee06c8790e083666fb533ed57.jpeg","width":800,"height":800,"alt":"49374448845097|49374448877865|49374448910633|49374448943401|49374448976169|49374449008937|49374449041705|49374449074473|49374449107241|49374449140009|49374449172777|49374449205545|49374449238313|49374449271081|49374449303849|49374449336617|49374449369385|49374449402153|49374449434921|49374449467689|49374449500457|49374449533225|49374449565993|49374449598761","aspect_ratio":1},"wholesale_price":[{"price":9.74,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.74","retail_price":"0","available":true,"url":"\/products\/red-lip-print-fashion-phone-case-for-iphone-11-13-14-15-pro-max-12-mini-78-plus-xs-xr-se-durable-anti-fall-full-coverage?variant=b2dfaa69-5fa6-4590-9004-ae235653ce82","available_quantity":9995,"options":[{"name":"Color","value":"Claret"},{"name":"Material","value":"For iPhone 15 Plus"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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 = 19.99;
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 `
`;
}()}
${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 variantData = data.variant || {"id":"b2dfaa69-5fa6-4590-9004-ae235653ce82","product_id":"d8f61a68-a29d-4a42-931c-c98347e8dab5","title":"Claret-For iPhone 15 Plus","weight_unit":"lb","inventory_quantity":9995,"sku":"10:529#For iPhone 15 Plus;14:273312254#Claret;200007763:201336100","barcode":"","position":4,"option1":"Claret","option2":"For iPhone 15 Plus","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29b3fcbee06c8790e083666fb533ed57.jpeg","path":"29b3fcbee06c8790e083666fb533ed57.jpeg","width":800,"height":800,"alt":"49374448845097|49374448877865|49374448910633|49374448943401|49374448976169|49374449008937|49374449041705|49374449074473|49374449107241|49374449140009|49374449172777|49374449205545|49374449238313|49374449271081|49374449303849|49374449336617|49374449369385|49374449402153|49374449434921|49374449467689|49374449500457|49374449533225|49374449565993|49374449598761","aspect_ratio":1},"wholesale_price":[{"price":9.74,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.74","retail_price":"0","available":true,"url":"\/products\/red-lip-print-fashion-phone-case-for-iphone-11-13-14-15-pro-max-12-mini-78-plus-xs-xr-se-durable-anti-fall-full-coverage?variant=b2dfaa69-5fa6-4590-9004-ae235653ce82","available_quantity":9995,"options":[{"name":"Color","value":"Claret"},{"name":"Material","value":"For iPhone 15 Plus"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}