Skip to content

Simple contact form for Spree site that adds records to the database as well as emailing the recipient.

Notifications You must be signed in to change notification settings

netactive/spree-contact

 
 

Repository files navigation

Spree Contact Form

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.

Requirements

Known problems

  • HAML templates cannot be parsed: Run haml --rails <RAILS_ROOT> to create a plugin loader init.rb in vendor/plugins/haml

Usage

  • 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. Run rake routes for more advanced information.

Copyright © 2010 Brandon Calloway. Released under the MIT license.

About

Simple contact form for Spree site that adds records to the database as well as emailing the recipient.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%