GiftCertificate

GiftCertificate lets a shopper enter a promotion code to apply toward an order. The legacy source places this control in the Payment Methods Selection step of checkout.

Configuration

Add the control to the payment-method selection step in the site’s page configuration. The legacy source supports the following display-text properties.

Property Default Valid values or format Effect
CertificateNumberText
String
Not specified   Gets the certificate number text.
Label
String
Not specified   Sets the certificate number label.

SitePages.config example

The following example loads GiftCertificate.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: CertificateNumberText, Label.

<Control src="GiftCertificate.ascx" />

Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.

Inherited properties

GiftCertificate inherits shared visibility and shopper-access conditions from CyberStoreBaseControl.

Validate the control

  1. Add the control to the payment-method selection step.
  2. Confirm that the configured label and certificate number text are displayed.
  3. Apply a valid promotion code and verify its effect on the order.
  4. Confirm that an invalid or unavailable code is handled appropriately for the configured payment flow.

This site uses Just the Docs, a documentation theme for Jekyll.