This is a simply contact form you can install on your Spree Commerce site that will allow a user to send you a message off the site.
All the info is emailed to the recipient, as well as being written to the database. Database records can be edited or destroyed, as well as exported in CSV format.
- Formstastic, http://github.com/justinfrench/formtastic
- Haml, http://haml-lang.com/
- FasterCSV, http://rubyforge.org/projects/fastercsv/
- HAML templates cannot be parsed: Run
haml --rails <RAILS_ROOT>
to create a plugin loader init.rb in vendor/plugins/haml
- Place the contact extension before your site extension in SPREE_EXTENSIONS_LOAD_ORDER to overload templates and configuration preferences.
- Navigate to
/contacts/new
within your Spree application to see a contact form. The templates can be copied to your site extension for customization. Runrake routes
for more advanced information.
Copyright © 2010 Brandon Calloway. Released under the MIT license.