${function() {
const variantData = data.variant || {"id":"987834e4-863d-4252-9954-0ac721ececcf","product_id":"bab3b12f-ccc5-499a-806d-9ba672c3ccc4","title":"Colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103-230201-12-MT0050U3ES-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be81aa8b658f72b4b24a35fbfe46bf60.jpeg","path":"be81aa8b658f72b4b24a35fbfe46bf60.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-flower-oil-painting-art-print-casual-shirt-1?variant=987834e4-863d-4252-9954-0ac721ececcf","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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.