${function() {
const variantData = data.variant || {"id":"7952e596-007f-4b0e-80d6-14b55c64755f","product_id":"ef5b04ca-3450-484a-88ba-1aae526d46de","title":"Dark Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"UN1923622-1616-2-S","barcode":"","position":1,"option1":"Dark Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9a926d70ccede6ac56a7e49ca3192f5.jpeg","path":"b9a926d70ccede6ac56a7e49ca3192f5.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"32.99","retail_price":"62.99","available":true,"url":"\/products\/mens-sweatshirt681690f1-ddbe-48d5-9696-9627a3a35db3?variant=7952e596-007f-4b0e-80d6-14b55c64755f","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Red"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":2};
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":"7952e596-007f-4b0e-80d6-14b55c64755f","product_id":"ef5b04ca-3450-484a-88ba-1aae526d46de","title":"Dark Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"UN1923622-1616-2-S","barcode":"","position":1,"option1":"Dark Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9a926d70ccede6ac56a7e49ca3192f5.jpeg","path":"b9a926d70ccede6ac56a7e49ca3192f5.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"32.99","retail_price":"62.99","available":true,"url":"\/products\/mens-sweatshirt681690f1-ddbe-48d5-9696-9627a3a35db3?variant=7952e596-007f-4b0e-80d6-14b55c64755f","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Red"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}