${function() {
const variantData = data.variant || {"id":"4ef5abbf-e106-413d-98c4-36ec44a7a2bc","product_id":"6442fc02-4d07-436e-afd6-cc63a702f79c","title":"white-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305101020-white-M","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f986f0351412ac6559868e01e681249b.jpeg","path":"f986f0351412ac6559868e01e681249b.jpeg","width":800,"height":800,"alt":"Vintage Oversized Loose Casual Shirt","aspect_ratio":1},"wholesale_price":[{"price":36.85,"min_quantity":1}],"weight":"0.4","compare_at_price":"48","price":"36.85","retail_price":"48","available":true,"url":"\/products\/vintage-oversized-loose-casual-shirt?variant=4ef5abbf-e106-413d-98c4-36ec44a7a2bc","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"M"}],"off_ratio":23,"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.