${function() {
const variantData = data.variant || {"id":"85c89c2c-779e-4d42-9ad4-6162b323fa6f","product_id":"54e2a074-cb0b-4539-8c77-f673a2085f44","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV390767-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/df97b35cd404dd05a8f79a6db5acbf9d.jpeg","path":"df97b35cd404dd05a8f79a6db5acbf9d.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.73","price":"17.99","retail_price":"25.73","available":true,"url":"\/products\/mens-bloody-im-fine-halloween-print-vest?variant=85c89c2c-779e-4d42-9ad4-6162b323fa6f","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.