Preview animationNeeds a live customer portal to run

This block reads live subscription data, so it only runs inside a real customer portal. The animation shows what subscribers see.
What it does
Subscribers enter a new card once, then apply it to every active subscription they choose.
Why it exists
For any merchant whose subscribers have more than one active subscription. Updating a card once beats repeating it for each one.
The code
Code coming soon
The builder is cleaning this one up for sharing. Check back shortly.How to install
- Copy the code above, or download the .html file.
Your portal
- Go to
Storefront→Customer Portal→Branding→Layoutand clickAdd custom extension. - Pick
HTML with embedded CSS and JavaScriptand paste the whole file into the code editor. - Swap anything the file asks you to, like
[BRAND], product names or Quick Action IDs. - Save, click
+to add it to the layout, thenPublish. Check it on a test subscription’s magic link with?forcePreview=true, since some scripts don’t run in Preview.
Blocks are shared as-is by the people who built them. Read the code before you add it to your portal, and test it with a test subscriber first.
