${function() {
const variantData = data.variant || {"id":"30d194d7-e37f-47ac-95f6-873dcf36066e","product_id":"7aaa0bfa-e02c-4a33-abda-687985290532","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"AC028","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"51","price":"35","retail_price":"51","available":true,"url":"\/products\/handmade-soft-tulle-flower-hair-comb-with-floating-rhinestones-and-simulated-pearls-beads-bridal-wedding-accessories-sp028?variant=30d194d7-e37f-47ac-95f6-873dcf36066e","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":31,"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}
`
}()}
Product was out of stock.
Product is unavailable.