${function() {
const variantData = data.variant || {"id":"94800935-c938-46b9-a4e1-7d487a2031ca","product_id":"79e0dcf0-b68e-4484-8c08-df3e06c2fd84","title":"blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-240105-A25-MT0071VLE3-blue-S","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b5a23616915c122294424827eb4b0dd3.jpeg","path":"b5a23616915c122294424827eb4b0dd3.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/unisex-shirt-oil-painting-ocean-fish-art-print-design-t-shirt-vevr?variant=94800935-c938-46b9-a4e1-7d487a2031ca","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"S"}],"off_ratio":0,"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.