${function() {
const variantData = data.variant || {"id":"b2244486-6d91-4ce1-ba86-18db45485329","product_id":"24dd8a55-5a26-43fc-9cc2-c5c3d465c779","title":"yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-01-EN9ET3SBHJ-yellow-S","barcode":"","position":13,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1061512f700d7f16a63aad98f8ff31a1.jpeg","path":"1061512f700d7f16a63aad98f8ff31a1.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"300","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/mens-100-cotton-solid-shirt-casual-breathable-lapel-button-up-slim-fit-long-sleeve-shirt?variant=b2244486-6d91-4ce1-ba86-18db45485329","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"S"}],"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.