navigateToCheckoutPage( )


Directs the browser to navigate to the site visitor's Checkout Page.

The navigateToCheckoutPage() function returns a Promise that resolves when the browser successfully navigates to the Checkout Page.

Note: The checkoutId parameter is required. To get a checkoutId, use one of the following wix-ecom-backend functions:

Method Declaration
Copy
Method Parameters
checkoutIdstringRequired

ID of the checkout to navigate to.


optionsCheckoutPageOptions

Additional parameters for customizing the checkout flow.

Was this helpful?
Yes
No