${function() {
const variantData = data.variant || {"id":"08a4eb2c-dbb5-4f01-97b4-93f61e257a73","product_id":"512c7cba-65dc-4395-a5d7-402b53c1201c","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV395010-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d386d00b0bc8ee3a68a0533c9e2ab4c0.jpeg","path":"d386d00b0bc8ee3a68a0533c9e2ab4c0.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.63","price":"17.99","retail_price":"26.63","available":true,"url":"\/products\/mens-bloody-problem-solved-halloween-print-vest?variant=08a4eb2c-dbb5-4f01-97b4-93f61e257a73","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":6};
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.