Skip to content
Branch: master
Find file History
kennyadsl Merge pull request #3128 from nebulab/kennyadsl/deprecate-payment_sou…
…rces-ivar

Deprecate @payment_sources ivar in checkout controller
Latest commit 6578c9d Mar 12, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app Deprecate @payment_sources ivar from checkout payments controller Mar 1, 2019
config Create Spree::CouponCodesController for frontend Nov 19, 2018
lib
script Rubocop auto Mar 8, 2018
spec
LICENSE
README.md
Rakefile
solidus_frontend.gemspec

README.md

solidus_frontend

Frontend contains controllers and views implementing a storefront and cart for Solidus.

Override views

In order to customize a view you should copy the file into your host app. Using Deface is not recommended as it provides lots of headaches while debugging and degrades your shops performance.

Solidus provides a generator to help with copying the right view into your host app.

Simply call the generator to copy all views into your host app.

$ bundle exec rails g solidus:views:override

If you only want to copy certain views into your host app, you can provide the --only argument:

$ bundle exec rails g solidus:views:override --only products/show

The argument to --only can also be a substring of the name of the view from the app/views/spree folder:

$ bundle exec rails g solidus:views:override --only product

This will copy all views whose directory or filename contains the string "product".

Handle upgrades

After upgrading Solidus to a new version run the generator again and follow on screen instructions.

Testing

Run the tests

bundle exec rspec
You can’t perform that action at this time.