${function() {
const variantData = data.variant || {"id":"cd07194b-c7b6-4a64-96ff-2abfe38b7d54","product_id":"8ff7b878-e47d-4d07-985a-ad2d40b2faeb","title":"Zen Tree Memo Pad (Orange)","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Zen Tree Memo Pad (Orange)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4dad4ef314fd081f9bd0572c1d747052.jpeg","path":"4dad4ef314fd081f9bd0572c1d747052.jpeg","width":800,"height":777,"alt":"","aspect_ratio":1.0296010296010296},"wholesale_price":[{"price":52.88,"min_quantity":1}],"weight":"0","compare_at_price":"124.99","price":"52.88","retail_price":"124.99","available":true,"url":"\/products\/copy-of-handcrafted-sakura-omoshiroi-calendars?variant=cd07194b-c7b6-4a64-96ff-2abfe38b7d54","available_quantity":999999999,"options":[{"name":"Color","value":"Zen Tree Memo Pad (Orange)"}],"off_ratio":58,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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":"cd07194b-c7b6-4a64-96ff-2abfe38b7d54","product_id":"8ff7b878-e47d-4d07-985a-ad2d40b2faeb","title":"Zen Tree Memo Pad (Orange)","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Zen Tree Memo Pad (Orange)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4dad4ef314fd081f9bd0572c1d747052.jpeg","path":"4dad4ef314fd081f9bd0572c1d747052.jpeg","width":800,"height":777,"alt":"","aspect_ratio":1.0296010296010296},"wholesale_price":[{"price":52.88,"min_quantity":1}],"weight":"0","compare_at_price":"124.99","price":"52.88","retail_price":"124.99","available":true,"url":"\/products\/copy-of-handcrafted-sakura-omoshiroi-calendars?variant=cd07194b-c7b6-4a64-96ff-2abfe38b7d54","available_quantity":999999999,"options":[{"name":"Color","value":"Zen Tree Memo Pad (Orange)"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}