${function() {
const variantData = data.variant || {"id":"ed217af1-db62-495d-9011-1f99da26fe2f","product_id":"fb01efcf-bc97-4821-a9af-7a87c6beed88","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230522-E01-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/af2abe0cbadbef553e0b8c70ce8c0840.jpg","path":"af2abe0cbadbef553e0b8c70ce8c0840.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/summer-slim-type-short-sleeved-temperament-commuter-t-shirt-gradient-color-casual-torn-shoulder-round-neck-set-head-urban-wind-tops?variant=ed217af1-db62-495d-9011-1f99da26fe2f","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.