${function() {
const variantData = data.variant || {"id":"25d78555-b494-422a-8ef2-7c81241debec","product_id":"68070edd-5374-4341-a5e2-8625b5e74363","title":"khaki-s","weight_unit":"kg","inventory_quantity":0,"sku":"20120502-khaki-s","barcode":"","position":1,"option1":"khaki","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3fc91bee757798b4e91075967076daf.png","path":"d3fc91bee757798b4e91075967076daf.png","width":831,"height":844,"alt":"French Style Woolen Coat","aspect_ratio":0.9845971563981043},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"49.99","retail_price":"50","available":true,"url":"\/products\/french-style-woolen-coat-0akc?variant=25d78555-b494-422a-8ef2-7c81241debec","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"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.