News:

Support the VirtueMart project and become a member

Main Menu

3.6.10: problem with pagination - cannot return to homepage

Started by maxxer, May 12, 2020, 11:26:25 AM

Previous topic - Next topic

maxxer

Hi.
I've set up a shop with J 3.9.16 and VM 3.6.10, SEF enabled. The site homepage is a VM Single category view showing the root of the store, this means the website / is the first page listing of the main category. When going to page 2 the url becomes /results,25-48. Unfortunately when trying to return to homepage the url correctly becomes / but the state of Virtuemart is still on the second page (shown by pagination and products listing).

I enabled joomla debug and in this situation on the homepage the session still retains


            "com_virtuemart": {
                "category": {
                    "limit": 24
                },
                "categoryc0m0": {
                    "limitstart": 24
                }
            }


the only way to return back to the first page is to either clear cookies or visit /results.

I'm wondering if it's a webserver misconfiguration or Joomla one, or eventually a bug.
thanks

I'm using nginx with this config

        location / {
           try_files $uri $uri/ /index.php?$args;
        }

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation