${function() {
const variantData = data.variant || {"id":"7ccabd9b-3350-42f0-99da-e07a762e7f10","product_id":"3f1c6f75-39a9-47cc-a544-ad92afa70f7c","title":"grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"162-240527-02-MT0071UJJQ-grey-S","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5101e5e55223ed7521f6c48eda25b122.jpeg","path":"5101e5e55223ed7521f6c48eda25b122.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"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\/independence-day-rainbow-element-colorful-simple-drawing-printed-t-shirt?variant=7ccabd9b-3350-42f0-99da-e07a762e7f10","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"S"}],"off_ratio":0,"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.