${function() {
const variantData = data.variant || {"id":"3b4b2ba5-2e82-44be-9057-03916dc2afe2","product_id":"ad820dfe-35c3-49c0-aff7-cafef41388a1","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH306691-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/676c4f3c0747dd3684449406adced3c9.jpeg","path":"676c4f3c0747dd3684449406adced3c9.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"24.99","retail_price":"32.99","available":true,"url":"\/products\/womens-love-dog-paw-print-sweatshirt-2-24t7?variant=3b4b2ba5-2e82-44be-9057-03916dc2afe2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":24,"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":"3b4b2ba5-2e82-44be-9057-03916dc2afe2","product_id":"ad820dfe-35c3-49c0-aff7-cafef41388a1","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH306691-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/676c4f3c0747dd3684449406adced3c9.jpeg","path":"676c4f3c0747dd3684449406adced3c9.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"24.99","retail_price":"32.99","available":true,"url":"\/products\/womens-love-dog-paw-print-sweatshirt-2-24t7?variant=3b4b2ba5-2e82-44be-9057-03916dc2afe2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}