${function() {
const variantData = data.variant || {"id":"e6e67212-b4df-4860-beb7-904b2a661b84","product_id":"f623fc4f-d171-4580-8c16-138f00c2d238","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"19.99","retail_price":"33.99","available":true,"url":"\/products\/unisex-vintage-graphic-print-tank-top-1?variant=e6e67212-b4df-4860-beb7-904b2a661b84","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":41,"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.