${function() {
const variantData = data.variant || {"id":"b491c47c-992d-41a8-adf2-c8280e2c9718","product_id":"34326477-94e9-4503-a81b-396db0238156","title":"khaki-M","weight_unit":"kg","inventory_quantity":0,"sku":"66230510976-khaki-M","barcode":"","position":1,"option1":"khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/279af10510ee91fe60f163f5302555ab.jpeg","path":"279af10510ee91fe60f163f5302555ab.jpeg","width":800,"height":800,"alt":"Literary lazy design sense of cotton and linen skirt","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49","price":"38.99","retail_price":"49","available":true,"url":"\/products\/literary-lazy-design-sense-of-cotton-and-linen-skirt?variant=b491c47c-992d-41a8-adf2-c8280e2c9718","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"M"}],"off_ratio":20,"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.