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

How to show elements in Checkout based on the Resource ID

If you'd like to show specific elements in your checkout based on the selected term's Resource ID, you can do so in the Checkout template.

To show an element for a specific Resource ID, you can use this code:

<div ng-if="selectedTerm.resource.rid == 'RID'">Only users buying this particular resource will see this...</div>

Simply replace the RID with the Resource ID value from your Piano dashboard.

Last updated: