Last modified by Unirgy on Mon, February 2, 2009 09:30
Source|Old Revisions  

This is an old revision of the document!

Link to extension page:


Check the screenshots for functionality overview.


Extensions marked as “Beta” are generally not recommended for production deployment. Please test every version release on development copy.

Installing without MagentoConnect

If you have problem with downloads using MagentoConnect, unpack this file in Magento root folder:


You will not receive automatic upgrades, but the latest version will always be available at this link.

RSS feed for extension updates:


This feed is also used for update notifications in admin.

Functionality not reflected on screenshots:

  • Create GC product by choosing “Gift Certificate” product type during usual product creation.
  • Allows multiple GCs per order, uses coupon code field on shopping cart.
  • Balance check page, with PIN validation
  • Optional real-time preview of custom message

Known issues

  • Unable to use while creating admin orders
  • Shipping cost is calculated not by recipient address
  • Merging with logged in customer’s quote, cart looses entered GC codes (ask me if need more info)

To use with custom interfaces

  1. copy layout/ugiftcert.xml and template/unirgy/giftcert/ into your interface and customize

To reach balance check page, use one of the following

  • Link to URL: /ugiftcert/customer/balance
  • Use this block in your CMS page:
    {{block type="ugiftcert/balance" template="unirgy/giftcert/balance.phtml"}}



  • Add purchased/used GCs grid to customer accounts in admin
  • Add ability to remove GC from shopping cart
  • Add ability to use GC for orders created in admin.

Release notes


  • Fixed JS Error (print is null) when sending by post is disabled
  • Fixed free amount entry (empty amount_config) configuration
  • Added sending GC emails from admin (GC grid massaction)

Updated theme files:

  • template/unirgy/giftcert/product/type.phtml


  • Fixed printing invoices with GCs in admin sales orders grid
  • Fixed showing correct GC numbers to multiple recipients in the same order
  • Fixed incorrect virtual status of shopping cart
  • Fixed ignoring custom message text in new order email if none entered (please update your custom transactional emails)
  • Added send virtual card to self
  • Added configuration for custom message preview
  • Added frontend amount input configuration (range, dropdown, fixed, any amount)
  • Added showing minimal price in product list
  • Added “Expire On” default timespan
  • Added expiration date on balance check page and in email templates
  • Added showing GC total line in frontend > my account > order view, new order email, order print
  • Added product view javascript and simplified initial layout

Changed theme files:

  • template/unirgy/giftcert/product/type.phtml
  • template/unirgy/giftcert/product/media.phtml
  • template/unirgy/giftcert/balance.phtml
  • layout/ugiftcert.xml

New theme files:

  • (*) template/unirgy/giftcert/order/total.phtml

1. edit template/sales/order/items.phtml and template/sales/order/print.phtml 2. add before Grand Total:

<?php echo $this->getChild('ugiftcert_total')->setColspan($colspan)->toHtml() ?>

3. edit template/email/order/items.phtml 4. add before Grand Total:

<?php echo $this->getChildHtml('ugiftcert_total') ?>

  • Added de_DE email templates
  • Added fr_FR translation
  • Minor translation fixes
  • Extension update notifications switched to disabled by default


  • Fixed Varien_Date for 1.1.6
  • Fixed checking for duplicate GC code
  • Fixed deleting GC
  • Added slashes for translated strings in javascript
  • Added
    {{var amount}}

    to email template

  • Added configuration for PIN to be optional
  • Added balance check link in customer account dashboard
  • Added optional extension update notifications in admin

Updated files in theme:

  • template/unirgy/giftcert/product/type.phtml
  • template/unirgy/giftcert/balance.phtml
  • layout/ugiftcert.xml

WARNING: Please do extensive testing before deployment.

  • Added de_DE translation (great work of Chris Wiech)


  • Added translation file


  • Added separate email template for GCs sent to the purchaser him/hersef
  • Added PINs info to emails


  • Clearing recipient info fields when hidden to avoid confusion

Updated theme file:

  • template/unirgy/giftcert/product/type.phtml


  • Improved checking whether quote was fully paid by giftcert


  • Added hidden recipient info by default - click checkbox to show
  • Added GC amount range to configuration
  • Optional use of product attributes for GC amount range - see comments in template/unirgy/giftcert/product/type.phtml

Updated theme file:

  • template/unirgy/giftcert/product/type.phtml


  • Fixed balance check POST params processing
  • Added preventing of add to cart from product list
  • Added optional unlimited custom message length
  • Added optional recipient name, email, postal address
  • Added optional sending email notification to recipients on order completion
  • Added showing GC information and certificate numbers in order details in frontend and admin
  • Certificate numbers are shown to purchaser only if recipient wasn’t specified
  • Added treating “email only” GCs as virtual items (no shipping required&#41;
  • Moved recipient message from history table to cert

Updated theme file:

  • layout/ugiftcert.xml
  • template/unirgy/giftcert/balance.phtml
  • template/unirgy/giftcert/product/type.phtml

NOTE: Always test on development copy!


  • Restored admin_user FK - the issue appears to be a local environment


  • Removed admin_user FK
  • Fixed stock management qty
  • Added export GCs to CSV
  • Added permission resource for GC admin grid
  • Added GC expiration date