${function() {
const variantData = data.variant || {"id":"8956759c-403a-4821-bc93-37a08088071e","product_id":"9b0aefde-b83a-43fd-b922-0970b58745e0","title":"Gold-S","weight_unit":"kg","inventory_quantity":0,"sku":"YE0052","barcode":"","position":1,"option1":"Gold","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c065297c17edfd3e48667936b37fc2f.jpg","path":"5c065297c17edfd3e48667936b37fc2f.jpg","width":666,"height":999,"alt":"Dresseswow V-Neck Mermaid Prom Dress Sequins Long With Split YE0052","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":95.99,"min_quantity":1}],"weight":"1","compare_at_price":"95.99","price":"95.99","retail_price":"95.99","available":true,"url":"\/products\/v-neck-mermaid-prom-dress-sequins-long-with-split-ye0052?variant=8956759c-403a-4821-bc93-37a08088071e","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"},{"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}
`
}()}