${function() {
const variantData = data.variant || {"id":"d78e7048-e6f4-4901-8057-9b504e6f58aa","product_id":"63e12431-69b9-4d06-9de9-acfedbc20661","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS258737-PIN00S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/130ce9971a0175f98029b9989116340f.jpeg","path":"130ce9971a0175f98029b9989116340f.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"23.99","retail_price":"32.99","available":true,"url":"\/products\/womens-life-is-better-with-dogs-v-neck-long-sleeve-t-shirt?variant=d78e7048-e6f4-4901-8057-9b504e6f58aa","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":27,"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.