${function() {
const variantData = data.variant || {"id":"d6b2b09c-3a0b-486d-9c4c-765fda189005","product_id":"30edb8f2-10af-42f8-9809-82cf14172982","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"F1100364-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/20a296108502511c083195719e1a9027.png","path":"20a296108502511c083195719e1a9027.png","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"29.99","retail_price":"39.99","available":true,"url":"\/products\/mens-fashionable-casual-green-cotton-shirts-a5zw-z50l-rx8s-k9xh-tzpw-bxa8-t0gn-uyyx-lhg0-34y3-4pau-q172-gg8f-iguk-wlby4d11dfee-4120-4be9-9b56-4cd1a91932ca?variant=d6b2b09c-3a0b-486d-9c4c-765fda189005","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":25,"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.