When I got a product and it's simple without a parent and I call ->getProductUrl() I get a url like this:
And this is giving me:
Meanwhile, a simple product with parent is returning a URL like this, which works:
And If I try to access that url, I will get 404 page not found. Any help with this please?