Hello @Rapture ,
No viable solution for the moment and for years.
Whether blocking by robots.txt and applying a small modification in the code, nothing will change, urls will always be crawled by google.
The only two solutions would be for @Shopify_77 to finally take this problem seriously and rule it out at the source of the code.
Otherwise, any e-merchant who wants to develop his store in seo will have to migrate the store from Shopify and see what the competitors are doing.