${function() {
const variantData = data.variant || {"id":"4298a43c-1f99-4288-a5cb-14b84229c185","product_id":"47161217-e326-4afd-a5c3-1b1581cd6811","title":"brown-L","weight_unit":"kg","inventory_quantity":0,"sku":"662206131486-brown-L","barcode":"","position":7,"option1":"brown","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a2f24ac8de2be7bfaa29454b725e1d53.jpeg","path":"a2f24ac8de2be7bfaa29454b725e1d53.jpeg","width":800,"height":1000,"alt":"Fashion casual design set","aspect_ratio":0.8},"wholesale_price":[{"price":34.7,"min_quantity":1}],"weight":"0.3","compare_at_price":"64.26","price":"34.7","retail_price":"64.26","available":true,"url":"\/products\/fashion-casual-design-set?variant=4298a43c-1f99-4288-a5cb-14b84229c185","available_quantity":999999999,"options":[{"name":"color","value":"brown"},{"name":"size","value":"L"}],"off_ratio":46,"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.