${function() {
const variantData = data.variant || {"id":"6f71665e-d8aa-43e7-8987-1f022a456aea","product_id":"38d42bf1-43f2-4f73-954b-8979dc41ce92","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"WSS247140-GRN00S","barcode":"","position":9,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e087f04f5e4b29d7bd37624a6a3a2a6a.jpeg","path":"e087f04f5e4b29d7bd37624a6a3a2a6a.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"24.99","retail_price":"33.99","available":true,"url":"\/products\/dog-high-five-casual-printed-sweater?variant=6f71665e-d8aa-43e7-8987-1f022a456aea","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":7};
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.