# order_decorator.rb
Spree::Order.class_eval do
insert_checkout_step :company, :before => :address
end
# _company.html.erb
<%= button_tag "Go to next step", :type => "submit", :class => 'btn btn-success' %>
Works fine in development. Works fine in production, until a sudo bluepill restart is run. After a restart is run the site continues to load fine but I can't advance past this custom checkout step.
I'm stumped on this one: not sure what could be causing the issue. I messed around with spree.pill with no luck. Has anyone encountered this problem?
Some posts I found while trying to solve the issue:
I have a custom checkout step:
Works fine in development. Works fine in production, until a
sudo bluepill restart
is run. After a restart is run the site continues to load fine but I can't advance past this custom checkout step.I'm stumped on this one: not sure what could be causing the issue. I messed around with spree.pill with no luck. Has anyone encountered this problem?
Some posts I found while trying to solve the issue: