VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: BCD on March 14, 2012, 04:28:27 AM

Title: Category Pagination Problem
Post by: BCD on March 14, 2012, 04:28:27 AM
How do I switch off the pagination in VM2. I want to display all my products on one page without any paging.

See attachment.

[attachment cleanup by admin]
Title: Re: Category Pagination Problem
Post by: BCD on March 15, 2012, 21:35:54 PM
2 days and no replies - where is the support team !
Title: Re: Category Pagination Problem
Post by: lysov on March 16, 2012, 10:35:21 AM
Is it possible to assign a css class to them, or edit current style (<ul><li>).

Does anyone know how to set the pagination to "All"?
Title: Re: Category Pagination Problem
Post by: jenkinhill on March 16, 2012, 10:46:32 AM
BCD, this is a peer support forum - there is no support team as such. It would help if you had posted which VirtueMart version you are using - for example I am using 2.0.3D as well as the latest SVN version all on Joomla 2.5.2.

For me this works: domain.co.uk/index.php?option=com_virtuemart&view=category&virtuemart_category_id=0&limitstart=0
Title: Re: Category Pagination Problem
Post by: BCD on March 16, 2012, 22:51:30 PM
I did post under VM2 section so thought that would be enuf.

Joomla 2.5.3
Virtuemart 2.0.2

That link you posted is just for selling domain names ???

So the problem persists.

Where can I change the number 10 (default number of products per page) to 100.

Title: Re: Category Pagination Problem
Post by: jenkinhill on March 16, 2012, 23:30:57 PM
For domain.co.uk insert your own domain.......................
Title: Re: Category Pagination Problem
Post by: lysov on March 18, 2012, 13:13:38 PM
There are two div with identical id in the category default layot (bug VM 202-203E), that is why you cannot change properties of the list <ul><li>.
See components/com_virtuemart/views/category/tmpl/default.php:
<div id="bottom-pagination"> at the top
and
<div id="bottom-pagination"> at the bottom
Unique id are identical!

Does anyone know how to set the pagination to "All"?
Title: Re: Category Pagination Problem
Post by: BCD on March 20, 2012, 00:15:11 AM
@jenkinhill

Huh - fill in my own domain. That does not answer my question mate.

My question again is:

How do I display ALL my products on ONE page without any paging required.

It's a simple question. May Milbo can answer this one as I think he is a programmer.

Title: Re: Category Pagination Problem
Post by: rbedenham05 on May 22, 2012, 09:48:47 AM
I am having the same problem.

I want to display all products under a category on one page. Currently this is displayed on 2 pages. I have checked through the configuration, but nothing seems to be having an affect. 

Virtuemart: 2.0.6
Joomla 2.5.4

Just a note, that entering my domain in the above fix has now caused my site to display the following warning:

Warning: Division by zero in /home/cosmedia/public_html/dev2/templates/gk_mystore/html/com_virtuemart/category/default.php on line 52

Any help or guidance would be much appreciated.
Title: Re: Category Pagination Problem
Post by: rbedenham05 on May 22, 2012, 10:48:01 AM
OK, the issue was not caused by adding my domain name after what jenkinhill posted, my apologies.

Surprise surprise, it was caused by me, duh, leaving 'Default nunber of categories in a row' and 'Default number of products in a row' empty in VM configuration >> Templates

Added default values and the warnings have all gone away.

Still struggling to find a way of displaying all products under a category
Title: Re: Category Pagination Problem
Post by: rbedenham05 on May 22, 2012, 11:06:20 AM
Finally found a solution to controlling the number of products displayed on a page.

http://forum.virtuemart.net/index.php?topic=102694.0

Best regards,

Richard