${function() {
const variantData = data.variant || {"id":"c695f611-e1b5-438f-8d5f-610b3ac16d08","product_id":"7ca3acff-a9f9-4309-987b-daab2fa2d01b","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH294568-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4771f2154a27ad663d4c30c61f1fa18.jpeg","path":"a4771f2154a27ad663d4c30c61f1fa18.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.44","price":"26.99","retail_price":"36.44","available":true,"url":"\/products\/womens-floral-embroidery-pattern-art-print-sweatshirt-7?variant=c695f611-e1b5-438f-8d5f-610b3ac16d08","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":"c695f611-e1b5-438f-8d5f-610b3ac16d08","product_id":"7ca3acff-a9f9-4309-987b-daab2fa2d01b","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH294568-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4771f2154a27ad663d4c30c61f1fa18.jpeg","path":"a4771f2154a27ad663d4c30c61f1fa18.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.44","price":"26.99","retail_price":"36.44","available":true,"url":"\/products\/womens-floral-embroidery-pattern-art-print-sweatshirt-7?variant=c695f611-e1b5-438f-8d5f-610b3ac16d08","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}
`
}()}