https://github.com/ltsites/spree_static_pages
Extantion for Spree custom pages and generating menus with it.
https://github.com/ltsites/spree_static_pages
spree spree-ecommerce spree-extension spreecommerce
Last synced: 3 months ago
JSON representation
Extantion for Spree custom pages and generating menus with it.
- Host: GitHub
- URL: https://github.com/ltsites/spree_static_pages
- Owner: ltSites
- License: bsd-3-clause
- Created: 2019-03-27T10:45:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T12:07:57.000Z (about 1 year ago)
- Last Synced: 2025-01-16T16:43:02.973Z (4 months ago)
- Topics: spree, spree-ecommerce, spree-extension, spreecommerce
- Language: Ruby
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```ruby
gem 'spree_static_pages', github: 'ltSites/spree_static_pages'
```2. Install the gem using Bundler:
```ruby
bundle install
```3. Copy & run migrations
```ruby
bundle exec rails g spree_static_pages:install
```4. 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
```shell
<%= itsites_pages_menu('hash_tag') %>
```## Translations
1 English
2 Russian
3 Ukrainian
## Testing
Tested at Spree 3.6