${function() {
const variantData = data.variant || {"id":"f7bb218f-8e96-4bfe-9799-e3ad63bde403","product_id":"ba72b23f-d013-4ade-b064-fabfbe05cd24","title":"4inch-1pc","weight_unit":"kg","inventory_quantity":999,"sku":"PDAD_1pc_4inch","barcode":"","position":1,"option1":"4inch","option2":"1pc","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3f1b2ace386697cbdd7444417277ed77.jpeg","path":"3f1b2ace386697cbdd7444417277ed77.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/4-inch-100mm-power-drill-adapter-decal-removal-anti-scratch-practical-pinstripe-quick-eraser-wheel-rubber-effective-smooth-auto?variant=f7bb218f-8e96-4bfe-9799-e3ad63bde403","available_quantity":999999999,"options":[{"name":"Color","value":"4inch"},{"name":"pieces","value":"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.