We have less than you ordered of the following product(s)
If the product does not arrive by the time your order is processed, what would you like us to do?
- <% var lines = cart.get('lines') , outOfStock = [] , backOrdered = []; %><% lines.each(function(line, index){ var item = line.get('item') , line_id = 'item' + item.id , stock_info = item.getStockInfo() , quantity = line.get('quantity'); if (quantity > stock_info.stock && item.get('outofstockbehavior') != 'Remove item when out-of-stock' && item.get('outofstockbehavior') != 'Allow back orders with no out-of-stock message') { outOfStock.push(line); } }); %><% if(outOfStock.length > 0){ %><% _.each(outOfStock, function(line){ var item = line.get('item'); %>
- <% if(item.getStockInfo().stock > 0) { %><%= _('Remove remaining amount from my order').translate() %><% } else { %><%= _('Remove from my order').translate() %><% } %>
- <%= _('Email me when available').translate() %>
- <% if(item.getStockInfo().stock > 0) { %><%= _('Backorder remaining').translate() %><% } else { %><%= _('Backorder').translate() %><% } %>
Description | Ordered | Available |
---|---|---|
<%= item.get('_name') %> | <%= item.get('quantity') %> | <%= item.getStockInfo().stock %> |