${function() {
const variantData = data.variant || {"id":"62b01d47-525e-4e77-9f24-f2adb200338e","product_id":"1c0dd418-a290-4535-be63-90f61dd2344b","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240528-01-BPGCGTZ2Q9-Blue-S","barcode":"","position":11,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d69c0d1f15735be2f0088e25fc0d4167.jpeg","path":"d69c0d1f15735be2f0088e25fc0d4167.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=62b01d47-525e-4e77-9f24-f2adb200338e","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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.