Implement an allowed records plugin example1
This task guides you through creating a custom Allowed Records Plugin for the QuickList component, filtering product rate plans for partners in the Guided Product Selector.
This article describes the process of creating a sample custom Allowed Records Plugin on the QuickList component. The sample plugin is applied to a Guided Selling Step to display product rate plans only offered to partners in the Guided Product Selector. The plugin uses a custom field on the ZProduct object to filter the product rate plans.
- Set up the products in Zuora Product Catalog and in Zuora Quotes.
- Create the example Guided Product Steps:
- In Zuora Quotes, navigate to Zuora Config > Guided Product Selectors.
- Create a Guided Selling Flow, Partner Products Flow. Save the flow.
- Create a Guided Selling Step, AddPartnerProducts. Save the step.
- Create the example plugin and register it
- Test the new plugin
- Create a quote for New Subscription.
- When you get to the Choose Product and Charges step, click the Partner Product Selectors flow.
- Click the AddPartnerProducts step, and only the product rate plans that you marked in Step 2 will appear in the product and rate plan list.