${function() {
const variantData = data.variant || {"id":"0601f710-d19f-4f56-955c-78dcfb40a809","product_id":"a0311e59-486b-42fd-9043-d01f627bbbd5","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WD-360244","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3058c4eb39c68dd518c9005d0cf2c31.jpeg","path":"e3058c4eb39c68dd518c9005d0cf2c31.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"74.99","price":"45.99","retail_price":"74.99","available":true,"url":"\/products\/hem21a3bbijxz?variant=0601f710-d19f-4f56-955c-78dcfb40a809","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"0601f710-d19f-4f56-955c-78dcfb40a809","product_id":"a0311e59-486b-42fd-9043-d01f627bbbd5","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WD-360244","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3058c4eb39c68dd518c9005d0cf2c31.jpeg","path":"e3058c4eb39c68dd518c9005d0cf2c31.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"74.99","price":"45.99","retail_price":"74.99","available":true,"url":"\/products\/hem21a3bbijxz?variant=0601f710-d19f-4f56-955c-78dcfb40a809","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}