${function() {
const variantData = data.variant || {"id":"39066dc5-52a9-493c-a5ec-01ccd4e16c6a","product_id":"b8d5321f-1944-4bda-90e1-401efb8babfc","title":"Grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"NC0403-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/45a4ccd0f7da8b48f865ef905d86b185.jpeg","path":"45a4ccd0f7da8b48f865ef905d86b185.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"0.23","compare_at_price":"39.98","price":"22.98","retail_price":"39.98","available":true,"url":"\/products\/solid-color-sleeveless-long-type-linen-top-vest?variant=39066dc5-52a9-493c-a5ec-01ccd4e16c6a","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":43,"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 : NC0403-Grey-S
Weight : 0.23kg
${function(){
const variantData = data.variant || {"id":"39066dc5-52a9-493c-a5ec-01ccd4e16c6a","product_id":"b8d5321f-1944-4bda-90e1-401efb8babfc","title":"Grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"NC0403-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/45a4ccd0f7da8b48f865ef905d86b185.jpeg","path":"45a4ccd0f7da8b48f865ef905d86b185.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"0.23","compare_at_price":"39.98","price":"22.98","retail_price":"39.98","available":true,"url":"\/products\/solid-color-sleeveless-long-type-linen-top-vest?variant=39066dc5-52a9-493c-a5ec-01ccd4e16c6a","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}