${function() {
const variantData = data.variant || {"id":"21a6f7bd-e8e0-4ce4-abc6-557b5ba61da3","product_id":"a46e45ad-67fe-4e31-8fcf-7c1922734174","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH269414-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/132225ef7986494f99b18c4659548345.jpeg","path":"132225ef7986494f99b18c4659548345.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.99","price":"26.99","retail_price":"35.99","available":true,"url":"\/products\/womens-funny-paw-print-long-sleeve-hoodie?variant=21a6f7bd-e8e0-4ce4-abc6-557b5ba61da3","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":25,"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.