${function() {
const variantData = data.variant || {"id":"cd63455a-b715-4656-860e-49613e6afdee","product_id":"254c4e0d-6202-4374-854d-1db17974e21c","title":"1 Gray leaf","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1711871758463","barcode":"","position":1,"option1":"1 Gray leaf","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":108,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"108","retail_price":"0","available":true,"url":"\/products\/organic-cotton-mei-tai-baby-carrier?variant=cd63455a-b715-4656-860e-49613e6afdee","available_quantity":1000,"options":[{"name":"Primary color","value":"1 Gray leaf"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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.