Product urls returning not found after an upgrade

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
nickfr
New Member
New Member
Posts: 1
Joined: Mon Nov 04, 2019 8:22 pm

Product urls returning not found after an upgrade

Post by nickfr »

Hello,

I've upgraded a 1.8.2 website which was running Products 2.3 to CMS version 2.2.12 and Products 2.25. While the CMS is all up and working I am having a couple of issues with the products. Notably the urls that are generated are 404ing.

In my menu I have it generating a dropdown based of the hierarchy, it loops through the children and outputs links using the

Code: Select all

down_url
attribute. This gives me links like

Code: Select all

/products/hierarchy/1/System-Boards/
but when I click on that link it 404's.

In my Products module settings I have:
Prefix to use on all URLS targeted to this this module: products
URL Slug Template:

Code: Select all

{if $hierarchy3 == ''}{$name}{else}{$hierarchy3}/{$name}{/if}
Use Hierarchy Path in Item Detail URLS: no
Default Page for Hierarchy View: PRODUCTS *
Use Pretty URLS to Hierarchy Views: Yes


If I change Use Pretty URLS to Hierarchy Views to No then it removes the name from the URL but still fails to work.

Other pretty urls on the site seem to work, it just appears to be the Products module which isn't picking them up.

Going to /products/browse will show the products, so seems to be working a little. Clicking on a product gives me the URL

Code: Select all

/products/127/panel-unit-cooler/
which also 404's.

So, something appears to be a little off with the routing / urls and I can't seem to work out what it is.

Anyone have any clues?




* The PRODUCTS page is a page which simply has {Products} on it.
Post Reply

Return to “Modules/Add-Ons”