${function() {
const variantData = data.variant || {"id":"f7ccff1c-7f7a-4de5-969a-7281b7b415ca","product_id":"1c0dd418-a290-4535-be63-90f61dd2344b","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"x099-240528-01-BPGCGTZ2Q9-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/37b49f51c6b1ea2fe72d2525e97f5935.jpeg","path":"37b49f51c6b1ea2fe72d2525e97f5935.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=f7ccff1c-7f7a-4de5-969a-7281b7b415ca","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.