${function() {
const variantData = data.variant || {"id":"b3f2a190-72f7-4615-8267-fc239db28282","product_id":"d54bffbf-83f4-4b82-b989-24243c688598","title":"white","weight_unit":"kg","inventory_quantity":1000,"sku":"UN19313-C024","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12.99","retail_price":"0","available":true,"url":"\/products\/strapless-ice-silk-bra?variant=b3f2a190-72f7-4615-8267-fc239db28282","available_quantity":999999999,"options":[{"name":"Color","value":"white"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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.