${function() {
const variantData = data.variant || {"id":"0629c16f-2238-4e93-b971-9215df675a10","product_id":"34326477-94e9-4503-a81b-396db0238156","title":"navy-M","weight_unit":"kg","inventory_quantity":0,"sku":"66230510976-navy-M","barcode":"","position":5,"option1":"navy","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2cd924d354ee9accc4397cbb7890f8e3.jpeg","path":"2cd924d354ee9accc4397cbb7890f8e3.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=0629c16f-2238-4e93-b971-9215df675a10","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"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.