Results 1 to 6 of 6

How to do a Simple, Specific Shopping Cart Layout

This is a discussion on How to do a Simple, Specific Shopping Cart Layout within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I am new to OsCommerce - used ISP's install, don't know OsCommerce version number. First encounter with PHP (no experience) ...

      
  1. #1
    Lurker
    Join Date
    Nov 2003
    Posts
    4
    Rep Power
    0


    Default How to do a Simple, Specific Shopping Cart Layout

    I am new to OsCommerce - used ISP's install, don't know OsCommerce version number.

    First encounter with PHP (no experience) - looks very C-related, with different syntax.

    Me? Years of programming experience in many languages.

    This first project is my learning curve; although OsCommerce may be "overkill" for this project, no product without a decent database is practical for eCommerce (my opinion).

    PROBLEM - would like the following layout, (client's wishes!) without having to seriously re-write the PHP loops in "default.php" (catalog version), and without any product images being used:


    2 pages, with field layout:

    <Category 1> VHS


    <Title> <Code> <Quantity> <AddToCart>
    [Lord of the Rings] [Code zippazuppazoo] [1] [icon/image]
    [Sleepless in Seattle] [Code sleepytimefun] [1] [icon/image]
    etc ..........


    <Category 2> DVD


    <Title> <Code> <Quantity> <AddToCart>
    [Lord of the Rings] [Code dippaduppadoo] [1] [icon/image]
    [Sleepless in Seattle] [Code sleepyfuntime] [1] [icon/image]
    etc ..........


    The idea is to select a category and then be taken to page 1 or 2. There, the page will contain a simple sequential listing of titles as described above. Each product and quantity should be able to be added to the cart without having to visit the cart either until shopping is complete, or whenever the customer wishes to review "shopping to date".

    I've been looking for code modifications - while I'm prepared to modify any code, I'm looking for simple ways or shortcuts.

    Thanks for any and all suggestions - Jim

  2. #2
    Lurker
    Join Date
    Nov 2003
    Posts
    4
    Rep Power
    0


    Default

    Addition to above.

    After reading 6 pages of posts, and seeing all the capabilities listed for the latest version of osCommerce, do you think I'd be further ahead to uninstall the version given by the ISP, and download and install the latest version?

    This is what appears at the bottom of the PHP-generated pages:

    Copyright © 2001 The Exchange Project : Harald Ponce de Leon
    Running on The Exchange Project Preview Release 2.1

    "Preview Release 2.1" causes me concern. Comments?

    Thanks - Jim

  3. #3
    Member
    Join Date
    Aug 2003
    Location
    Lost
    Posts
    65
    Rep Power
    0


    Default

    I am not sure what that refers to but it does not say what Mine does.

    What I did was just drop all the tables in the existing cart that was on the server install because it WAS an old version, and import the database I had already gotten from another site that we had started on before having to move due to it not meeting our needs, and delete all the files within the Catalog, and upload all the new files.

    Had no problems.
    As long as you remove all the existing info from the one click install, and upload the new catalog fully, as well as import all your DB stuff, you SHOULD be ok..

    Good Luck!
    ~~!!It did WHAT??!!~~

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Jimbeau, eek. You are using a REALLY OLD version of osCommerce. I would not use it if you have a choice!

    Uninstall it and get a newer version
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Version 2.1 is from 2001! It is okay to use - however if you want to "add" anything in (like a contribution - which most are based on NEWER version) you will not find too much help.

    Download a current MileStone version like MS2 and install that.

    If you want to modify the Layout - easly - then you should install a Template system like BTS or STS.

    Download and install MS2-MAX - it already has BTS installed (and more - See this forum's HOME page for more info).
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  6. #6
    Lurker
    Join Date
    Nov 2003
    Posts
    4
    Rep Power
    0


    Default

    Thanks ALL, for all of the replies.

    To get familiar with osCommerce, I will [1] download new version; [2] install PHP on a Windows 2000 server; and [3] run osCommerce using "localhost" mode, locally.

    Any other comments (except the usual "you should be using Linux", with which I also agree!).

    Thanks, Jim

Similar Threads

  1. Shopping cart
    By decoster in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 12-05-2006, 09:12 AM
  2. Which shopping cart should I use? Please help.
    By earth-friendly in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 07-16-2006, 01:36 PM
  3. Possessed Shopping Cart Box??
    By SWasson in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 07-20-2004, 03:03 PM
  4. have shopping cart on a schedule
    By lopeel in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-07-2003, 10:28 AM
  5. Shopping cart won't empty
    By judoka in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 07-14-2003, 02:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •