# Restricting plans in Portal

There are two ways to restrict plans (/addons) to be shown as part of the change subscription operation in Chargebee's portal.

  • Contact Chargebee support to give the plan grouping in JSON. This JSON will be used to restrict plans.
  • Chargebee has a beta feature where you can write your code in javascript and upload it to your Chargebee site. This will help you control the plans that are displayed to your end customer. You can allow a plan upgrade/downgrade as well. Contact Chargebee support to enable this feature.