${function() {
const variantData = data.variant || {"id":"b83e400b-db6e-48ba-96dd-708e0b6727fb","product_id":"9171cf44-346c-42c8-b442-0fde4f5ae3e6","title":"gray-S","weight_unit":"kg","inventory_quantity":0,"sku":"662303241664-gray-S","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/412486512bc5c43e9146f6b4b8c7d1a2.jpeg","path":"412486512bc5c43e9146f6b4b8c7d1a2.jpeg","width":800,"height":800,"alt":"Thin 3\/4-sleeve one-button linen blazer","aspect_ratio":1},"wholesale_price":[{"price":55.89,"min_quantity":1}],"weight":"0.3","compare_at_price":"67","price":"55.89","retail_price":"67","available":true,"url":"\/products\/thin-3-4-sleeve-one-button-linen-blazer?variant=b83e400b-db6e-48ba-96dd-708e0b6727fb","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.