${function() {
const variantData = data.variant || {"id":"d43b6a48-761d-48e2-9b54-04d809b9561b","product_id":"3004d709-88f7-4429-974b-ccf3e0591357","title":"Red-2pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"Retractable-wiper-2pcs-Red","barcode":"","position":1,"option1":"Red","option2":"2pcs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/648aac4a575605fd4cb78a9a639fba13.jpeg","path":"648aac4a575605fd4cb78a9a639fba13.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/auto-car-rearview-mirror-wiper-scratch-water-clearner-anti-fogging-anti-raining-scraper-car-accessories?variant=d43b6a48-761d-48e2-9b54-04d809b9561b","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"pieces","value":"2pcs"}],"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 + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.