Hi Alan,
Sorry I don't know anything about that and can't see anything in your code. Hopefully someone else here can help you with that.
This code is custom code on your site. It is NOT part of the standard Zen Cart installation.
This code is messing up and generating a cPath variable when a category isn't being displayed (and so a cPath isn't needed). URI Mapping can't read minds so it doesn't know what the cPath is doing there so it leaves in it in case it's needed (using the "better safe than sorry" approach).
What you need to do is modify the code you posted and remove the part:
Code:
'cPath=' .zen_get_generated_category_path_rev($_GET['cPath'])
As this is custom code on your site please don't post a followup about this other than to say if it worked or not, as it wouldn't be of use or interest to anyone else on this thread.
Thanks.
All the best...
Conor
ceon
Bookmarks