Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. The Developer Center continues to support Commerce 6.13.0 through 7.4.1.Visit new site

Gift certificate purchasing

Gift certificate purchasing

Overview

This feature allows customers to purchase electronic gift certificates.

Key classes and files

  • GiftCertificateServiceImpl - Provide services to save, update, remove and find gift certificates.
  • GiftCertificateFormBeanImpl - Form backing bean representing a gift certificate.
  • create.vm - Velocity template for ordering gift certificate.
  • GiftCertificateRecipientEmail.html.vm - Velocity templates for sending html email to recipient with gift certificate code.
  • GiftCertificateRecipientEmail.txt.vm - Velocity templates for sending text email to recipient with gift certificate code.
  • GiftCertificateImpl - Represents a gift certificate.

How it works

As of Elastic Path Commerce 6.2, gift certificates are handled the same way as standard products (a product type named GIFT_CERTIFICATES), but with some product personalization.