${function() {
const variantData = data.variant || {"id":"b92e0918-328d-41d0-86e6-8b7ad73c83b2","product_id":"49a309ec-e8c8-415d-806b-15e1f38fdbac","title":"coffee-S","weight_unit":"kg","inventory_quantity":0,"sku":"662305221548-coffee-S","barcode":"","position":1,"option1":"coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d36a345334d7fb9ba451740551cf0c22.jpeg","path":"d36a345334d7fb9ba451740551cf0c22.jpeg","width":800,"height":1000,"alt":"Vintage Botanical Print Casual Two-Piece Set","aspect_ratio":0.8},"wholesale_price":[{"price":46.73,"min_quantity":1}],"weight":"0.4","compare_at_price":"60","price":"46.73","retail_price":"60","available":true,"url":"\/products\/vintage-botanical-print-casual-two-piece-set?variant=b92e0918-328d-41d0-86e6-8b7ad73c83b2","available_quantity":999999999,"options":[{"name":"Color","value":"coffee"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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}
`
}()}
Product was out of stock.
Product is unavailable.