Reputation: 1353
I want to remove category name from url in my opencart site.
I searched for solution at many places. some are suggesting to replace $url .= '/' . $query->row['keyword'];
with $url = '/' . $query->row['keyword'];
in seo_url.php but the problem is still not solved when i select a product from category menu it is still showing category name in url. How to remove that category name in opencart 2.x i am using opencart 2.1
Thanks in advance.
Upvotes: 1
Views: 905
Reputation: 1353
Found the solution.
Opencart stores another copy of files in system/storage/modification/catelog
folder.
If i delete or rename seo_url.php
file from there. then it starts acception my changes.
Otherwise it will not accept any modification in seo_url.php
file.
Upvotes: 1