${function() {
const variantData = data.variant || {"id":"11771f02-acc5-4db1-a777-a78b53789ef3","product_id":"dfa6d231-221b-4da8-8073-e3fc09f30304","title":"Red-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YEYS-22071114-Red-M","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b528936f0190c7ddd3dcf8679986f52.jpeg","path":"4b528936f0190c7ddd3dcf8679986f52.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-outfit-sets-1grl?variant=11771f02-acc5-4db1-a777-a78b53789ef3","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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-22071114-Red-M
${function(){
const variantData = data.variant || {"id":"11771f02-acc5-4db1-a777-a78b53789ef3","product_id":"dfa6d231-221b-4da8-8073-e3fc09f30304","title":"Red-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YEYS-22071114-Red-M","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b528936f0190c7ddd3dcf8679986f52.jpeg","path":"4b528936f0190c7ddd3dcf8679986f52.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-outfit-sets-1grl?variant=11771f02-acc5-4db1-a777-a78b53789ef3","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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}
`
}()}