${function() {
const variantData = data.variant || {"id":"a2c2bb1f-1283-4077-a5f9-ce38ed5580cb","product_id":"b95361fc-e2f8-4d79-ae88-86512b639c72","title":"White-S","weight_unit":"kg","inventory_quantity":990,"sku":"","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5861d19d42cdd440e4ac97d21e403054.jpeg","path":"5861d19d42cdd440e4ac97d21e403054.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/stylish-and-simple-waist-cinching-suit-pants?variant=a2c2bb1f-1283-4077-a5f9-ce38ed5580cb","available_quantity":990,"options":[{"name":"color","value":"White"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.
${function(){
const variantData = data.variant || {"id":"a2c2bb1f-1283-4077-a5f9-ce38ed5580cb","product_id":"b95361fc-e2f8-4d79-ae88-86512b639c72","title":"White-S","weight_unit":"kg","inventory_quantity":990,"sku":"","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5861d19d42cdd440e4ac97d21e403054.jpeg","path":"5861d19d42cdd440e4ac97d21e403054.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/stylish-and-simple-waist-cinching-suit-pants?variant=a2c2bb1f-1283-4077-a5f9-ce38ed5580cb","available_quantity":990,"options":[{"name":"color","value":"White"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}