${function() {
const variantData = data.variant || {"id":"e7d2149a-1fe2-4be7-82bf-83a60fb21b44","product_id":"2a619c70-7877-4851-989a-f2ba7e39265f","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122511-Black-S","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31d8b7a7101c52d8a69445cb8eefac66.png","path":"31d8b7a7101c52d8a69445cb8eefac66.png","width":600,"height":800,"alt":"Western Vintage Print Long Sleeve Loose Top","aspect_ratio":0.75},"wholesale_price":[{"price":24.73,"min_quantity":1}],"weight":"0.4","compare_at_price":"32","price":"24.73","retail_price":"32","available":true,"url":"\/products\/western-vintage-print-long-sleeve-loose-top?variant=e7d2149a-1fe2-4be7-82bf-83a60fb21b44","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":23,"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.