${function() {
const variantData = data.variant || {"id":"2f24ffc3-dff2-4c98-91c6-63c036515d5f","product_id":"3e973c9a-3f1a-4b06-8149-563292a09041","title":"black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"X099A-240429-06-X7384RBRFH-black-M","barcode":"","position":11,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b16ec1ed34db532ca587d6d46b1693bc.jpeg","path":"b16ec1ed34db532ca587d6d46b1693bc.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"300","compare_at_price":"41.99","price":"41.99","retail_price":"41.99","available":true,"url":"\/products\/mens-solid-color-short-sleeved-casual-shirt-13r8?variant=2f24ffc3-dff2-4c98-91c6-63c036515d5f","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.