${function() {
const variantData = data.variant || {"id":"0edfb701-199b-4e8a-86e2-5c675da728e3","product_id":"b1672c93-5bc0-4c31-aa5f-9fc22a4ac423","title":"yellow-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662305111154-yellow-one size","barcode":"","position":3,"option1":"yellow","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93acc48fad973cc4e6f11f33a2d84263.jpeg","path":"93acc48fad973cc4e6f11f33a2d84263.jpeg","width":800,"height":1000,"alt":"Summer simple loose plus size shawl","aspect_ratio":0.8},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"49","price":"39.99","retail_price":"49","available":true,"url":"\/products\/summer-simple-loose-plus-size-shawl?variant=0edfb701-199b-4e8a-86e2-5c675da728e3","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"one size"}],"off_ratio":18,"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.