News:

Support the VirtueMart project and become a member

Main Menu

Paging transition

Started by ScorpionDS, September 30, 2011, 11:10:19 AM

Previous topic - Next topic

ScorpionDS

If, for example, in the category "Cat A" has 15 pages and in the category of "Cat B" 5 pages, when we moved in category "Cat A" on page 12, and then moved into the category of "Cat B", then the list is empty, as in the category of "Cat B" there is no page 12. That is, it remembers the page to page transition.

Can this be fixed in future versions?

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Awerso

#2
I still have this bug, any solution available?

PRO


Awerso

It was an old topic which I kicked because I think I have the same problem.

Let me explain it:

- I have multiple menu items, each of a different VM category.
- I use 5 products per category view.

- Category A has 12 products, so 3 pages.
- Category B has 14 products, so also 3 pages.
- Category C has 16 products, so 4 pages.
- Category D has 26 products, so 6 pages.

Now the problem:
I'm on page 3 of category B and go to category C via the menu url, this works fine automatically i also go to page 3 of Category C. Is this case no big problem but...
When I'm on page 5 of category D and choose via the menu for category A, i only get a blank page.

PRO


Awerso

The bug is there with and without Joomla / VM SEO

The problem is simple: the shop stays on the page number when going to an other category. But when that category doesn't have that page number you get a blank page, but only in the component area (so I see the modules / menu / etc.)

PRO

OK, this is going to be a bug in the session I believe.

This is with JOOMLA menu? or category module?

That seems very weird if its the joomla menu

Milbo

Awerso described it very well, it is not a real session problem. It must just jump then to the last page, so I need to add a test if the choosen limitStart is within the range of the result.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Awerso

I use the Joomla menu and then menu function: VirtueMart ยป VirtueMart Category Layout

Milbo

This is all correct that way, the error is in vmmodel
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

I added fix to the svn. But couldnt test it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

Quote from: Milbo on October 18, 2011, 00:01:31 AM
I added fix to the svn. But couldnt test it.

J1.7.1/VM2 SVN revision 4446
still shows the same behavior. Also just tested this in the backend with the Product list. Looks like FE and BE share this problem. But there is a difference: If I'm i.e. on page 10 in a frontend category and then switch to category B that less than 10 pages, the view also remains empty if I select category C which also has less than 10 pages. In the backend the switch from category B to category C loads page 1. Also, in the backend the sorting (except if sorted by Product Name) is lost, when I change pages, i.e. from page 3 to 4.

Joomla and VM Debug don't display any error messages.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Awerso


Awerso

will this bug be fixed in the next (sub)release?