${function() {
const variantData = data.variant || {"id":"cfb438eb-c35e-4dd8-b882-ed9fca98d0d1","product_id":"7202809e-88b2-40da-868d-ac0e5bad2d68","title":"Black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YEYS-22052712-Black-M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25177eac9f802cafe30b34a3f7842fe3.jpeg","path":"25177eac9f802cafe30b34a3f7842fe3.jpeg","width":782,"height":782,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.02,"min_quantity":1}],"weight":"0","compare_at_price":"76.04","price":"38.02","retail_price":"76.04","available":true,"url":"\/products\/mens-casual-outfit-sets-7ecd?variant=cfb438eb-c35e-4dd8-b882-ed9fca98d0d1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : YEYS-22052712-Black-M
${function(){
const variantData = data.variant || {"id":"cfb438eb-c35e-4dd8-b882-ed9fca98d0d1","product_id":"7202809e-88b2-40da-868d-ac0e5bad2d68","title":"Black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YEYS-22052712-Black-M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25177eac9f802cafe30b34a3f7842fe3.jpeg","path":"25177eac9f802cafe30b34a3f7842fe3.jpeg","width":782,"height":782,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.02,"min_quantity":1}],"weight":"0","compare_at_price":"76.04","price":"38.02","retail_price":"76.04","available":true,"url":"\/products\/mens-casual-outfit-sets-7ecd?variant=cfb438eb-c35e-4dd8-b882-ed9fca98d0d1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}