${function() {
const variantData = data.variant || {"id":"1f7632da-a696-4ba0-b1fd-fe9b91729e95","product_id":"152f9d15-1170-4870-a4b8-86ae16a1aec7","title":"Khaki-S","weight_unit":"g","inventory_quantity":999,"sku":"XHYh0IbaO-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f284eaf6773f22a23aee0977a9797ca6.jpeg","path":"f284eaf6773f22a23aee0977a9797ca6.jpeg","width":769,"height":769,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-round-neck-short-sleeved-t-shirt-6jtk?variant=1f7632da-a696-4ba0-b1fd-fe9b91729e95","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":8};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : XHYh0IbaO-Khaki-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"1f7632da-a696-4ba0-b1fd-fe9b91729e95","product_id":"152f9d15-1170-4870-a4b8-86ae16a1aec7","title":"Khaki-S","weight_unit":"g","inventory_quantity":999,"sku":"XHYh0IbaO-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f284eaf6773f22a23aee0977a9797ca6.jpeg","path":"f284eaf6773f22a23aee0977a9797ca6.jpeg","width":769,"height":769,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/fashionable-personalized-printed-round-neck-short-sleeved-t-shirt-6jtk?variant=1f7632da-a696-4ba0-b1fd-fe9b91729e95","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":8};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}