${function() {
const variantData = data.variant || {"id":"013744e8-de38-4e3d-baf8-8b40cc503cb2","product_id":"4c42b2c9-d71b-4101-8cea-100924a71c1f","title":"Scribing Ruler","weight_unit":"kg","inventory_quantity":1000,"sku":"PCGW-Scribing Ruler","barcode":"","position":1,"option1":"Scribing Ruler","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/320ab62601013ba1fc7ef8f3457bab63.jpeg","path":"320ab62601013ba1fc7ef8f3457bab63.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/profile-scribing-ruler-contour-gauge-with-lock-for-skirting-scribe-measuring-shape-gauge-joinery-woodworking-tool?variant=013744e8-de38-4e3d-baf8-8b40cc503cb2","available_quantity":999999999,"options":[{"name":"Color","value":"Scribing Ruler"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.