How to manage multiple memberships and update prices with “data-ms-price:update” in Webflow? Answered

Post author
Alastair Budge

I’m just getting round to allowing paying members to buy a one-off course, and want to check I have understood something correctly:

As per this page:

Use the attribute data-ms-price:update="PRICE_ID" to allow members to switch between prices. For example, to upgrade from a basic price to a premium price.

Use the attribute data-ms-plan:add="PRICE_ID" to allow members to have multiple prices. This is great for courses, digital products, and a-la-carte services.

I previously had only “data-ms-price:update”, as there was only a subscription (with different pricing). I have added “data-ms-plan:add” to the one-off price, tested it out on my test site and it seems to work.

However, I am a little confused about what happens if someone signs up for the “one-off” price, and then “updates” their membership with “data-ms-price:update”. I have tried this with my test user, and it functions as I hoped - the “one-off” membership is not removed or updated to the “update” one.

Does “data-ms-price:update” only update if there is another recurring membership? Can users continue to “add” as many membership as they like?

Comments

2 comments

Please sign in to leave a comment.