Without knowing the specifics of your permalink strategy or how you have linked your blocks within the Query Template, it is not easy to help isolate the cause of the issue.
One thing of note is that you have “pretty” permalinks for the pages (e.g. “/page/category/”), and you have query based permalinks for the products (e.g. “/?product=XXX”).
Please share more information, and you will get faster help.
I didn’t build any logic. I have a permanent link with the name of the record https://skr.sh/sMN5RC4AALR
The problem is that on the page with requests for different products, for some reason, the link is formed differently. Although the url of the link in the goods is written everywhere in Latin
Tell me what I can provide you to help me solve the problem faster?