${function() {
const variantData = data.variant || {"id":"d6147ffa-427c-4597-823f-d1795b1a8baa","product_id":"7b3597a1-7dc5-4374-9f09-65e15d6537a0","title":"creamy white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1499632120866791426","barcode":"","position":1,"option1":"creamy white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fc8f8526f6a358006dfc3d3f6e45f64.jpeg","path":"1fc8f8526f6a358006dfc3d3f6e45f64.jpeg","width":2160,"height":2158,"alt":"","aspect_ratio":1.0009267840593141},"wholesale_price":[{"price":28.51,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.51","retail_price":"0","available":true,"url":"\/products\/mens-henley-collar-slim-fit-long-sleeve-t-shirt?variant=d6147ffa-427c-4597-823f-d1795b1a8baa","available_quantity":999999999,"options":[{"name":"Color","value":"creamy white"},{"name":"Size","value":"M"}],"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":"d6147ffa-427c-4597-823f-d1795b1a8baa","product_id":"7b3597a1-7dc5-4374-9f09-65e15d6537a0","title":"creamy white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1499632120866791426","barcode":"","position":1,"option1":"creamy white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fc8f8526f6a358006dfc3d3f6e45f64.jpeg","path":"1fc8f8526f6a358006dfc3d3f6e45f64.jpeg","width":2160,"height":2158,"alt":"","aspect_ratio":1.0009267840593141},"wholesale_price":[{"price":28.51,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.51","retail_price":"0","available":true,"url":"\/products\/mens-henley-collar-slim-fit-long-sleeve-t-shirt?variant=d6147ffa-427c-4597-823f-d1795b1a8baa","available_quantity":999999999,"options":[{"name":"Color","value":"creamy white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}