${function() {
const variantData = data.variant || {"id":"22c4800d-532d-4e7d-84de-7d45a518241c","product_id":"f41bad23-0233-4fa4-b238-f70849c25c42","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230506781-black-S","barcode":"","position":7,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d8ca09e9f56aa3f92db84cf34cb7b29.jpeg","path":"0d8ca09e9f56aa3f92db84cf34cb7b29.jpeg","width":800,"height":800,"alt":"Cotton and linen retro loose all-match wide-leg pants","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49","price":"37.99","retail_price":"49","available":true,"url":"\/products\/cotton-and-linen-retro-loose-all-match-wide-leg-pants?variant=22c4800d-532d-4e7d-84de-7d45a518241c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.