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

list all products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 04-03-2003, 11:24 AM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

Well, it took a bit of customizing but I was able to implement this very succesfully.

Check it out: http://www.boomboombap.com/shop/customer/total_list.php?main=listall

Thanks much to FunkyDunk for this sweet mod !
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote
  #22  
Old 04-03-2003, 11:26 AM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

Hmm... someone I showed this to immediately replied with " Man you need to add pagination "

Any idea how to implement this ?
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote
  #23  
Old 04-03-2003, 12:44 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

That wasn't the requirement that I was given for my client but the easiest thing to do is look at the exisitng products.php and adapt the coding in there.

May take some fiddling though.
__________________
ex x-cart guru
Reply With Quote
  #24  
Old 04-03-2003, 08:08 PM
 
ATKOgirl ATKOgirl is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 448
 

Default

You could just use this:

http://www.boomboombap.com/shop/customer/search.php?substring=


It is the search without a search term entered. In other words, what appears to be a bug, allowing you to enter a search without entering a term, turns out to be helpful, because it lists all products.

ATKOgirl
__________________
X-Cart Versions: 4.1.10 and 4.2.0
Reply With Quote
  #25  
Old 04-03-2003, 10:18 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

good point Atkogirl..blindingly obvious things are often missed looking for a solution.
__________________
ex x-cart guru
Reply With Quote
  #26  
Old 04-03-2003, 10:35 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

Yes, this is the simple method.

I like FunkyDunk's however because of the nice "add to cart" feature and the simply and concise display

Im actually already using what you mention ATKOgirl with a button called "What's New"
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote
  #27  
Old 06-05-2003, 02:39 AM
 
StylinFX StylinFX is offline
 

Advanced Member
  
Join Date: Oct 2002
Location: US
Posts: 36
 

Default

I have tried and tried and tried this code.....All I get is a blank screen at the /total_list.php?main=listall

It shows my site layout side menu and head. But noting in the center of page complety blank.

Any thought!
Reply With Quote
  #28  
Old 06-07-2003, 01:12 AM
 
emf_electronics emf_electronics is offline
 

Member
  
Join Date: May 2003
Location: Las Vegas
Posts: 25
 

Default

this is perfect.. how would i implement this listing format in the product listing file(products.tpl) instead of the style that displays all the pictures that is standard setup with x-cart. not to display everything but just that category
Reply With Quote
  #29  
Old 01-04-2004, 12:21 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

I am using this mod to create a page to be spidered by a product/price search engine and I am stuck.

The layout is simple and I have the display working perfect except for one thing.

The problem is that I need to display the category name of the ROOT category. Right now I am getting the subdirectory displayed as Cat1/Cat2/Cat3. I just need Cat1.

I am using {$products[product].category}. What SHOULD I be using to just get the root cat?

Thanks in advance for assistance. I know this is simple, but I am totally confused.

My show_all.tpl
Code:
<table>{section name=product loop=$products} <tr> <td> {$products[product].product|escape} </td> <td> {$products[product].price} </td> <td> http://www.adpmods.com/xcart/customer/product.php?productid={$products[product].productid} </td> <td> {$products[product].category} </td> </tr>{/section} </table>
Reply With Quote
  #30  
Old 01-04-2004, 12:44 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

It looks good in boomboombap's site. Only think I would like to suggest is to open up new small window saying added to cart or showing the cart, instead of on main page, taking to cart once we add the product.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 05:59 AM.

   

 
X-Cart forums © 2001-2020