${function() {
const variantData = data.variant || {"id":"67186ebf-4336-408b-9dd9-7a98dc6cf950","product_id":"ca19cd4b-6874-4ae0-bc8f-6c8cff611704","title":"White-S","weight_unit":"kg","inventory_quantity":991,"sku":"WTS229839-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d08425c162d230a8bcd0988d21e01b25.jpeg","path":"d08425c162d230a8bcd0988d21e01b25.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"19.99","retail_price":"33.99","available":true,"url":"\/products\/womens-watercolor-turtle-print-v-neck-t-shirt?variant=67186ebf-4336-408b-9dd9-7a98dc6cf950","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":84};
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.