${function() {
const variantData = data.variant || {"id":"bb0fee1c-bb53-46db-b4ac-1b0b2bc427c9","product_id":"4dce8dba-8a89-4e29-89f8-30d3ddd66c1b","title":"Green-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Green-M-A00427496","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2a1f3700548b4063989dde18492a2d0.jpeg","path":"d2a1f3700548b4063989dde18492a2d0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-fashion-polo-suit-njwl?variant=bb0fee1c-bb53-46db-b4ac-1b0b2bc427c9","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"off_ratio":50,"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.
${function(){
const variantData = data.variant || {"id":"bb0fee1c-bb53-46db-b4ac-1b0b2bc427c9","product_id":"4dce8dba-8a89-4e29-89f8-30d3ddd66c1b","title":"Green-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Green-M-A00427496","barcode":"","position":1,"option1":"Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2a1f3700548b4063989dde18492a2d0.jpeg","path":"d2a1f3700548b4063989dde18492a2d0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/mens-casual-fashion-polo-suit-njwl?variant=bb0fee1c-bb53-46db-b4ac-1b0b2bc427c9","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}