${function() {
const variantData = data.variant || {"id":"3be07660-cd5b-4d7b-b56f-5ca773f98168","product_id":"75ddfb24-bdd5-4071-a6be-846112b50d37","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1773292668198477825","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4df36928351d511a2d80f6110737db60.jpeg","path":"4df36928351d511a2d80f6110737db60.jpeg","width":1250,"height":1250,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.65,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.65","retail_price":"0","available":true,"url":"\/products\/mens-western-ranch-check-casual-wedding-button-down-shirtb7471b68-16fb-4d1f-8c7e-aa90a1d331ee?variant=3be07660-cd5b-4d7b-b56f-5ca773f98168","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"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.