SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arrow Shopping Cart Script?

    I need a shopping cart.

    The thing i want is REALLY basic.

    The user clicks 'continue' (10 multiplied by quantity is added to total), they then select their shipping (price is added on to total), they finally click 'go to payments' and are taken to secpay with their final price.

    An example is below.

    http://gks.890m.com/democart - Does not function

    I have a merchant account on secpay so that is no problem at all, i also have the form to take the user to their page

    Code:
    <form name="payment" method="POST" action="https://www.secpay.com/java-bin/ValCard" name="autosubmit">
    <input type="hidden" name="callback" value="shopurl">
    <input type="hidden" name="merchant" value="MerchantID">
    <input type="hidden" name="trans_id" value="transaction id">
    <input type="hidden" name="amount" value="total price">
    <input type="submit" name="Submit" value="Go to payments">
    </form>
    All i need is a script that enables the EXTREMELY BASIC cart and also enables the points specified in red above.


    Hope i explained this well enough.

    Edit:

    I have a MySQL database if that is needed, which i believe it is


    Thanks for any help
    Gilligan

  2. #2
    SitePoint Addict
    Join Date
    Sep 2005
    Posts
    335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your page is no longer available.

    What is the problem you are having? You can just store the values in a session as the shopper moves through the pages. Then, replace the variables on your checkout page.
    PHP Shopping Cart Software Easy Ecommerce Shopping Cart Script.
    PHP Super Cart is 100% template driven.

  3. #3
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    link works again, and i don't know much about php, only know how to edit certain parts (barely)

  4. #4
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All sorted, will post the code when i get some time.

  5. #5
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heres the code.

    http://www.gks.890m.com/cart.zip

    Unzip and read 'readme.txt'


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
  •