write javascript

This project was awarded to alethes for $12 AUD / hour.

Get free quotes for a project like this
Project Budget
$5 - $20 AUD / hour
Total Bids
Project Description

I have an eCommerce site I'm developing. I need a small amount of javascript written. Some of my categories only have one product. I would like to skip over the 'list of products in this category' page and go straight to the ony product in that category.

See 'bookcases' here as an example: [url removed, login to view]

So I think I need to

1. check inside a div class for the number of

2. and if that number is 1, get the href attribute from that product

3. and navigate to that page.

The script can be an external sheet that I include in, or I can paste the script directly into, my products layout template.

I would appreciate the code written in the most efficient way.

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online