${function() {
const variantData = data.variant || {"id":"d381334e-3769-4b84-b8dd-9f007dece03f","product_id":"4be0d8bd-cfb9-4dbc-be25-2b5cfe96b56e","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1585464771197583362","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2cf94389250f62df98d3eeca4272bb7.jpeg","path":"c2cf94389250f62df98d3eeca4272bb7.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.04,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.04","retail_price":"0","available":true,"url":"\/products\/mens-casual-slim-v-neck-stretch-cotton-bottoming-shirt?variant=d381334e-3769-4b84-b8dd-9f007dece03f","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"d381334e-3769-4b84-b8dd-9f007dece03f","product_id":"4be0d8bd-cfb9-4dbc-be25-2b5cfe96b56e","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1585464771197583362","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2cf94389250f62df98d3eeca4272bb7.jpeg","path":"c2cf94389250f62df98d3eeca4272bb7.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.04,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.04","retail_price":"0","available":true,"url":"\/products\/mens-casual-slim-v-neck-stretch-cotton-bottoming-shirt?variant=d381334e-3769-4b84-b8dd-9f007dece03f","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}