Hi,
When you have the "force canonical URLs on listings" set to "Use canonical URL and generate it if missing", HikaShop will use the canonical URL provided when a listing of products requires the URL to a product. And if that URL is not provided, it will generate it with the current menu item as basis.
If you get a URL with the "component/hikashop" part in it automatically generated in the canonical URL of a product, it means that the first time the URL to that product's details page was generated was somewhere where HikaShop didn't have a menu item to use.
This can happen if you didn't select a HikaShop product/category listing menu item in the "menu" setting of a HikaShop content module for example.
Also, third party display modules might also have a similar setting which needs to be set to provide the menu item to be used.
So there are several things you can do:
- empty the canonical URL of this product, so that HikaShop can regenerate it in the future. You could automate this with a mass action if you have many products like that.
- try to identify which module is not configured properly and fix its configuration so that next time HikaShop has to generate a URL for it, it can rely on the menu item selected to generate the URL