shopware 6 article number with random string in url
Overwriting SeoUrlPlaceholderHandlerInterface
would not help, because this is for generating the URLs which are stored in the Shopware 6 database.
What you want is to overwriting the routing, so Shopware only matches by the auto increment Id.
Use the debug bar to find out which router is used for the product pages and modify it.
Starting points:
-
\Shopware\Storefront\Framework\Routing\RequestTransformer::resolveSeoUrl
-
\Shopware\Core\Content\Seo\SeoResolver::resolve