Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Pagination not working like in demo

Pagination not working like in demo 11 years 5 months ago #1206

If I select to display 9 products per page and have say 36 products, I should get 4 pages of products shown as per the demo.


But what I get is just numbers that are not themed and do not redirect to the required page.


Have I missed something in the config' maybe?

Thank in advance for any help.
Attachments:
Last Edit: 11 years 5 months ago by gina morley. Reason: upload images
The topic has been locked.

Pagination not working like in demo 11 years 5 months ago #1210

Look for this PHP file in your website.

ROOT/templates/<yourjoomlatemplate>/html/pagination.php

and change its name to

ROOT/templates/<yourjoomlatemplate>/html/pagination2.php

Then you should be good to go.

Cheers.
The topic has been locked.

Pagination not working like in demo 11 years 5 months ago #1213

Thanks for that very fast reply.

This does cure the theme issue but the redirect is still the same.. not working. It stays on page one and the only way to view more/all products is to increase the products per page dropdown.

I've noticed that to get the pagination to "work" I need to, for example:
I have 100 products - select 100 items per page (via dropdown) then the pagination will work. It's as if all products need to be "loaded" before the pagination will work.

If I just select say 9 products per page, the pagination to the other product pages will not work. I need to select more product via the drop down to view them.


Any ideas there?
Thanks again.
Last Edit: 11 years 5 months ago by gina morley. Reason: update of info
The topic has been locked.

Pagination not working like in demo 11 years 5 months ago #1215

I just disabled sef in the joomla config and the pagination now works.
The topic has been locked.

Pagination not working like in demo 11 years 5 months ago #1219

Hi,

To fix the pagination problem eventhough the SEF is enabled.
Try this:

Open this PHP file:
ROOT/templates/<yourjoomlatemplate>/html/category/default.php
(default.php, defaultlist.php, flexv2.php or whatever you have chose from the VM Configuration. There are 6 different layout, and you are using only one of them. Open the PHP file that you are using in your webstore)

And find this HTML line:
<div id="bottom-pagination">

And change it with this:
<div id="bottom-pagination" class="vm-pagination">

(be aware, you will need to do it in 2 different place in the same PHP file, since there are 2 sections where the pagelinks show off. One at the top of the category page, and one at the bottom)

This should solve the problem even though the SEF is enabled.
Please let me know the result.
The topic has been locked.

Pagination not working like in demo 11 years 5 months ago #1240

Hi friend,

Thanks for the info'

Unfortunately, this didn't work. I changed the php files in both locations for all layouts but still the same.

I have managed to get a temp' work around.
Setting the individual categories to display/step @ 100 (items) image 1
Reversing the items per page from 9,18... to 72,36... image 2
joomla sef is enabled

Now all items are displayed initially and the user reduces the number he/she wants per page.

Not perfect but useable.

joomla 2.5.7
vm 2.0.14
puremart V3
Attachments:
The topic has been locked.

Pagination not working like in demo 11 years 5 months ago #1257

Hi,

The patch that i have provided you should have worked just fine. I don't know why it still doesn't work in your case.
Can you provide me your FTP credentials to This email address is being protected from spambots. You need JavaScript enabled to view it. and let me take a look at it?
(don't forget to add this forum post's URL to top of your message as reference)

Cheers.
The topic has been locked.
Time to create page: 0.202 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo