X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   list all products (https://forum.x-cart.com/showthread.php?t=910)

BoomBoomBap 04-03-2003 11:24 AM

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 !

BoomBoomBap 04-03-2003 11:26 AM

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

Any idea how to implement this ?

funkydunk 04-03-2003 12:44 PM

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. :wink:

ATKOgirl 04-03-2003 08:08 PM

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

funkydunk 04-03-2003 10:18 PM

good point Atkogirl..blindingly obvious things are often missed looking for a solution. 8)

BoomBoomBap 04-03-2003 10:35 PM

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"

StylinFX 06-05-2003 02:39 AM

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!
:lol:

emf_electronics 06-07-2003 01:12 AM

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

adpboss 01-04-2004 12:21 PM

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>


jeeya 01-04-2004 12:44 PM

.
 
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.


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

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