${function() {
const variantData = data.variant || {"id":"bbc72da5-ef05-4832-a015-7696ff759d0f","product_id":"56215131-63bf-41bb-9891-e21fd10846be","title":"sand-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-240221-A02-MT0071HWV4-sand-S","barcode":"","position":1,"option1":"sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d723b41ef84b1977bb526333f3fd7bfc.jpeg","path":"d723b41ef84b1977bb526333f3fd7bfc.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/vintage-crow-plant-pattern-art-design-t-shirt?variant=bbc72da5-ef05-4832-a015-7696ff759d0f","available_quantity":999999999,"options":[{"name":"Color","value":"sand"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.