${function() {
const variantData = data.variant || {"id":"e8234e18-cff7-4bb4-92d8-5c0c439bc8ab","product_id":"1821f414-f022-420e-ba6e-1361b2580b69","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122507-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ba18242a03af1557ec87305717025d3.png","path":"5ba18242a03af1557ec87305717025d3.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=e8234e18-cff7-4bb4-92d8-5c0c439bc8ab","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.