We’ve migrated our documentation to a new site, which means some URLs have changed. If you hit a broken link, submit a support ticket.
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'">
    <div class="gift-copy">
        <i>Special gift subscription!</i>
    </div>
</span>

Last updated: