This item hidden link should have no upsell and no related products because it is the only product in that category.
We have another ticket with Waqar where the Select dropdowns no longer popuplate with the relevant options and instead show all options. Maybe this is related?
Ok, after some more testing. It seems the Related Products are indeed from the same Category as the Archive shown but ONLY IF there are related products in that category, otherwise, the related products are just randomly chosen although the View "view-related-products" is set to "Product categories the same as the current post in the loop".
1/ Could you tweak the code that if there are no upsell/related products, the view stays empty?
2/ Related to this, you had tweaked the code because when there are no related products, the snippet broke the page. This is happening again, example hidden link
Is there a way to hide the View when the result is empty? Now the title "This could also interest you - "no items found" looks a bit silly. Ideally we would hide the whole view/output.