Search code examples
ruby-on-railsspree

Spree 3.0 how to add a footer


With spree3.0 there is no footer by default. All themes are outdated with this version. How can one add footer with latest version of spree.


Solution

  • I was able to add a footer by using the following deface override:

    Deface::Override.new(virtual_path:     "spree/layouts/spree_application",
                     insert_after:     "body",
                     name:             "footer",
                     partial:          "spree/shared/footer")
    

    If you haven't already you will need to create the file structure in views > spree > shared. This is where you will add your _footer.html.erb partial file