Page 1 of 2

default layout "grid list"

Posted: 28 May 2024, 13:43
by adm
Defined in "Phoca Cart Configuration" - Display - Default Layout (Category, Items View): Grid List

On the first page it will displayed correct, on next pages it will be displayed as "Grid".

Using Template: Customise (Cassiopeia_phocacart_tools)

Re: default layout "grid list"

Posted: 28 May 2024, 15:21
by Jan
Hi, which version of Phoca Cart do you use? Testing now, everything is OK for me. Try to clear the cache (on your website in case you are using it) and in your browser too. :idea:

Jan

Re: default layout "grid list"

Posted: 28 May 2024, 15:57
by adm
5.0.0Beta55
Tested with four different browsers. Cache Off. Always the same result. First page correctly as "grid list", second and subsequent page are displayed as "grid".

Re: default layout "grid list"

Posted: 28 May 2024, 16:36
by Jan
Can I see the site where this occurs, testing now, no problem? Do you use some specific extension for cache on your website?

Jan

Re: default layout "grid list"

Posted: 28 May 2024, 16:46
by adm
The Symbol for "Grid List" is displayed on frontend.
Please take a look at: https://test.theaterverlag-eirich.at/in ... 48&lang=de
If you switch to "English" the "Grid List" Symbol is missing and also the page numbers.
Thank you!

Re: default layout "grid list"

Posted: 28 May 2024, 17:00
by Jan
Hi, they symbol is OK, because it is not loaded by AJAX. The problem occures in the product list which is loaded by AJAX and changes on the site. But the question is why the AJAX request does not accept the layout. Testing now on my test servers, everything is OK.

What about the extension, do you use some extension for cache or some which can somehow change sessions, etc. :idea:

Jan

Re: default layout "grid list"

Posted: 29 May 2024, 10:57
by adm
I've installed Joomla 5.1.1 and only Phoca Cart with german translation (Benno Mathias).
Now I tested with Phoca Cart Configuration - Category and Items View (Products View)
Ordering Ascending/Descending - Arrows: NO
Display Pagination (Category, Items View): Display
Display Pagination Top (Category, Items View): Display
Display Select Box (Category, Items View): Hide
Display Select Box Top (Category, Items View): Hide
Display Ordering Select Box (Category, Items View): Hide
Display Ordering Select Box Top (Category, Items View): Hide
Ajax Pagination (Category, Items View): NO
Ajax Searching And Filtering (Items View): NO
Pagination Limit (Category, Items View): NO
Default Layout (Category, Items View): List
Display Switch Layout Type: Display
Pagination Limit (Category, Items View): Disable

Same result. What can I do to help you finding the problem? Otherwise I use "Default Layout (Category, Items View)": Grid.

Re: default layout "grid list"

Posted: 29 May 2024, 12:06
by adm
Because of the missing page numbers, I found that in \components\com_phocacart\layouts\category_pagination.php line 18 the variable "$d['t']['show_pagination']" in German contains 1, and in English 0. Should be in English also 1!

Re: default layout "grid list"

Posted: 29 May 2024, 16:32
by Jan
Hi, maybe you have more different menu links to Phoca Cart (one english, one german) and both have different options :idea:

Image

Jan

Re: default layout "grid list"

Posted: 31 May 2024, 08:37
by adm
Thanks for the help. I would never have found that. Now it works.