X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   All Products on front page, similar to featured products (https://forum.x-cart.com/showthread.php?t=69469)

minfinger 11-28-2015 08:37 AM

Re: All Products on front page, similar to featured products
 
Igor,

Any thoughts on this? When viewing a category it shows a maximum limit of 200. When viewing the Home Page, the Module is limiting to 100.

razortw 12-01-2015 11:25 AM

Re: All Products on front page, similar to featured products
 
Quote:

Originally Posted by minfinger
Igor,

Any thoughts on this? When viewing a category it shows a maximum limit of 200. When viewing the Home Page, the Module is limiting to 100.

Sorry, I missed your last message.
This value is actually hardcoded in XLite/View/Pager/APager.php
The method you will need to redefine is getItemsPerPageMax()

minfinger 12-01-2015 04:06 PM

Re: All Products on front page, similar to featured products
 
Well I looked at the Code Tony wrote and I don't see an entry modifying that php file. Perhaps one of the files he modified is missing the portion that uses that code?

razortw 12-02-2015 07:25 AM

Re: All Products on front page, similar to featured products
 
Quote:

Originally Posted by minfinger
Well I looked at the Code Tony wrote and I don't see an entry modifying that php file. Perhaps one of the files he modified is missing the portion that uses that code?

Yes, the module provided by Tony does not redefine the properties of the pager.
But you can do that additional change within this module, there is no need to create another one just to redefine the default produce pager limit.

minfinger 12-07-2015 02:41 PM

Re: All Products on front page, similar to featured products
 
Hi Igor, I'm Mike I'm a novice when it comes to this stuff. ;)

I have no idea how to make it do what you just said.

razortw 12-08-2015 04:33 AM

Re: All Products on front page, similar to featured products
 
Quote:

Originally Posted by minfinger
Hi Igor, I'm Mike I'm a novice when it comes to this stuff. ;)

I have no idea how to make it do what you just said.

Since you have the home page modified, this needs to be investigated right in your particular X-Cart installation.
Please submit a support ticket in your personal helpdesk.


All times are GMT -8. The time now is 01:09 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.