Casual V-neck Solid Color Long-sleeved Two-piece Set
${function() {
const variantData = data.variant || {"id":"6c38fb02-e4c5-47c6-b8d9-5622c3c8e2a7","product_id":"5bfe4194-e940-4b2f-992f-489d2b2b9e9c","title":"Black-L","weight_unit":"kg","inventory_quantity":0,"sku":"772109251002-Black-L","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4bcd4bcdd004c9166d28ccb38a033991.jpeg","path":"4bcd4bcdd004c9166d28ccb38a033991.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.85,"min_quantity":1}],"weight":"0.3","compare_at_price":"46.88","price":"39.85","retail_price":"46.88","available":true,"url":"\/products\/casual-v-neck-solid-color-long-sleeved-two-piece-set?variant=6c38fb02-e4c5-47c6-b8d9-5622c3c8e2a7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":15,"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":"6c38fb02-e4c5-47c6-b8d9-5622c3c8e2a7","product_id":"5bfe4194-e940-4b2f-992f-489d2b2b9e9c","title":"Black-L","weight_unit":"kg","inventory_quantity":0,"sku":"772109251002-Black-L","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4bcd4bcdd004c9166d28ccb38a033991.jpeg","path":"4bcd4bcdd004c9166d28ccb38a033991.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.85,"min_quantity":1}],"weight":"0.3","compare_at_price":"46.88","price":"39.85","retail_price":"46.88","available":true,"url":"\/products\/casual-v-neck-solid-color-long-sleeved-two-piece-set?variant=6c38fb02-e4c5-47c6-b8d9-5622c3c8e2a7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":15,"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 `
`;
}()}