${function() {
const variantData = data.variant || {"id":"9de7d77a-76d1-40de-b8b7-8ad8374a03e4","product_id":"8bfbdbf7-21a1-4cd0-8fbc-dc39ffdf7e70","title":"White-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"Lin22030203-White-2XL","barcode":"","position":1,"option1":"White","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6ca608bad9d35825b282d16c6dd5d947.png","path":"6ca608bad9d35825b282d16c6dd5d947.png","width":1000,"height":1200,"alt":"Turtleneck wrap Long Maxi Dress","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":40.07,"min_quantity":1}],"weight":"0","compare_at_price":"46.59","price":"40.07","retail_price":"46.59","available":true,"url":"\/products\/turtleneck-wrap-long-maxi-dress?variant=9de7d77a-76d1-40de-b8b7-8ad8374a03e4","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"2XL"}],"off_ratio":14,"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.