<% var total = 0; %> <% options.each(function(option) { %> <% }); %>
<%= option.value.name %>
<% var count = 0; %> <% var planCost = 0 %> <% option.value.plans.each(function(item) { %> <% var plan = item.option %>
<% if(count == 0 && !hostingData.optionIds) { %> <% } else if (!hostingData.optionIds) { %> <% } else if (hostingData.optionIds && hostingData.optionIds.indexOf(plan.id.toString()) != -1) { %> <% planCost = plan.unit_price; %> <% total += planCost; %> <% } else { %> <% } %>   <%= plan.description %>
<% count++; %> <% }); %>
$<%= planCost.toFixed(2); %> / month
 
Additional Services
$<%= serviceTotal.toFixed(2); %>