${function() {
const variantData = data.variant || {"id":"40e9a25c-4e84-4cc2-9edc-41ad2d18c7ff","product_id":"9fdae51a-8f22-4e42-9f61-38acd18d5fe6","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS256689-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d31ab0ecc131a6d421154f7f391c829.jpeg","path":"4d31ab0ecc131a6d421154f7f391c829.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-western-horse-print-long-sleeve-sweatshirt-2?variant=40e9a25c-4e84-4cc2-9edc-41ad2d18c7ff","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"40e9a25c-4e84-4cc2-9edc-41ad2d18c7ff","product_id":"9fdae51a-8f22-4e42-9f61-38acd18d5fe6","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS256689-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d31ab0ecc131a6d421154f7f391c829.jpeg","path":"4d31ab0ecc131a6d421154f7f391c829.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-western-horse-print-long-sleeve-sweatshirt-2?variant=40e9a25c-4e84-4cc2-9edc-41ad2d18c7ff","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}