About Club osCommerce

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

Follow osc_pro on Twitter

Pagination in New Products for (on index page)

Written By Gary on Jan 19 2012 · Comments (3) Follow osc_pro on Twitter

In response to an exquiry I decided to have a go at coding up a system of pagination for the "New Product for month" module that is shown on the index page of osCommerce sites.

With a little change in the php code of the module I managed to get it to work;

And here is a Youtube showing it in action;


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!


3 Comments

  1. For SEO purposes and page management, pagination should be avoided whenever possible. For instance Google will report the page-2,3 etc, most likely as pages with duplicate titles or duplicate meta-tags. It is way harder to create appropriate tags with pagination.

    Perhaps with some jquery and ajax the pagination links could be invisible to spiders but still you want to offer better navigation to customers. A use of drop-downs to filter products by type or some other type of facet navigation will be better along with jquery so spiders won't see them and treat them as different pages.

    That's of course my opinion.

    Comment by enigma1 — January 26, 2012 @ 11:13 am


  2. Hi Mark – could use rel nofollow maybe?

    Comment by Gary — January 26, 2012 @ 11:23 am


  3. Technically you could but I don't know of the results. Google has changed the nofollow attribute. In a page, it used to divide the page rank among the links excluding the ones with nofollow. Now I am reading they may divide the page rank among all links including the nofollow. And so to be on the safe side I use jquery so the links can be used by humans but spiders cannot see them.

    Comment by enigma1 — January 27, 2012 @ 12:43 pm


Leave a comment

RSS feed for comments on this post

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!