${function() {
const variantData = data.variant || {"id":"85aabc97-191b-4568-9ce1-2772f81da90b","product_id":"1821f414-f022-420e-ba6e-1361b2580b69","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122507-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e361e0f8a5df30c9a99bbc226e903273.png","path":"e361e0f8a5df30c9a99bbc226e903273.png","width":600,"height":800,"alt":"Vintage Oil Painting Prints Long Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":26.47,"min_quantity":1}],"weight":"0.4","compare_at_price":"30","price":"26.47","retail_price":"30","available":true,"url":"\/products\/vintage-oil-painting-prints-long-sleeve-sweatshirt?variant=85aabc97-191b-4568-9ce1-2772f81da90b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":12,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.