${function() {
const variantData = data.variant || {"id":"875eed8c-eac8-448b-b59d-12d21bbc3afa","product_id":"a4efa3c5-2750-494b-9c7c-9254d7ad8792","title":"","weight_unit":"g","inventory_quantity":1000,"sku":"DJ-0125","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"120","compare_at_price":"0","price":"14.99","retail_price":"0","available":true,"url":"\/products\/sale?variant=875eed8c-eac8-448b-b59d-12d21bbc3afa","available_quantity":999999999,"options":[],"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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.