Module: CheckoutsHelper
- Defined in:
- app/helpers/checkouts_helper.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) checkout_steps
2 3 4 5 6 7 8 |
# 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.delete "shipping" if only_downloadable checkout_steps.delete "shipping_method" if only_downloadable checkout_steps end |