${function() {
const variantData = data.variant || {"id":"16ede840-4a45-4952-b2ba-7c13318b2f04","product_id":"1c0dd418-a290-4535-be63-90f61dd2344b","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240528-01-BPGCGTZ2Q9-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3f9ada9f8f41f6c34cd3565571225981.jpeg","path":"3f9ada9f8f41f6c34cd3565571225981.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"300","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/mens-casual-solid-buttons-stand-up-collar-short-sleeve-shirt?variant=16ede840-4a45-4952-b2ba-7c13318b2f04","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":13};
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.