I want to do it dynamacally by injecting the selected design on the same page.
I am using routing by updating same web page with url queries. So I have only I page can serve hundreds of the products. But I can not update my canonical links on every design product and because of this the web pages can not being indexed by google.
Is this possile? or is this necessary for google?
Can google render the webpage with the correct variables instead of getting dynamic content coding values?
It doesn’t matter what you see in the source code. The search engines see your page rendered with the dynamic expressions rendered, so the same as you see it when inspecting it with the dev tools inspect.