${function() {
const variantData = data.variant || {"id":"a7f30919-44e5-4fdd-a89d-5073d37efa8a","product_id":"9cc16eb0-d8c6-4ada-b27a-07f7bd8df293","title":"white-S","weight_unit":"g","inventory_quantity":1000,"sku":"099-230627-A08-WT000228ZK-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9d38a1825b6014b0b7bbe88611fd82f.jpeg","path":"b9d38a1825b6014b0b7bbe88611fd82f.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"200","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/womens-i-pet-cats-i-read-books-and-i-forget-things-print-t-shirt?variant=a7f30919-44e5-4fdd-a89d-5073d37efa8a","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":9};
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.