This is an old revision of the document!
Extensions marked as “Beta” are generally not recommended for production deployment.
Please test every version release on development copy.
Right after installation please go to Admin > System > Cache Management > Catalog and run Refresh Flat Catalog Products.
Per your requests, there’s a donation link available now!
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
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)
copy layout/ugiftcert.xml and template/unirgy/giftcert/ into your interface and customize
edit template/sales/order/items.phtml and template/sales/order/print.phtml
add before Grand Total TR tag:
<?php echo $this->getChild('ugiftcert_total')->setColspan($colspan)->toHtml() ?>
edit template/email/order/items.phtml
add before Grand Total TR tag:
<?php echo $this->getChildHtml('ugiftcert_total') ?>
edit template/catalog/product/price.phtml
search and replace all
Mage::helper
to
$this->helper
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 using GC for admin orders.
Add sending emails for GCs created in admin.
Add admin notifications for new GCs.
Added tax class attribute for GC products.
Added removal of GCs from cart.
Added collapsed/expanded view of GCs in cart totals.
Fixed showing GCs as negative in cart totals.
Removed ambiguous letters from GC number and
PIN.
New theme files: IMPORTANT, COPY TO YOUR THEME:
This release focused mostly on handling GCs and multiple currencies.
Fixed unlimited message length
Fixed GC grid filter by status
Fixed getting GC amount configuration from product attribute in catalog product list
Fixed logic working with multiple currencies
Fixed error message when sending emails generated in admin
Added different GC amount configuration per currency
Added purchasing GC amount and using GC balance in customer’s currency
Added automatically generated product attribute for amount configuration (add to your attribute sets manually)
Added new GC confirmation emails on payment completion (thanks to Vincent [vmaillot])
Added changing GC status to Active on payment completion
Changed theme files:
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:
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:
WARNING: Please do extensive testing before deployment.
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:
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)
Moved recipient message from history table to cert
Updated theme file:
NOTE: Always test on development copy!