<% if (ob.templateData.length) { %> <% ob.templateData.forEach((option, tdi) => { %> <% if (option.type === "LOCAL_PICKUP") { %> <% } else { %> <% } %> <% option.services.sort((a,b) => parseFloat(a.price) - parseFloat(b.price)).forEach((service, si) => { %> <% if (service.price === 0) var fShp = true; %> <% }) %> <% }); %>
<%= option.name %><%= ob.polyT('listingDetail.localPickup') %><%= ob.polyT('listingDetail.deliveryTime') %> <%= ob.polyT('listingDetail.priceFirst') %> <%= ob.polyT('listingDetail.priceSecond') %>
<%= service.name %> <%= service.estimatedDelivery %> <% if (fShp) { %>
<%= ob.polyT('listingDetail.freeShippingBanner') %>
<% } else { %> <%= ob.currencyMod.formattedCurrency( service.price, ob.pricingCurrency, ob.displayCurrency ) %> <% } %>
<% if (service.additionalItemPrice === 0) { %>
<%= ob.polyT('listingDetail.freeShippingBanner') %>
<% } else { %> <%= ob.currencyMod.formattedCurrency( service.additionalItemPrice, ob.pricingCurrency, ob.displayCurrency ) %> <% } %>
<% } else { %>
<%= ob.polyT('listingDetail.noShippingFound') %>
<% } %>