Class: Stall::CheckoutBaseController

Inherits:
ApplicationController show all
Includes:
CheckoutHelper
Defined in:
app/controllers/stall/checkout_base_controller.rb

Instance Method Summary collapse

Methods included from CheckoutHelper

#available_shipping_methods_for, #step_path

Instance Method Details

#set_stall_layoutObject

Use specific checkout layout if needed or default to parent one



7
8
9
10
11
12
# File 'app/controllers/stall/checkout_base_controller.rb', line 7

def set_stall_layout
  return false if request.xhr?
  return Stall.config.checkout_layout if Stall.config.checkout_layout

  super
end