${function() {
const variantData = data.variant || {"id":"70d312d8-cc3c-42d5-99c1-0d916fa7baed","product_id":"d418a225-b537-4c4d-ab9a-2102881e7d00","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":0,"sku":"YE0108","barcode":"","position":1,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec886c72bdad26658d09c182d0835e8d.jpg","path":"ec886c72bdad26658d09c182d0835e8d.jpg","width":666,"height":999,"alt":"Dresseswow Scoop Sleeveless Evening Dress Mermaid Long With Split YE0108","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":89.99,"min_quantity":1}],"weight":"1","compare_at_price":"89.99","price":"89.99","retail_price":"89.99","available":true,"url":"\/products\/scoop-sleeveless-evening-dress-mermaid-long-with-split-ye0108?variant=70d312d8-cc3c-42d5-99c1-0d916fa7baed","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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}
`
}()}