I have done in page linking, the way i did it is that i created sections for each product in the page and gave it an ID, however, at the bottom of the page i am including a table with link blocks and linked each block to a particular section.
in the preview mode, it works fine but in the live site is taking me to the main page with the URL of the main page/#sectionID
Please include your site’s Read-Only Share Link with your question.
A read-only link allows the community to view your project without making any edits to it and help diagnose your issue or provide feedback.