Results 1 to 2 of 2

Thread: Shopping Cart

  1. #1

    Thread Starter
    New Member andromeda25's Avatar
    Join Date
    Apr 2002
    Posts
    11

    Shopping Cart

    Hi all,

    I've just set up a website that sells printed certificates, posters, menus and other things, but I'm having trouble with the shopping cart side of things.
    How I want it to work is this:
    Say the customer wants menus printed. They browse the menus available then pick one they like. They're then directed to a page where they can add the text they want printed on the menu, and choose the amount they need. They then get directed to the payment page(PayPal).
    I know how to set up a basic shopping cart but this is a bit over my head, so I was wondering if anyone had any ideas how to do this and point me in the right direction. The url is:
    http://www.print-direct-uk.co.uk/home.shtml

    Thanks.

  2. #2
    Addicted Member TheGoldenShogun's Avatar
    Join Date
    Mar 2001
    Location
    VA/MD... anywhere around the beltway
    Posts
    236
    my company sells pictures online, similar to what you do in a way. what I did was I stored all the information in delimited cookies... so if they ordered image 01.jpg which has an ID of 000001 and they ordered 2 of that images in a 5x7 prints then my cookie would be 000001#5x7##2 then when they placed another order I delimit it even more so that upon checkout their order would look something like this... 000001##5x7##2%%000101##8x10##1

    then on checkout you explode('%%', $thecookie) and then explode each section of the exploded cookie [explode('##',$thecookie[1])].

    As far as your connection to paypal, from what I do on my site we're just passing paypal the information like cust_name, cust_address, cust_etc, order ID number, and amount and storing all that information in our database while paypal/verisign takes the credit card information and then sends us an email informing us whether they are approved or not. That hopefully gives you a geniune idea about how its set up. Hope it helps..

Posting Permissions

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



Click Here to Expand Forum to Full Width