${function() {
const variantData = data.variant || {"id":"9f081389-8f3c-4476-892c-b152bda0e49e","product_id":"52df74fc-c866-42b3-ac2c-3c59b4f0080b","title":"black-S","weight_unit":"kg","inventory_quantity":200,"sku":"TSLC4685-black-S","barcode":"","position":2,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b1d1802bd385a256546c7589649e50c.jpeg","path":"7b1d1802bd385a256546c7589649e50c.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.26","compare_at_price":"39.99","price":"24.99","retail_price":"39.99","available":true,"url":"\/products\/womens-st-patricks-day-printed-crew-neck-sweatshirt-l2bv?variant=9f081389-8f3c-4476-892c-b152bda0e49e","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":38,"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.
Sku : TSLC4685-black-S
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"9f081389-8f3c-4476-892c-b152bda0e49e","product_id":"52df74fc-c866-42b3-ac2c-3c59b4f0080b","title":"black-S","weight_unit":"kg","inventory_quantity":200,"sku":"TSLC4685-black-S","barcode":"","position":2,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b1d1802bd385a256546c7589649e50c.jpeg","path":"7b1d1802bd385a256546c7589649e50c.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.26","compare_at_price":"39.99","price":"24.99","retail_price":"39.99","available":true,"url":"\/products\/womens-st-patricks-day-printed-crew-neck-sweatshirt-l2bv?variant=9f081389-8f3c-4476-892c-b152bda0e49e","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}