$productPage->parentId()
Returns the parent id, if a parent exists
$productPage->parentId(): null|string
Return type
null or string
Parent class
Wagnerwagner\Merx\ProductPage inherited from Kirby\Cms\Page
Returns the parent id, if a parent exists
$productPage->parentId(): null|string
null or string
Wagnerwagner\Merx\ProductPage inherited from Kirby\Cms\Page