toProduct( )


Navigates to the specified product's page.

developer preview tag

Note: This method is supported in sites and mobile apps.

Method Declaration
Copy
function toProduct(productId: string): Promise<void>;
Method Parameters
productIdstringRequired

ID of the product to navigate to.

Errors

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

Did this help?