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)
-   -   List all products (only) - PHP Sitemap? (https://forum.x-cart.com/showthread.php?t=27013)

mbcummings 11-30-2006 10:41 AM

List all products (only) - PHP Sitemap?
 
I've been digging forums for simply a mothod of outputting a list of all products, only, to no avail. Tried a couple things but nothing yet....

NOTHING FANCY needed: just a list of all product titles anchored to respective product page.

It could be a sitemap formatted like php.net/sitemap.php or just a product list like inlustro.com/sitemap.php

Ideas?

groovico 11-30-2006 10:50 AM

Re: List all products (only) - PHP Sitemap?
 
Depends what you are after,

If you want a PHP page for display on your site, the firetank advanced sitemap will do what you need, just set it to display all products

http://www.firetanksoftware.com/fts/customer/X-cart-Site-Map-advanced-sitemap-pid-70.html

If you want to actually output to a CSV file lists of products and URL, take a look at our shopping feed generators, one like the googlebase/froogle one will do it and you can alter it to match your requirements

http://www.firetanksoftware.com/fts/customer/X-cart-Shopping-Feeds-cid-26.html

mbcummings 11-30-2006 10:59 AM

Re: List all products (only) - PHP Sitemap?
 
Thank you Firetank Sales. Did you look at the examples?

What you offer is great for some. Too much for me in this case.

Solutions/suggestions anyone? Simple mod or paring down of products.php?

I JUST NEED A LOOP TO CALL AND LIST ALL PRODUCT TITLES IN ANCHOR TO PRODUCT PAGE.

I've seen it in product pull down lists... just need to apply same loop to list, instead, so that when link is clicked all products are listed WITHOUT the long search string in the URL.

Suggestions/tips much appreciated! :)

PhilJ 11-30-2006 11:09 AM

Re: List all products (only) - PHP Sitemap?
 
Buy the sitemap generator from www.xml-sitemaps.com - only $15

mbcummings 11-30-2006 11:23 AM

Re: List all products (only) - PHP Sitemap?
 
Quote:

Originally Posted by PhilJ
Buy the sitemap generator from www.xml-sitemaps.com - only $15

Thanks for your suggestion PJ but looking for PHP solution (already using google's sitemap gen. for XML map... that and static HTML sitemap are in the can).

Please look at the examples. Simple product list in php loop... It should be clear... scripting suggestions only, please (no third party products ;) ) THX!

PhilJ 11-30-2006 11:34 AM

Re: List all products (only) - PHP Sitemap?
 
Actually, the xml-sitemap generator generates a static HTML page which you could include in an X-Cart static page like this...

Code:

{include file="../sitemap.html"}


Just for you I've made a simple sitemap, go to my website.

mbcummings 11-30-2006 11:40 AM

Re: List all products (only) - PHP Sitemap?
 
Quote:

Originally Posted by PhilJ
Actually, the xml-sitemap generator generates a static HTML page which you could include in an X-Cart static page like this...

Code:

{include file="../sitemap.html"}


Just for you I've made a simple sitemap, go to my website.

Yes... I appreciate your suggestion Phil.

Any PHP types in the hizzy? Loop scripting suggestions only please :)

PhilJ 11-30-2006 11:41 AM

Re: List all products (only) - PHP Sitemap?
 
I've just made you one, you ungrateful *&^%$
http://www.xcartmods.co.uk/files/X-Cart_Simple_Sitemap.zip

mbcummings 11-30-2006 11:49 AM

Re: List all products (only) - PHP Sitemap?
 
Sorry, I thought you'd output just HTML from xml-sitemaps... not my intention to offend! I guess I misunderstood what you did... taking a look now. Thanks! :D (Peace... as they say.)

...looks AWESOME... LET'S GIVE IT A GO! CHEERS PHIL!!! :D Sorry we went south there for a sec.!

PhilJ 11-30-2006 11:53 AM

Re: List all products (only) - PHP Sitemap?
 
Try it now, there was a typo.


All times are GMT -8. The time now is 04:41 AM.

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