The jshop atribut link plugin was installed, which adds attributes to the url when they are changed to product pages.
Now the problem is that all these URLs with attributes are duplicates. I would like to add the rel canonical tag for such pages with attributes.
I didn't find any plugins. Something similar on the Internet is nowhere to be found. There is an idea that in the Product canonical plugin you need to somehow slightly change the condition in the function, but there is not enough knowledge.
Product canonical
This plugin specifies the canonical address if the product is one and it is in several categories.
And I have one category and attributes are added to the product name:
katalog/listvennitsa/terrasnaya-doska-velvet-listvennitsa This should be canonical
and in such katalog/listvennitsa/terrasnaya-doska-velvet-listvennitsa? attr[1]=4&attr[2]=7&attr[4]=17
you need to write canonical.
I repeat that there is an idea that the condition in the function somehow in the Product / category canonical plugin needs to be corrected but as there are no competencies
Please, HELP
Joomla: 3.9.8
JoomShopping: 4.17.2
PHP: 7.0.33
MySQL: 5.6.41-84.1
JoomShopping: 4.17.2
PHP: 7.0.33
MySQL: 5.6.41-84.1