Spree Option type description
This Spree extension adds a description field to Spree::OptionType and displays it on the product details page. It’s useful when you want to provide additional context or guidance for product options like Size, Color, Material, etc.
Features
- Adds a
descriptioncolumn tospree_option_types - Displays option type descriptions on the product show page
- Supports HTML content in descriptions for rich formatting
Installation
-
Add the extension to your Gemfile:
gem 'spree_option_type_description', git: 'https://github.com/be-agile/spree_option_type_description' -
Then run bundle
bundle install -
Run the install generator
bundle exec rails g spree_option_type_description:install -
Run the database migrations
rails db:migrate -
Restart your server
If your server was running, restart it so that it can find the assets properly.
License
This extension is available as open source under the terms of either: