${function() {
const variantData = data.variant || {"id":"78390434-f92a-47ea-a37a-c9daf20ea528","product_id":"c15fe1f4-757f-403a-9e05-1815bf7e3181","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH294622-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e198c4a5f4b5f19ebfa2a8389916cacc.jpeg","path":"e198c4a5f4b5f19ebfa2a8389916cacc.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.71","price":"26.99","retail_price":"36.71","available":true,"url":"\/products\/womens-flowers-heart-art-print-sweatshirt?variant=78390434-f92a-47ea-a37a-c9daf20ea528","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":26,"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":"78390434-f92a-47ea-a37a-c9daf20ea528","product_id":"c15fe1f4-757f-403a-9e05-1815bf7e3181","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH294622-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e198c4a5f4b5f19ebfa2a8389916cacc.jpeg","path":"e198c4a5f4b5f19ebfa2a8389916cacc.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.71","price":"26.99","retail_price":"36.71","available":true,"url":"\/products\/womens-flowers-heart-art-print-sweatshirt?variant=78390434-f92a-47ea-a37a-c9daf20ea528","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}