${function() {
const variantData = data.variant || {"id":"eabbd6b5-681b-42af-9312-83114f9f02dd","product_id":"d73f7a6e-2998-4e9e-bff6-a175490e641c","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"662209012015-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/37a2ec9824663a32dea832bc0c6d5bc2.jpeg","path":"37a2ec9824663a32dea832bc0c6d5bc2.jpeg","width":1000,"height":1000,"alt":"Round neck slim bag hip dress","aspect_ratio":1},"wholesale_price":[{"price":38,"min_quantity":1}],"weight":"0.34","compare_at_price":"43.08","price":"38","retail_price":"43.08","available":true,"url":"\/products\/round-neck-slim-bag-hip-dress?variant=eabbd6b5-681b-42af-9312-83114f9f02dd","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":12,"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.