${function() {
const variantData = data.variant || {"id":"0ee645a3-e4b3-4f0e-a9b2-b2ea231e2258","product_id":"b3190f68-077e-401e-8714-f2f93e5d307c","title":"Jasper-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin22030205-Jasper-S","barcode":"","position":1,"option1":"Jasper","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc565d3c423bf79c41f7558a34825075.jpg","path":"cc565d3c423bf79c41f7558a34825075.jpg","width":800,"height":1000,"alt":"Backless Ruffled Sleeves Linen Dress","aspect_ratio":0.8},"wholesale_price":[{"price":37.38,"min_quantity":1}],"weight":"0","compare_at_price":"61.92","price":"37.38","retail_price":"61.92","available":true,"url":"\/products\/backless-ruffled-sleeves-linen-dress-skic-1ge1?variant=0ee645a3-e4b3-4f0e-a9b2-b2ea231e2258","available_quantity":999999999,"options":[{"name":"Color","value":"Jasper"},{"name":"Size","value":"S"}],"off_ratio":40,"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.