How can I show a members current membership name and price?

Article author
Josh Lopez
  • Updated

Use this data attribute to show a member their current membership's name and default price.

 

Display current membership name

Will appear exactly as it appears on the Memberships page and during checkout.

data-ms-member='membership.name'

 

Display current membership price

Will populate the current membership's price as a number (e.g. 1, 55, 100) without a currency symbol or billing frequency. Note: free plans will not display any value.

data-ms-member='membership.amount'

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.