${function() {
const variantData = data.variant || {"id":"95f4b3b9-a4e6-4992-b675-0dfd50b1ce1c","product_id":"1a6de406-9793-4f66-9921-f66d0895dd19","title":"Fuchsia-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH293197-FUC00S","barcode":"","position":1,"option1":"Fuchsia","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eefdceaeed38cf7b50a2bc0bf1338839.jpeg","path":"eefdceaeed38cf7b50a2bc0bf1338839.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.31","price":"25.99","retail_price":"34.31","available":true,"url":"\/products\/womens-cat-christmas-light-funny-print-casual-hoodie?variant=95f4b3b9-a4e6-4992-b675-0dfd50b1ce1c","available_quantity":999999999,"options":[{"name":"Color","value":"Fuchsia"},{"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":"95f4b3b9-a4e6-4992-b675-0dfd50b1ce1c","product_id":"1a6de406-9793-4f66-9921-f66d0895dd19","title":"Fuchsia-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH293197-FUC00S","barcode":"","position":1,"option1":"Fuchsia","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eefdceaeed38cf7b50a2bc0bf1338839.jpeg","path":"eefdceaeed38cf7b50a2bc0bf1338839.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.31","price":"25.99","retail_price":"34.31","available":true,"url":"\/products\/womens-cat-christmas-light-funny-print-casual-hoodie?variant=95f4b3b9-a4e6-4992-b675-0dfd50b1ce1c","available_quantity":999999999,"options":[{"name":"Color","value":"Fuchsia"},{"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}
`
}()}