${function() {
const variantData = data.variant || {"id":"3f4687f5-ad92-4d00-8a70-d3de8788066e","product_id":"4dad128c-0848-44a0-a3b9-0be427da24d3","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":38.62,"min_quantity":1}],"weight":"0","compare_at_price":"45.44","price":"38.62","retail_price":"45.44","available":true,"url":"\/products\/backless-ruffled-sleeves-linen-dress-y5v8?variant=3f4687f5-ad92-4d00-8a70-d3de8788066e","available_quantity":999999999,"options":[{"name":"Color","value":"Jasper"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":1};
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.