${function() {
const variantData = data.variant || {"id":"7a50ddc6-c08d-48a1-9515-7910854232ce","product_id":"ec977d26-baa4-4a19-a5fc-9d5feddeec28","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS263931-WHI00S","barcode":"","position":9,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4179ed87850ba4d54791d1adaaa0336.jpeg","path":"b4179ed87850ba4d54791d1adaaa0336.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"24.99","retail_price":"38.99","available":true,"url":"\/products\/retro-dragonfly-whisper-words-of-wisdom-let-it-be-print-sweatshirt?variant=7a50ddc6-c08d-48a1-9515-7910854232ce","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.