${function() {
const variantData = data.variant || {"id":"820dcdc0-bf49-4b46-a95f-4fe88af29a2b","product_id":"4a04a5a5-d4f1-4adb-bc21-3b68fa056ce0","title":"Black-S-M","weight_unit":"kg","inventory_quantity":999999999,"sku":"00013978-Black-S-M-A0015946","barcode":"","position":1,"option1":"Black","option2":"S","option3":"M","note":"","image":{"src":"\/\/img.staticdj.com\/fecb04563984befb45a19cde065e4306.webp","path":"fecb04563984befb45a19cde065e4306.webp","width":1080,"height":1439,"alt":"","aspect_ratio":0.7505211952744962},"wholesale_price":[{"price":66.98,"min_quantity":1}],"weight":"0","compare_at_price":"118.98","price":"66.98","retail_price":"118.98","available":true,"url":"\/products\/nun-smoking-dark-style-printed-hoodie-and-sweatpants-black-suit?variant=820dcdc0-bf49-4b46-a95f-4fe88af29a2b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size of Sweatpants","value":"S"},{"name":"Size of Hoodie","value":"M"}],"off_ratio":44,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function() {
const postageFreeAmount = 79;
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"820dcdc0-bf49-4b46-a95f-4fe88af29a2b","product_id":"4a04a5a5-d4f1-4adb-bc21-3b68fa056ce0","title":"Black-S-M","weight_unit":"kg","inventory_quantity":999999999,"sku":"00013978-Black-S-M-A0015946","barcode":"","position":1,"option1":"Black","option2":"S","option3":"M","note":"","image":{"src":"\/\/img.staticdj.com\/fecb04563984befb45a19cde065e4306.webp","path":"fecb04563984befb45a19cde065e4306.webp","width":1080,"height":1439,"alt":"","aspect_ratio":0.7505211952744962},"wholesale_price":[{"price":66.98,"min_quantity":1}],"weight":"0","compare_at_price":"118.98","price":"66.98","retail_price":"118.98","available":true,"url":"\/products\/nun-smoking-dark-style-printed-hoodie-and-sweatpants-black-suit?variant=820dcdc0-bf49-4b46-a95f-4fe88af29a2b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size of Sweatpants","value":"S"},{"name":"Size of Hoodie","value":"M"}],"off_ratio":44,"flashsale_info":[],"sales":0};
return `
`
}()}