${function() {
const variantData = data.variant || {"id":"97241ff3-8970-4987-b1ef-735cdbb39d6c","product_id":"537f2fbe-30d9-4f0a-809a-e0ba77bf7d29","title":"black-l","weight_unit":"kg","inventory_quantity":999,"sku":"4329487","barcode":"4329487","position":1,"option1":"black","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e795746fd2db7b3a972efe5b006cac1c.jpeg","path":"e795746fd2db7b3a972efe5b006cac1c.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":14,"min_quantity":1}],"weight":"0.16","compare_at_price":"0","price":"14","retail_price":"0","available":true,"url":"\/products\/scoop-neck-asymmetric-hem-hollow-out-plain-t-shirts?variant=97241ff3-8970-4987-b1ef-735cdbb39d6c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"l"}],"off_ratio":0,"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 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 : 4329487
Weight : 0.16kg
Barcode : 4329487
${function(){
const variantData = data.variant || {"id":"97241ff3-8970-4987-b1ef-735cdbb39d6c","product_id":"537f2fbe-30d9-4f0a-809a-e0ba77bf7d29","title":"black-l","weight_unit":"kg","inventory_quantity":999,"sku":"4329487","barcode":"4329487","position":1,"option1":"black","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e795746fd2db7b3a972efe5b006cac1c.jpeg","path":"e795746fd2db7b3a972efe5b006cac1c.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":14,"min_quantity":1}],"weight":"0.16","compare_at_price":"0","price":"14","retail_price":"0","available":true,"url":"\/products\/scoop-neck-asymmetric-hem-hollow-out-plain-t-shirts?variant=97241ff3-8970-4987-b1ef-735cdbb39d6c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"l"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}