The World's Most Flexible E-Commerce Platform meets The World's Most Flexible Content Management System!
This gem is a Alchemy CMS and Spree connector.
- It provides an Alchemy module that displays Spree admin in an iframe inside Alchemy admin.
- It gives you new Essences for Alchemy called EssenceSpreeProduct and EssenceSpreeTaxon that you can use to place a Spree product and Taxon on your pages.
- Shares admin session between Alchemy and Spree.
This version runs with Spreecommerce 2.1
This version runs with Alchemy 3.0
Add this line to your application's Gemfile:
gem 'alchemy_spree', github: 'magiclabs/alchemy_spree', branch: 'master'
And then execute:
$ bundle
Install the migrations:
$ rake alchemy_spree:install:migrations
Migrate the database:
$ rake db:migrate
-
name: product contents:
- name: spree_product type: EssenceSpreeProduct
-
name: product_category contents:
- name: spree_taxon type: EssenceSpreeTaxon
$ rails g alchemy:elements --skip
- name: product elements: [product]
- name: products elements: [product_category]
<%= element.ingredient('spree_product') %>
<%= element.ingredient('spree_taxon') %>
Alchemy <3 Spree!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request