Search code examples
customizationadminruby-on-rails-4.2ruby-2.2

Customize Admin template in Shoppe


I am working on a Rails project to build an E-commerce website. I am using Shoppe gem. I refer Tryshoppe website.

As shoppe gem mounts an Admin interface for us but as per my requirements I want to customize it. I am also interested in changing the layout of admin interface.

For example, We can generate views in Device gem and customize it.

Can we generate views and mailer templates to override the default template of Shoppe gem?


Solution

  • To my knowledge the only way would be to clone the gem repo to your github and edit the gemfile as needed. Then add the gem to your app but link it to your github repo for that gem.

    This would basically translate to:

    gem 'shoppe', :git => 'git://github.com/<username>/shoppe.git'