I Need a Search/Sort Script

Discussion in 'HTML & Website Design' started by zeekstern, Jan 8, 2009.

  1. #1
    I am putting up a site that has maybe 20 products on it. I would like visitors to be able to search by Product Name, Cost, Size, Color etc.

    Is a script what I need and if so, how do I go about getting one? It seems to me that I would also need a database of some sort too.

    Any help would be appreciated..
    Thanks!!

    Zeek
     
    zeekstern, Jan 8, 2009 IP
  2. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #2
    You could set the products up in an array with javascript, and have it output the table of products, then whenever the click, for example, the "Price" button above the price column, it re-outputs the table ordered by price.

    How often are these products going to change? Can they be hard coded?
     
    crath, Jan 8, 2009 IP
  3. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #3
    Cubecart, Joomla, Magento, Os Commerce
     
    crivion, Jan 9, 2009 IP
  4. zeekstern

    zeekstern Active Member

    Messages:
    872
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Thanks crath..

    They won't change much at all..

    Zeek
     
    zeekstern, Jan 9, 2009 IP
  5. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #5
    what kind of detail do you need for each one? like, title, color, price, description, picture, etc

    Using something like oscommerce will give you the most stability and features for this kind of system. It is good to have a stable back end so people can not screw with their shopping carts. If you want to look at other e-commerce carts, feel free too, there are plenty of free ones. You can check back with us here if you need more assistance.
     
    crath, Jan 9, 2009 IP
  6. zeekstern

    zeekstern Active Member

    Messages:
    872
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Oh this isn't anything that fancy. I don't need a shopping cart, oscommerce etc.
    I just will have about 25-50 similar products and want the visitors to be able to easily search for the product they are interested in according to their interests, for example price, or color etc. They will then be taken to a different page providing them with the full details.

    Thanks for the replies!!

    Zeek
     
    zeekstern, Jan 9, 2009 IP
  7. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #7
    Where do you want to store these products?

    A file or a database?
     
    crath, Jan 12, 2009 IP
  8. zeekstern

    zeekstern Active Member

    Messages:
    872
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #8
    Crath..

    Doesn't really matter. I will not be doing anything with the data at all except for adding new entries.

    Thanks!!

    Zeek
     
    zeekstern, Jan 14, 2009 IP