Hey Randy,

You can override the CheckoutController's layout by using a decorator
(app/controllers/spree/checkout_controller_decorator.rb):

Spree::CheckoutController.class_eval do
layout :something_else
end

You may need to override the layout for the OrdersController too.

Hope that helps!

On Tue, Feb 12, 2013 at 4:12 AM, Randy Terbush wrote:

Can someone lead me to where I could change the default layout for the
checkout process?

Rather than hacking on the spree_application.html.erb layout, I would like
to specify something like views/spree/checkout/index.html.erb as the
default layout.

Right or wrong, I've made a conscience decision to avoid DeFace for this
first site implementation. I'm more comfortable overriding the layout
templates for now. (I know, I may regret this decision... :-) )

Appreciate any help

--
You received this message because you are subscribed to the Google Groups
"Spree" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to spree-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spree-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedFeb 12, '13 at 10:29p
activeFeb 12, '13 at 10:29p
posts1
users1
websitespreecommerce.com
irc#RubyOnRails

1 user in discussion

Ryan Bigg: 1 post

People

Translate

site design / logo © 2022 Grokbase