${function() {
const variantData = data.variant || {"id":"377c6b90-e0b5-479a-9ab3-edabda6e3ca0","product_id":"7da5eb9b-d6ea-40b1-b554-527b55e88ba8","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"JW240201958-Black-S","barcode":"","position":8,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ef5a5c22909ea9f05cf2acb5d9a02ffa.jpeg","path":"ef5a5c22909ea9f05cf2acb5d9a02ffa.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"21.99","retail_price":"23.99","available":true,"url":"\/products\/marine-animal-print-washed-short-sleeved-t-shirt9bffe148-dcde-4c59-b4a0-935369a8a839?variant=377c6b90-e0b5-479a-9ab3-edabda6e3ca0","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":8,"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.