public function resolve( $name )
	{
		$langid = $this->getContext()->getLocale()->getLanguageId();

		$search = $this->manager->createSearch();
		$func = $search->createFunction( 'index.text:url', [$langid] );
		$search->setConditions( $search->compare( '==', $func, $name ) );

		$items = $this->manager->searchItems( $search, $this->domains );

		if( ( $item = reset( $items ) ) !== false ) {
			return $item;
		}

		throw new \Aimeos\Controller\Frontend\Product\Exception( sprintf( 'Unable to find product "%1$s"', $name ) );
	}