Letter Print Loose Shirt Dress
${function() {
const variantData = data.variant || {"id":"31fe69f2-6772-4f6c-8041-16e0196df0e1","product_id":"8cb4acb5-0ae4-4c67-8d25-c89eec9ba6e7","title":"blue-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220808445-blue-2XL","barcode":"","position":11,"option1":"blue","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d85f618975cdde1da85869eef4e147d.jpeg","path":"1d85f618975cdde1da85869eef4e147d.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.85,"min_quantity":1}],"weight":"0","compare_at_price":"49.82","price":"39.85","retail_price":"49.82","available":true,"url":"\/products\/letter-print-loose-shirt-dress?variant=31fe69f2-6772-4f6c-8041-16e0196df0e1","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"2XL"}],"off_ratio":20,"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 variantData = data.variant || {"id":"31fe69f2-6772-4f6c-8041-16e0196df0e1","product_id":"8cb4acb5-0ae4-4c67-8d25-c89eec9ba6e7","title":"blue-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220808445-blue-2XL","barcode":"","position":11,"option1":"blue","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d85f618975cdde1da85869eef4e147d.jpeg","path":"1d85f618975cdde1da85869eef4e147d.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.85,"min_quantity":1}],"weight":"0","compare_at_price":"49.82","price":"39.85","retail_price":"49.82","available":true,"url":"\/products\/letter-print-loose-shirt-dress?variant=31fe69f2-6772-4f6c-8041-16e0196df0e1","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"2XL"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}