Posted on 22/11/2017 22:24:35
Hi Nicolai,
The url is http://yolanda.dw-demo.com/search-results?q=47MTR01FCPC
Clicking on this product link will get you a 404.
I have checked the settings on the Custom URL provider for returning 404 error on product details not in shop or not in language and they are unchecked (tried both cases). I have attached a screen dump.
Please keep in mind that the detail pages worked before and for some products they still work.
Like this one for example:http://yolanda.dw-demo.com/search-results?q=89SE10050
It is true that lately the structure of the groups and subgroups have changed. This might be the only difference apart from upgrading to 9.3.6.
Since the product details and product allocation is controlled via Integration, I am not excluding a data issue, I just don't know where to look.
I have compared the products (working and non-working) and the groups but I could not find a relevant difference between the ones that work and the ones that don't.
My uneducated guess would be something to do with Friendly URL's.
Here is the example that works:
Friendly URL: http://yolanda.dw-demo.com/products/c-d-fifth-wheel-bracket-connec
Unfriendly URL: http://yolanda.dw-demo.com/Default.aspx?ID=28&productid=89CM4000504
The example that does not work:
Friendly URL: http://yolanda.dw-demo.com/search-results/products/dry-container-parts/front-panel/front-corner-post/corner-post-front
Unfriendly URL: http://yolanda.dw-demo.com/Default.aspx?ID=110&groupid=L2_100-3&productid=20BUF6828R&productid=47MTR01FCPC
Notice the double mention of the product ID in the unfriendly URL.
The unfriendly URL is rendered in the template with @Pageview.GlobalTags.GetTagByName("Global:Request.Url").Value
And the Product detail link on the List page is rendered using: @product.GetString("Ecom:Product.LinkGroup.Clean")
What do you think?
Thanks,
Adrian