${function() {
const variantData = data.variant || {"id":"17c78ad9-ccd9-4005-8d0c-bbd3cab63033","product_id":"ba0f1cb5-5fb3-4a2e-98af-6981184cc4f1","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH294625-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c7bc301f74e94b6b350f958c736d10e.jpeg","path":"8c7bc301f74e94b6b350f958c736d10e.jpeg","width":400,"height":533,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.18","price":"26.99","retail_price":"43.18","available":true,"url":"\/products\/womens-floral-embroidery-pattern-art-print-sweatshirt-3?variant=17c78ad9-ccd9-4005-8d0c-bbd3cab63033","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":37,"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":"17c78ad9-ccd9-4005-8d0c-bbd3cab63033","product_id":"ba0f1cb5-5fb3-4a2e-98af-6981184cc4f1","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH294625-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c7bc301f74e94b6b350f958c736d10e.jpeg","path":"8c7bc301f74e94b6b350f958c736d10e.jpeg","width":400,"height":533,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.18","price":"26.99","retail_price":"43.18","available":true,"url":"\/products\/womens-floral-embroidery-pattern-art-print-sweatshirt-3?variant=17c78ad9-ccd9-4005-8d0c-bbd3cab63033","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}