${function() {
const variantData = data.variant || {"id":"46df9858-99db-4eb2-a111-d3b4ba6a6743","product_id":"20a348a5-3379-4ca0-88fd-2ee702c8e354","title":"Same as Picture-US2","weight_unit":"kg","inventory_quantity":999,"sku":"BG0085","barcode":"","position":1,"option1":"Same as Picture","option2":"US2","option3":"","note":"","image":null,"wholesale_price":[{"price":329.99,"min_quantity":1}],"weight":"2","compare_at_price":"329.99","price":"329.99","retail_price":"329.99","available":true,"url":"\/products\/one-shoulder-a-line-lace-long-wedding-dress?variant=46df9858-99db-4eb2-a111-d3b4ba6a6743","available_quantity":999999999,"options":[{"name":"Color","value":"Same as Picture"},{"name":"Size","value":"US2"}],"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}
`
}()}