Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Coupon based gift certificates for Spree
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
lib
README.markdown
Rakefile
coupon_gift_certificates_extension.rb
coupon_gift_certificates_hooks.rb

README.markdown

Coupon Gift Certificates

This extension utilizes Spree's existing coupon system for gift certificates. The gift certificates in this extension apply to items, tax and shipping.

This extension works with Spree 0.10 and 0.11 versions.

Potential integration points for this extension include:

  • order confirmation mailer updates to include gift certificate information
  • additional form for gift certificate submission
  • navigation updates to include gift certificate product

To insert order mailers, include:

  • <%= render :partial => '/order_mailer/gift_certificate.plain.erb' %> in text order confirmation template
  • <%= render :partial => '/order_mailer/gift_certificate.html.erb' %> in html order confirmation template

To insert special form, include:

<%= render :partial => 'gift_certificate_form' if @checkout.state == 'payment' %> in the checkouts/edit template

  • Note that this must not be INSIDE the payment checkout form
Something went wrong with that request. Please try again.