I replaced the “add to cart” button with a simple product.url redirection, so the button actually leads to the product page first.
But is it possible to attach an anchor link (#anchorname) from the product pages to this dynamic url, so it leads to the (/product-link#anchorname) ?