${function() {
const variantData = data.variant || {"id":"5b68f50d-fd4e-4ac8-b513-7b4945c84e19","product_id":"52b637a0-741e-43ae-a319-278fd2c18dcb","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"11720288-black-104x47cm-china","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/pet-car-seat-cover?variant=5b68f50d-fd4e-4ac8-b513-7b4945c84e19","available_quantity":999999999,"options":[],"off_ratio":0,"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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.