${function() {
const variantData = data.variant || {"id":"8b0357e2-f184-4dc0-b960-161f7abe93cd","product_id":"51c5ab87-3c1a-42d1-82df-8b20adac86e4","title":"light coffee-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211171820-light coffee-one size","barcode":"","position":2,"option1":"light coffee","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6bb487b4f457998d111d50e5e44923cf.jpeg","path":"6bb487b4f457998d111d50e5e44923cf.jpeg","width":1000,"height":1000,"alt":"Elegant coat long solid color straight coat","aspect_ratio":1},"wholesale_price":[{"price":51.73,"min_quantity":1}],"weight":"0.4","compare_at_price":"86.22","price":"51.73","retail_price":"86.22","available":true,"url":"\/products\/elegant-coat-long-solid-color-straight-coat?variant=8b0357e2-f184-4dc0-b960-161f7abe93cd","available_quantity":999999999,"options":[{"name":"color","value":"light coffee"},{"name":"size","value":"one size"}],"off_ratio":40,"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.