${function() {
const variantData = data.variant || {"id":"df4c250d-0ee3-42f9-b791-90a73979a347","product_id":"8318364c-ca3e-4923-92e9-2581f5347bf8","title":"Same as Picture-US2","weight_unit":"kg","inventory_quantity":0,"sku":"LW0263","barcode":"","position":1,"option1":"Same as Picture","option2":"US2","option3":"","note":"","image":null,"wholesale_price":[{"price":189.99,"min_quantity":1}],"weight":"1","compare_at_price":"189.99","price":"189.99","retail_price":"189.99","available":true,"url":"\/products\/elegant-sleeves-a-line-jewel-short-wedding-dress-with-tulle-lace?variant=df4c250d-0ee3-42f9-b791-90a73979a347","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}
`
}()}