Skip to main content
SubscriptionFlow Docs
API

Pre-selected Addons : How to configure using URL parameters?

Updated

SubscriptionFlow allows you to create custom experiences for your end users. You can offer them a bundle of products with their primary purchase. This is done by doing add-on configurations and sending out the addon information in the URL parameters.

Step 1 : Add on configuration

SubscriptionFlow has three types of products:

  • Base Products

  • Addon Products

  • Miscellaneous Products

If you want to offer a bundle of products to your customer where they purchase a base purchase but have the option to include addons you can configure accordingly.

For each product that you want to offer as an addon mark the product type as "Addon"

Next, make sure that you have added the add-on configuration in Web Checkout Settings.

To verify, go to Settings > Web Checkout Settings > Configurations > Advance Configurations > Addon

Step 2 : Creating a custom URL with pre-selected Addons

Suppose you want your customer to purchase a bundle of products where there is one base products and one addon product.

You will take the URL of the webcheck of your base product and link the addons in the URL paramters with the "additional_plans" tag.

https://'hpp-link'?additional_plans[product_id][]=plan_id

For example:

http://abc.subscriptionflow.com./en/hosted-page/subscribe/6aab2ed3-e3cc-4088-befe-a911f2f1a710/product/253a23c7-b6d0-4ca2-b2fd-d49257889ba2?additional\_plans[a90e700a-daaf-41be-a486-abbc774c47cd][]=391c4b4b-cfa1-48fd-8df6-a13438345783

To apply all addons use:
https://'hpp-link'?additional_plans=all

For example:

http://abc.subscriptionflow.com./en/hosted-page/subscribe/6aab2ed3-e3cc-4088-befe-a911f2f1a710/product/253a23c7-b6d0-4ca2-b2fd-d49257889ba2?additional\_plans=all

For further assistance feel free to contact onboarding@subscriptionflow.com

Was this article helpful?1 out of 1 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.