About Club osCommerce

Showcasing osCommerce…the good, the bad and the ugly!

StumbleUpon It! DIGG It!

Product Lists in osCommerce

Written By Gary on Jul 30 2008 · Comments (4)

Buy Gary A Beer?
Buying me a "beer" helps me to keep my contributions updated and keep this blog alive - and you get a link from my homepage to your site. Cheers!


Some time ago on one of my other blogs, I spoke about my frustration with how osCommerce lists products. It's a mish-mash of 4 or 5 different ways.

To see what I am talking about have a look at this (New Products for Month), then this (New Products Page), then this (Products of a certain Manufacturer) and finally this (Advanced Search Results).  You can see the difference in the looks straightaway.

My idea is to get a standardised look for all lists.  So what I am going to attempt to do is to use one module to create all the lists – in this way, we know that any lists of products will look the same where-ever you are in the store.

I've been working on this off and on for some while (admittedly more "off" than "on" but there you go), and have so far managed to get the following lists standardised:

1. new products for "month" (in the index page)
2. category drilldown lists
3. sub-category drilldown lists
4. manufacturer lists (needs further coding to add "paging")
5. advanced_search_results list (however, this needs further coding to add "paging")

I still need to recode products_new.php to use the module rather than it's own mishmash of code.

More lists

I can think of the "shopping_cart.php" list (eg, when having 2 or more items in cart), but this would need to stay as is, as it needs extras such as "remove" column, "quantity" column etc.

What other lists are there in osCommerce – off the top of my head, I can't think of any more.  Can you?

Seeing the results

Once I have all the lists covered, I'll introduce the new module as a contribution – in my opinion it'll be much more useful to have the look of the lists standardised across all osCommerce pages.

4 Comments

  1. specials.php has a list – forgot about that one!

    Comment by Gary — August 2, 2008 @ 10:57 pm


  2. Paging is now fixed up.

    Comment by Gary — August 3, 2008 @ 4:01 pm


  3. Can we see / get a working example? thank you Gary!

    Comment by lampade — August 9, 2008 @ 8:16 pm


  4. Lampade – I'm still perfecting it. I need to sort out "paging" when in products_new.php and specials.php – it's proving harder than I thought!

    Comment by Gary — August 10, 2008 @ 10:38 am


Leave a comment

RSS feed for comments on this post · TrackBack URL

Hot 100 osCommerce Shops

View the osCommerce HOT 100These are the best looking, most exceptional osCommerce Stores as voted for by you.

New to osCommerce - get inspiration from these beautiful shops. Reckon your site has what it takes to become a member of the HOT 100? Submit it!