# $productPage->uid()

> Returns the UID of the page. The UID is basically the same as the slug, but stays the same on multi-language sites. Whereas the slug can be translated.

- Source: `src/Cms/Page.php#L1247` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/Page.php#L1247>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$productPage->uid(): string
```

## Return type

`string`

## Parent class

`Wagnerwagner\Merx\ProductPage` inherited from `Kirby\Cms\Page`
