getPricingPageOptions( )


Returns the options set for the current Plans & Pricing page.

getPricingPageOptions() retrieves the options set for the Plans & Pricing Page in navigateToPricingPage(). The returned PricingPageOptions object also includes any options set for the Checkout and Thank You pages.

Call this method in the page code of a default or custom Plans & Pricing page. If you need to pass the returned pricing page options to navigateToCheckout() at a later point, store the options object globally so you can access it later.

Note:

  • To work with the Pricing Plans API, a site needs to be published.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<PricingPageOptions>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?