Module: CheckoutsHelper

Defined in:
app/helpers/checkouts_helper.rb

Instance Method Summary collapse

Instance Method Details

#checkout_stepsObject



2
3
4
5
6
# File 'app/helpers/checkouts_helper.rb', line 2

def checkout_steps                                                      
  checkout_steps = %w{registration billing shipping shipping_method payment confirmation}
  checkout_steps.delete "registration" if current_user
  checkout_steps
end