Iron Sharpens Iron Printed Oversize Washed T-Shirt
Free Shipping Over $70
Hot Sale
${function() {
const variantData = data.variant || {"id":"52d931d2-995a-4e65-b4e9-0f4a206283a6","product_id":"213c4484-f771-48e8-8c1a-03dfdf77804d","title":"Black-S","weight_unit":"g","inventory_quantity":983,"sku":"SKU102797180001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/207dee09577e9a511f83d5da098c18d7.jpeg","path":"207dee09577e9a511f83d5da098c18d7.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"260","compare_at_price":"50","price":"32","retail_price":"50","available":true,"url":"\/products\/iron-sharpens-iron-printed-oversize-washed-t-shirt-4mhw?variant=52d931d2-995a-4e65-b4e9-0f4a206283a6","available_quantity":983,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":65};
const saveType = "percentage";
const productLabelDiscountOn = false;
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('10');
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 = 70;
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 `
`;
}()}
people are viewing this right now