Skip to content

Extantion for Spree custom pages and generating menus with it.

License

Notifications You must be signed in to change notification settings

ltSites/spree_static_pages

Repository files navigation

Spree Static Pages

This gem for easy administration of navigation menus and content or static pages from the admin section of Spree.

Installation

  1. Add this extension to your Gemfile with this line:
gem 'spree_static_pages', github: 'ltSites/spree_static_pages'
  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_static_pages:install
  1. Restart your server

If your server was running, restart it so that it can find the assets properly.

Add menu to view

Insert it to your spree view

<%= itsites_pages_menu('hash_tag') %>

Translations

1 English

2 Russian

3 Ukrainian

Testing

Tested at Spree 3.6