We would like to add gift certificates to our Drupal 7 site running Ubercart 3. There was a module (UC Gift Certificate) for Drupal 6, which has not been ported to 7.

There appears to be some talk about using UC Discount Coupons, which has been ported to 7, to achieve this functionality, but I am very skeptical (because it was not designed for this, and one immediate problem with it is that there does not seem to be a way to partially redeem a discount coupon.)

Has anyone successfully setup gift certificates on Drupal 7 with Ubercart 3? If so, how?

2 Answers 2


There's an effort going on to port UC Gift Certificate to Drupal 7: link to issue


I have setup a system before for a client which has used purchasable coupons as a special product class to achieve the same results. It allows users to purchase a coupon as a product (which you label as Gift Certificates). A rough guide is below, as best as I can remember it:

After installing Ubercart v3 and the UC_Coupon Module:

  • Go into coupon modules' settings and allow coupons to be purchasable.

  • Go into the Coupon section and create some coupons you want to offer on your website.

    Ideally you can use the options that coupons provides to get a granular selection of what you want to discount on your website and how.

  • Make sure when you're making the coupons that you select the "can be purchased" sounding option.

    I don't remember exactly how it's phrased.

After that, go to

  • Store > Product Classes, create a new class of product called "Gift Certificates" and assign varying prices as product attributes ($5, $10, $50 etc..).

    Or you could make a separate product class for each price/style of certificate, your choice.

Either way, once you make the product class(es), you can use the created class to create as many "Gift Certificates" as you wish just like any other content type, you need to:

  • attach the coupon your selling to the product using the Features tab on the Edit Product screen.

This should allow the same effect of a gift certificate using coupons as a product you purchase.

The coupon module offers some powerful ways to create some nifty promotional sales for your products / services etc if you play around with it.

Good luck!

Edit: The only situation this wouldn't work without some custom coding is if you wanted to offer a "gift certificate" at X amount, where X = price is set by the user.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.