# $productPage->findPageOrDraft()

> Finds a single published or draft child

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

```php
$productPage->findPageOrDraft(string $path): null|Kirby\Cms\Page
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$path` | `string` | `–` |

## Return type

`null|Kirby\Cms\Page`

## Parent class

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