${function() {
const variantData = data.variant || {"id":"baffc4fc-a116-44fb-9582-f0894f875ec0","product_id":"3a08d49e-cd47-4e65-b6ae-36e7ea58e64f","title":"White","weight_unit":"kg","inventory_quantity":1000,"sku":"YK295-White","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/536dd9e7e912398330a290e0e30da3a6.jpeg","path":"536dd9e7e912398330a290e0e30da3a6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"68.99","price":"48.99","retail_price":"68.99","available":true,"url":"\/products\/twist-gentle-elegant-pullover-sweater-top17eec7a5-0f2c-4cef-bc6a-1f4011981aa3?variant=baffc4fc-a116-44fb-9582-f0894f875ec0","available_quantity":1000,"options":[{"name":"Color","value":"White"}],"off_ratio":29,"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":"baffc4fc-a116-44fb-9582-f0894f875ec0","product_id":"3a08d49e-cd47-4e65-b6ae-36e7ea58e64f","title":"White","weight_unit":"kg","inventory_quantity":1000,"sku":"YK295-White","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/536dd9e7e912398330a290e0e30da3a6.jpeg","path":"536dd9e7e912398330a290e0e30da3a6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"68.99","price":"48.99","retail_price":"68.99","available":true,"url":"\/products\/twist-gentle-elegant-pullover-sweater-top17eec7a5-0f2c-4cef-bc6a-1f4011981aa3?variant=baffc4fc-a116-44fb-9582-f0894f875ec0","available_quantity":1000,"options":[{"name":"Color","value":"White"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}