${function() {
const variantData = data.variant || {"id":"4f8fb560-907f-4c3f-a74b-97423065320b","product_id":"2c9a7ee8-afb2-45d7-9283-cde2d6bb2ea0","title":"White-S","weight_unit":"kg","inventory_quantity":573,"sku":"BL230424224-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/79d5ee95a05f62b0c4f75f28175412b0.jpeg","path":"79d5ee95a05f62b0c4f75f28175412b0.jpeg","width":750,"height":950,"alt":"Retro Irregular Seven-point Sleeves Cardigan Shirt","aspect_ratio":0.7894736842105263},"wholesale_price":[{"price":42.65,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"42.65","retail_price":"55","available":true,"url":"\/products\/retro-irregular-seven-point-sleeves-cardigan-shirt?variant=4f8fb560-907f-4c3f-a74b-97423065320b","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"sIZE","value":"S"}],"off_ratio":22,"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.