> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: toProduct(productId: string) # Method package: wixStoresFrontend # Method menu location: wixStoresFrontend --> Navigate --> toProduct # Method Link: https://dev.wix.com/docs/velo/apis/wix-stores-frontend/navigate/to-product.md # Method Description: Navigates to the specified product's page. ![developer preview tag](https://user-images.githubusercontent.com/89579857/213133550-2b4fa3e8-e8fc-4513-a733-00abcc70925c.png) > **Note:** This method is supported in [sites](https://dev.wix.com/docs/develop-websites.md) and [mobile apps](https://www.wix.com/app-builder). # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Navigate to a product's page ```javascript // This is example shows code for a mobile app. // To convert the code for a site, use // onClick() instead of onPress(). import { navigate } from 'wix-stores-frontend'; $w.onReady(() => { // Apply to each item in a repeater. $item('#productImage').onPress(e => { console.log("Navigating to product page."); navigate.toProduct(e.context.itemId) .catch((error) => { console.error("Error navigating to product page:", error); }) }) }) ``` ---