${function() {
const variantData = data.variant || {"id":"59c9d32b-de5b-4de9-86b1-f74d2625a15a","product_id":"f642d0fe-54e4-4568-8d32-70226469504b","title":"Dark Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS267145-DGY00S","barcode":"","position":7,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84f55c3f38bbede79806d107a44d608d.jpeg","path":"84f55c3f38bbede79806d107a44d608d.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"26.99","retail_price":"41.99","available":true,"url":"\/products\/womens-hello-darkness-my-old-friend-print-sweatshirt?variant=59c9d32b-de5b-4de9-86b1-f74d2625a15a","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"name":"Size","value":"S"}],"off_ratio":36,"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.