SEO URL addon bug

This is using Ultimate.

If you edit the SEO url in a storefront, but then go to all storefronts and edit the productname, the SEO url in the storefront is overwritten.

We fixed it ourselves, but would be good if it’s fixed in cs-cart repository.


There is a hook in the seo addon (fn_seo_check_and_update_product_sharing function) where the condition is triggered, because there is a difference in company_id=0 (which stands for “all companies”).

It’s comparing companies taken from product categories (“all companies” are not there) and all available companies, and if there is a difference, then this function treat it as if some has been deleted. So, they delete seo urls for this product and create new one from product name.