X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Showing all products on a page (https://forum.x-cart.com/showthread.php?t=57493)

Ayla 01-12-2011 05:15 PM

Showing all products on a page
 
Is there a module or include I can use to get a grid or list of all products on a page (let's say the homepage or one of the static pages)? Should be simple enough, but I can't find it anywhere! All I can find are ways to put bestsellers on a page.

Thank you in advance!

wjbrewer 01-12-2011 06:38 PM

Re: Showing all products on a page
 
http://www.yoursite.com/search.php?mode=search

This search will return every product on your site. Replace 'yoursite.com' with your domain.

This isn't a grid, I believe you will need some custom coding to achieve that, and I'm not aware of a module that performs this specific function.

Ayla 01-13-2011 01:12 PM

Re: Showing all products on a page
 
Thank you. The formatting is not important... I can adjust that. But the search page is pulling in all products... but it can't be renamed to something else can it? I think X-Cart uses the page name to decide how to load things.

Thanks!

Ayla 01-13-2011 02:43 PM

Re: Showing all products on a page
 
Also, it seems this is limited by a variable setting "products per page" is there a way to set this to "all" or 100 or something? I'd rather not do it through the URL... is there a way to change the default value?

qualiteam 01-19-2011 05:57 AM

Re: Showing all products on a page
 
Yep, try this http://www.yoursite.com/search.php?mode=search&objects_per_page=1000000

JeanB 05-19-2011 03:26 AM

Re: Showing all products on a page
 
Sorry to bump this thread ... !

The objects_per_page in the above post is fantastic! :D

However - Is there a way of forcing this by default in a single PHP page?

I have a .php page (productlist.php), which shows all of my products in alphabetical order - However, it's limited itself ... can I tell that individual page that I want to show EVERYTHING?

I'm relatively PHP-phobic, but I've tried what I think might work and it really doesn't ... :)


All times are GMT -8. The time now is 03:49 AM.

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