${function() {
const variantData = data.variant || {"id":"f6f3c8fe-6e46-4dd2-ab36-5f5118ac340c","product_id":"dd8326a6-6944-490a-9d4e-ba80f8857ef1","title":"black-S","weight_unit":"kg","inventory_quantity":996,"sku":"128-240129-A01-MT0071AV6W-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57c75d9d87cec3c5ede40131cbcabe33.jpeg","path":"57c75d9d87cec3c5ede40131cbcabe33.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/cute-black-briquette-cat-animal-art-print-design-t-shirt?variant=f6f3c8fe-6e46-4dd2-ab36-5f5118ac340c","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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.