Affliates: Calculate percentage on order subtotal not total including freight (this should be an option maybe?). Fix templates for Bootstrap. Fix notice errors on undefined indexes. Fix number display to 2 decimal places.