Casual Simple Solid Color Knit Slit Two-piece Set
${function() {
const variantData = data.variant || {"id":"adc7aa8d-6bb1-474f-a290-fb545ae50683","product_id":"73819108-e535-4635-99b5-7643e1cb5c9d","title":"Grey-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"77210922731-Grey-2XL","barcode":"","position":6,"option1":"Grey","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8bb37c7bf7f18ef5a5f4391b43f49d2b.jpeg","path":"8bb37c7bf7f18ef5a5f4391b43f49d2b.jpeg","width":652,"height":874,"alt":"","aspect_ratio":0.7459954233409611},"wholesale_price":[{"price":48.78,"min_quantity":1}],"weight":"0.5","compare_at_price":"48","price":"48.78","retail_price":"48","available":true,"url":"\/products\/casual-simple-solid-color-knit-slit-two-piece-set?variant=adc7aa8d-6bb1-474f-a290-fb545ae50683","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"2XL"}],"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 variantData = data.variant || {"id":"adc7aa8d-6bb1-474f-a290-fb545ae50683","product_id":"73819108-e535-4635-99b5-7643e1cb5c9d","title":"Grey-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"77210922731-Grey-2XL","barcode":"","position":6,"option1":"Grey","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8bb37c7bf7f18ef5a5f4391b43f49d2b.jpeg","path":"8bb37c7bf7f18ef5a5f4391b43f49d2b.jpeg","width":652,"height":874,"alt":"","aspect_ratio":0.7459954233409611},"wholesale_price":[{"price":48.78,"min_quantity":1}],"weight":"0.5","compare_at_price":"48","price":"48.78","retail_price":"48","available":true,"url":"\/products\/casual-simple-solid-color-knit-slit-two-piece-set?variant=adc7aa8d-6bb1-474f-a290-fb545ae50683","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"2XL"}],"off_ratio":0,"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 `
`;
}()}