All Products Page
for osCommerce Online Merchant v2.2
Allprods is an additional page that can be linked from elsewhere in your store to provide a list of all products currently in stock.
The main aim is to provide a path to your product information for search-engine spiders, but it may also be of use to customers on smaller stores.
First contribution, so apologies if it is not all done "the osC way". It does work though.
Legend: 
Download

Report
For some reason, this contribution has been split and All products 3.0 and above has been moved to
http://www.oscommerce.com/community/contributions,1501
the latest versions of this contribution is a major improvement over what is available on this page, especially the latest one, version 4.4.
The new versions are more customer friendly as it includes images with the products among other things.
If what is available on this page is not as good as you were hoping for, then give this contribution a try.
And Enjoy.
THIS IS A BLANK FILE
Includes the previous fixes and additions.
COMPLETE PACKAGE
-Deutsche Anleitung im zip File enthalten-
-German instruction included in the zip file-
If you dont like the new link in the categories-box, "all Products", but dont want to miss the search-engine advantage, you can put the link that shows the All Products Page, into the categories Title like that:
open catalog/includes/boxes/categories.php
find around line 66:
$info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);
change to:
$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ALL_PRODUCTS) . '" class="textbox">' . BOX_HEADING_CATEGORIES . '</a><br>' );
Open catalog/stylesheet.css
Add:
a.textbox {
color: #ffffff;
}
Thats it,
the link is hidden now, but still available for the search engine.
You can see it live on www.LED-Store.ch, just lead your mouse on the title "Kategorien".
I changed the most titles in that way, like shopping cart or reviews, I thought this
little arrow is too small for some customers, now they can click on the title.
cosmo
If you have a deep tree of categories or loang name in category, the categories names will overlay the products name.
Read the appended little Textfile
------------------
Wenn Du lange Namen im Kategoriepfad hast, wird es passieren, daß der Kategoriepfad den Produktnamen überlagert. Lies die angehängte kleine Textdatei.
all products page modified to work with BTS v1.3
Sorry. I'm forget delete my function to manipulate the products_id.
Pardon. Ich habe vergessen, meine Funktion zur Manipulation der products_id zu entfernen.
make_link($products['products_id'] => $products['products_id']
(Thx2Kai)
english:
Back to the roots.
Remember! The job of the page all_products was to show links by all products in offer for the searchengines.
I mean there must show links to FILENAME_DEFAULT with cPath and FILENAME_PRODUCT_INFO with products_id on one page.
All_products 3.0 make correctly this and fast! Every product and every category with full pathlinks. And this with
only 2 Queries by the database.
deutsch:
Zurück zu den Aufgaben der Seite
Erinnern wir uns. Die Aufgabe der Seite Alle Produkte, ist es, den Suchmaschinen Links zu allen Produktseiten des
Angebotes zu zeigen. Dies sind meiner Meinung nach FILENAME_DEFAULT mit dem Kategoriepfad und FILENAME_PRODUCT_INFO
mit der Produkt-ID. Und das alles auf einer Seite, damit die Links wirklich alle gezeigt werden.
All_products 3.0 macht genau dies und schnell. Alle Produkte mit allen vorkommenden Pfadlinks mit nur 2 Abfragen
der Datenbank.
* Fixed an error in the SQL statement and in the sorting logic.
* Added a module version of the "All Products". You can display all products as default page.
* I took the liberty to copy and paste some code from index.php to make the page look the same
than the product listing. Columns are now configered through admin.
* added the German language file.
This is just a small bug fix to the version 2.61 of all-prods. This will fix the problem with product names with special characters. Ex: "A Bug's Life". Before this change, the URL would be incorrect and the product couldn't be found/
I have only changed one line in "allprods.php" and "allprods_without_model.php" . Changed line 143/141 to use urlencode instead of str_replace. The rest of the code is identical.
Just a slight modification.
Removed c.categories_status=1 which was hindering the way for those who dont have Enable & Disable Categories Mod.
Discuss here:
http://forums.oscommerce.com/viewtopic.php?t=54939
Hi
Done on the request by redc
Now the Allprod Page displays Manufacturer's Name along with the rest.
If you dont want to display the Model number, just read the readme.txt
Discussion here:
http://forums.oscommerce.com/viewtopic.php?t=39737
I have updated the All Prods mod to be compatible with Osc Milestone 2.2 which resolves the issue of getting a huge gap in the allprods.php while veiwing it in browser.
Discussion here:
http://forums.oscommerce.com/viewtopic.php?t=39737
some minor imporvements.
Discussion here: http://forums.oscommerce.com/viewtopic.php?t=39737
Adds the product name to each product URL.
Keyword presence in your URLs should affect search engine ranking for some engines, Google included. For more info, see here:
http://www.searchengineworld.com/tips/urls.htm
another fix; displays HEADING_TITLE from the language file.
Added language file to include proper breadcrumbs. Added instructions to include link to file from the bottom of the categories box.
minor fix to readme file. the information.php instructions included references to the wrong definitions.
v 1.8 by Alexander Witteveen ( xanderwitteveen@hotmail.com )
* added clear usage of allproducts. (where to plave the link etc..)
* Idea where to add the link
Script remains the same.
Greeting xander :-)
"Birdbrain" reported an error in the alignment of the products when using more than 1 column. Fixed.
This page produces a list of all products in all languages. The aim is to provide an easy path for search engine spiders.
To install just upload the file to your catalog directory. Then, link to this page from as many different pages
in as many different websites as you can.
For better results, one should implement the "HeaderTagsController", developed by Linda McGrath, as well.
This page produces a list of all products in all languages. The aim is to provide an easy path for search engine spiders.
To install just upload the file to your catalog directory. Then, link to this page from as many different pages
in as many different websites as you can.
For better results, one should implement the "HeaderTagsController", developed by Linda McGrath, as well.
The productList is now sorted on productname.
The contribution has been tested with OSC 2.2 2002/09/29 snapshot.
This page produces a list of all products in all languages. The aim is to provide an easy path for search engine spiders.
To install just upload the file to your catalog directory. Then, link to this page from as many different pages
in as many different websites as you can.
For better results, one should implement the "HeaderTagsController", developed by Linda McGrath, as well.
HTH
Marcel van Lieshout
Changes made to comply to OSC-standards. Now the tep_db functions are used as is the tep_href_link function.
This latter change is probably the most important change because now the page conforms to the
"Search-Engine-friendly"-setting in Admin. The contribution has been tested with OSC 2.2 2002/09/14 snapshot.
This page produces a list of all products in all languages. The aim is to provide an easy path for search engine spiders.
To install just upload the file to your catalog directory. Then, link to this page from as many different pages
in as many different websites as you can.
For better results, one should implement the "HeaderTagsController", developed by Linda McGrath, as well.
Although Terry Ross released the last few updates to this contribution, he suggested that I released this one. So, here it is.
HTH
Marcel van Lieshout
Allprods v. 1.3
A revision of Allprods v. 1.2
Changes made by Marcel van Lieshout to handle different languages.
Thank you, Marcel.
This page produces a list of all products. The aim is to provide an easy path for search engine spiders.
A revision of Allprods v. 1.0
Based on Michael Pope's message in General Forum, 08-30-02 14:39
Changes made in lines 63, 69.
"product_info.phpproducts_id" changed to "product_info.php?products_id="
Based on Mat Bennett's All Products Listing. Will work with more recent versions of The Exchange Project.
See it in action <a href = "http://www.newworld.net.au/store/allprods.php">here</a>
Allprods is an additional page that can be linked from elsewhere in your store to provide a list of all products currently in stock.
The main aim is to provide a path to your product information for search-engine spiders, but it may also be of use to customers on smaller stores.
First contribution, so apologies if it is not all done "the osC way". It does work though.