Page 1 of 1
Search Module Error Experimental Setting
Posted: 17 Jul 2021, 16:52
by oesch.web@gmail.com
Hi,
I have set "Remove IDs from URLs" to yes (experimential setting in Main Settings).
If i search in a page other than the shop site, the items are found, but if i click on the product view button, an error ocures: View not found, [Name, Typ, Rräfix] 52item, html, Phocacart view.
Is there a patch for this situation?
Re: Search Module Error Experimental Setting
Posted: 19 Jul 2021, 14:30
by Jan
Hi, can I see the site where this occurs, to see the links to detail view?
Jan
Re: Search Module Error Experimental Setting
Posted: 19 Jul 2021, 15:56
by oesch.web@gmail.com
Hi,
Hier is an Example of a Book:
https://clkv.ch/shop/schoepfung-evoluti ... -vom-stein
Searched from Shop with "Creatio":
https://clkv.ch/component/phocacart/ite ... -vom-stein
Error if Searched from Home, then clicked on "Productinfo" :
404 View nicht gefunden [Name, Typ, Präfix]: 8item, html, phocacartView
The same if "Remove IDs from URLs" set to "no":
https://clkv.ch/component/phocacart/ite ... -vom-stein
Re: Search Module Error Experimental Setting
Posted: 23 Jul 2021, 15:20
by Jan
Hi, even one link is working and second not, both are wrong as they don't take the menu link into account - the url with component/phocacart/ ... is not correct.
Did you create a menu link to categories view? How many menu links did you create for Phoca Cart? Try to create only one for categories view (if created, disable all others) and test if something changes.
Which search module do you use? Which version?
Jan
Re: Search Module Error Experimental Setting
Posted: 23 Jul 2021, 16:10
by oesch.web@gmail.com
Hi, i use Phoca Cart Search Module 3.5.5.
The links i posted are created by the search modul, i do not create them myself.
The error does only occure:
1) if i set "Remove IDs from URLs" set to "no" (this means, the numbers in the links are removed)
2) and if i search from home page
The error does not occure:
1) if i search from the shop page (same page as the content)
Appart from this behavior, every thig works perfect. There are abot 700 articles.
Re: Search Module Error Experimental Setting
Posted: 24 Jul 2021, 15:51
by Jan
Hi, yes, there is different behaviour for ID or no ID variant. But the question is, if the problem does not occur before using the route method. This is why I ask for the menu links. What happens when only one menu link to categories view exists, etc.?
Re: Search Module Error Experimental Setting
Posted: 26 Jul 2021, 17:13
by oesch.web@gmail.com
Hi,
I have a menu Link "Kategorie Ansicht (Produktliste-Layout)" and in the sidebar a categorie List.
If i change the menu link to a categorie list too, then the error does not occure.
But i want to show just one categorie, not a categorie list. Is this not possible?
Re: Search Module Error Experimental Setting
Posted: 27 Jul 2021, 15:13
by Jan
Hi, it is better to have only one main menu link.
So it is done e.g. this way:
- you will create a main manu link to categories view
- then in frontend you will go to the categories view, click on category to see category view and copy the current link
- then in menu link you will create new custom url link and you will paste this link
- then you can hide the main menu link - to categories view.
This is a little bit difficult but you will know, that all the links will have one main format.
Jan
Re: Search Module Error Experimental Setting
Posted: 09 Aug 2021, 19:25
by oesch.web@gmail.com
Hi
The solution did not work for me.
But i put a Rule in the .htaccess:
RewriteRule ^(.*)component/phocacart/item(.*)$ /shop/item$2 [R=301,L]
This did the trick!
Re: Search Module Error Experimental Setting
Posted: 12 Aug 2021, 23:08
by Jan
Ok, thank you for the info.
Jan