After Migration J3 > J4 click on category link gives 404 error

24.08.2023 13:05
#1
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
After Migration J3 > J4 click on category link gives 404 error

Hello

I did migrate from J3 to J4.

Now if I click a category link I get 404 error.
No matter if I use main page of shop (storefront) and click category link there or if I click category link in categories module.

I did update all addons and all Joomshopping modules.

How can I solve this?

Thanks.


Joomla: 4.3.4
JoomShopping: 5.2.0
PHP: 8.1
 
24.08.2023 15:05
#2
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Aw: After Migration J3 > J4 click on category link gives 404 error

After some more checkig I figured out:

If a category has subcategories, they are shown (= no 404 error).

If a (sub-)category has products, then the shop throws a 404 error.

Any idea what's wrong?

 
24.08.2023 16:21
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: After Migration J3 > J4 click on category link gives 404 error

Url?
Enable debug mode.

 
25.08.2023 06:35
#4
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Aw: After Migration J3 > J4 click on category link gives 404 error

Call to undefined function formatprice()

I now have selected other Joomshopping template and it works now. Must be an issue in previous template.

Thanks.

 
25.08.2023 07:52
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: After Migration J3 > J4 click on category link gives 404 error

There are many changes to be made to the template.

formatprice() -> \JSHelper::formatprice()

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.