${function() {
const variantData = data.variant || {"id":"885c2045-920a-4097-8395-aa34e4ec66b2","product_id":"fd6420b1-b4a1-429d-84ee-145f5e049bdd","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-231211-A30-MT0095T4RS-grey-S","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77c5fdd3c099f0e17cf5aabe268bcd92.jpeg","path":"77c5fdd3c099f0e17cf5aabe268bcd92.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"31.99","price":"31.99","retail_price":"31.99","available":true,"url":"\/products\/cool-cat-under-light-and-shadow-art-print-casual-hoodie-sweatshirt?variant=885c2045-920a-4097-8395-aa34e4ec66b2","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"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.