We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

How to show a different copy for Gift terms in checkout

In order to show a different copy in the Checkout template in case the user selects a gift term, you can either use the isGiftTerm()​ method or the selectedTerm.type model with the value gift.

For example:

HTML
<span ng-if="selectedTerm.type=='gift'">\n            <div class="gift-copy">\n                <i>Special gift subscription!</i>\n            </div>        \n</span>

Last updated: