navigateToPricingPage( )


Directs site visitor to the Pricing & Plans page in the plan purchase flow.

The navigateToPricingPage() function directs the site visitor to the active Plans & Pricing page from any other page on your site. It also provides options to customize the Checkout and Thank You pages that come later in the plan purchase flow. This allows you to customize each of the pages in the flow with a single function call.

Notes:

  • Setting the minStartDate and maxStartDate parameters will have no effect unless you've allowed customers to set the plan start date.
  • To work with the Pricing Plans API, you need to publish your site.
Method Declaration
Copy
Method Parameters
optionsPricingPageOptionsRequired

Options to customize the Plans & Pricing page and subsequent flow.

Did this help?