${function() {
const variantData = data.variant || {"id":"ea6cc05d-beb1-4327-a045-d05cb559e86d","product_id":"44f10502-8a9b-49e7-af83-9bab73efbf9a","title":"as picture-S","weight_unit":"kg","inventory_quantity":1000,"sku":"149-240321-30-MT0093YF25-as picture-S","barcode":"","position":1,"option1":"as picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a415bc64157a74b517bfb5d8ff52da69.jpeg","path":"a415bc64157a74b517bfb5d8ff52da69.jpeg","width":1701,"height":2268,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"39.99","retail_price":"39.99","available":true,"url":"\/products\/mens-abstract-art-print-casual-long-sleeve-shirt-c966?variant=ea6cc05d-beb1-4327-a045-d05cb559e86d","available_quantity":999999999,"options":[{"name":"Color","value":"as picture"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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.