${function() {
const variantData = data.variant || {"id":"06ac7c32-d765-46ed-8ea8-f17302667442","product_id":"b7b6da05-fbeb-424d-a698-bccedd18ee9b","title":"Vermilion-S","weight_unit":"kg","inventory_quantity":1000,"sku":"211026-303-vermilion-s","barcode":"","position":1,"option1":"Vermilion","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/541281ce7ef5483b3e4e4435ddf0aaeb.jpeg","path":"541281ce7ef5483b3e4e4435ddf0aaeb.jpeg","width":856,"height":1156,"alt":"","aspect_ratio":0.740484429065744},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/retro-plaid-double-pocket-loose-woolen-coat?variant=06ac7c32-d765-46ed-8ea8-f17302667442","available_quantity":999999999,"options":[{"name":"Color","value":"Vermilion"},{"name":"Size","value":"S"}],"off_ratio":0,"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.