${function() {
const variantData = data.variant || {"id":"bc5712ad-92ff-4ac6-9456-c4e8971b4062","product_id":"b34956bc-3c97-4614-97c5-513ce7fffe18","title":"Left(1pc)","weight_unit":"kg","inventory_quantity":1000,"sku":"PDCD-Left(1pc","barcode":"","position":1,"option1":"Left(1pc)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/44c05c66a4bd95e562bb3c515abf6d14.jpeg","path":"44c05c66a4bd95e562bb3c515abf6d14.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/2pcs-pet-dog-car-door-cover-protector-waterproof-600d-oxford-cloth-protection-mats-non-slip-scratch-guard-for-pets-dog?variant=bc5712ad-92ff-4ac6-9456-c4e8971b4062","available_quantity":999999999,"options":[{"name":"Quantity","value":"Left(1pc)"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "percentage";
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}
`
}()}
Product was out of stock.
Product is unavailable.