${function() {
const variantData = data.variant || {"id":"466f4114-0e7d-4dc4-a333-81bfe2b49845","product_id":"a33e9108-8abd-4623-9261-0f2120a4b849","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WB0201022-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"55.99","retail_price":"0","available":true,"url":"\/products\/vintage-hippie-vibes-print-casual-shirt-3?variant=466f4114-0e7d-4dc4-a333-81bfe2b49845","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"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}
`
}()}
Product was out of stock.
Product is unavailable.