${function() {
const variantData = data.variant || {"id":"8d9dc1d8-0438-4c18-a24b-04dbf72128dd","product_id":"8785a10e-1c37-42da-8a12-000cd53d2139","title":"blue-S","weight_unit":"g","inventory_quantity":999,"sku":"099-230627-A07-WT0002UNHH-blue-S","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fceaf53129663bad6e15839ff59a3c04.jpeg","path":"fceaf53129663bad6e15839ff59a3c04.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-midnights-taylor-vintage-cat-print-t-shirt?variant=8d9dc1d8-0438-4c18-a24b-04dbf72128dd","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.