VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: green_image on October 04, 2016, 23:17:58 PM

Title: Product display restricted to 10 items due to AJAX?
Post by: green_image on October 04, 2016, 23:17:58 PM
Hello, I am new here!

I am wondering if I am limited to only listing 10 items per category because of using AJAX in Virtuemart?

I've already tried changing the product category "Initial number of listed items" to 100 and it doesn't help.

I am using Joomla 3.6.0

Thanks!

http://advantlighting.ca/index.php/products (inground light category)
Title: Re: Product display restricted to 10 items due to AJAX?
Post by: Ghost on October 05, 2016, 07:31:07 AM
Seems like so. Template/customization issue. Products don't even appear with default Protostar template http://advantlighting.ca/index.php/products?template=protostar.
Title: Re: Product display restricted to 10 items due to AJAX?
Post by: green_image on October 05, 2016, 20:42:46 PM
Hm, alright, thanks!

I will let you guys know if I found the solution.
Title: Re: Product display restricted to 10 items due to AJAX?
Post by: green_image on October 05, 2016, 22:55:12 PM
I think the problem lies with removing the page number on the product page at:

http://advantlighting.ca/index.php/products

It's suppose to be underneath all the products at the banner or content-bottom position:

http://advantlighting.ca/index.php/products?tp=1

But I can't seem to find the module to reactivate it, anybody know how I can reactivate it to see if that's the problem?
Title: Re: Product display restricted to 10 items due to AJAX?
Post by: GJC Web Design on October 06, 2016, 15:32:28 PM
you mean the pagination?

It isn't a module.. its part of the std category template
Title: Re: Product display restricted to 10 items due to AJAX?
Post by: green_image on October 06, 2016, 23:29:46 PM
Hello, yes I mean the pagination!

I deactivated it a couple months back and now I forgot where I can add it back.

Think you can point me in the right direction?

Thanks!
Title: Re: Product display restricted to 10 items due to AJAX?
Post by: GJC Web Design on October 06, 2016, 23:34:26 PM
I know of no setting to deactivate it..

in the std. template it simply appears if the orderbylist is populated.. i.e. more than your pagination trigger

if(!empty($this->orderByList)) { ?>
      <div class="vm-pagination vm-pagination-bottom">
<?php echo $this->vmPagination->getPagesLinks (); ?>
<span class="vm-page-counter">
<?php echo $this->vmPagination->getPagesCounter (); ?></span></div>
   <?php }