${function() {
const variantData = data.variant || {"id":"dfceb1c8-d956-4c22-9e67-3353c3d7614a","product_id":"369dfb37-d760-424d-b9a5-f4698530be8c","title":"1SET","weight_unit":"kg","inventory_quantity":1000,"sku":"DLCTCLCS-1Set","barcode":"","position":1,"option1":"1SET","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8d0b0d21dae0f06135379634061b01f9.jpeg","path":"8d0b0d21dae0f06135379634061b01f9.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/3pcs-diy-leather-craft-tool-capital-lower-case-stamping-set-stamp-punch-kit-leather-punch-lots-custom-logo-tools?variant=dfceb1c8-d956-4c22-9e67-3353c3d7614a","available_quantity":999999999,"options":[{"name":"Style","value":"1SET"}],"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.