Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Showing all products on a page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-12-2011, 05:15 PM
 
Ayla Ayla is offline
 

Newbie
  
Join Date: Jan 2011
Posts: 9
 

Question 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!
__________________
// Ayla

X-Cart 4.4.1
Reply With Quote
  #2  
Old 01-12-2011, 06:38 PM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default 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.
Reply With Quote
  #3  
Old 01-13-2011, 01:12 PM
 
Ayla Ayla is offline
 

Newbie
  
Join Date: Jan 2011
Posts: 9
 

Default 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

X-Cart 4.4.1
Reply With Quote
  #4  
Old 01-13-2011, 02:43 PM
 
Ayla Ayla is offline
 

Newbie
  
Join Date: Jan 2011
Posts: 9
 

Default 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?
__________________
// Ayla

X-Cart 4.4.1
Reply With Quote
  #5  
Old 01-19-2011, 05:57 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Showing all products on a page

Yep, try this http://www.yoursite.com/search.php?mode=search&objects_per_page=1000000
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following 2 users thank qualiteam for this useful post:
hues (01-21-2011), JeanB (05-19-2011)
  #6  
Old 05-19-2011, 03:26 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

eXpert
  
Join Date: Oct 2009
Location: Worcestershire, UK
Posts: 217
 

Default Re: Showing all products on a page

Sorry to bump this thread ... !

The objects_per_page in the above post is fantastic!

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 ...
__________________
4.2.3
X-Cart Gold
BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers
-------[installed]----------------------[installed]--------------[installed]----[installed]--



5: in development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:07 AM.

   

 
X-Cart forums © 2001-2020