${function() {
const variantData = data.variant || {"id":"7f09e6be-3447-4579-a3ee-434be4456314","product_id":"01c9878e-6b36-4ce6-92f2-8f89c32aec60","title":"beige-S","weight_unit":"kg","inventory_quantity":1000,"sku":"09365-beige-S","barcode":"","position":1,"option1":"beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5f8641fe5c2689778bbfb617db1af8c9.png","path":"5f8641fe5c2689778bbfb617db1af8c9.png","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/long-line-textured-hooded-sweater?variant=7f09e6be-3447-4579-a3ee-434be4456314","available_quantity":999999999,"options":[{"name":"Color","value":"beige"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.