Want shopping cart in my website

Joined
5 Nov 2004
Posts
9,302
I am working on a very simple html website with not much more than images on it. I would like to create a purchase option for each of the images and have an online store handle the payment (so basically shopping cart facility)
I want to incorporate it into my design so any help or pointers would be welcome.

Cant seem to find the information online I am looking for which suits my needs.
 
After a long time searching I failed to find an out-of-the-box option that allowed me to do everything I wanted whilst integrating tightly into my site and, more importantly, not looking rubbish. My requirements were:

- different products available for each item (canvas / print etc)
- php pages to autofill the galleries according to a genre I define, but to allow some images to be purchased and others not
- have a backend that allows carts to be stored for future visits
- a cart on the website rather than going straight to paypal so that I can handle everything but the card payment.

Those were the main things, but there were others and probably some I can't think of right now.

In the end, I wrote my own cart system to do exactly what I wanted. The only thing to do now is actually integrate with paypal, but that won't take long. You can see pretty much what it looks like here, though it's still in dev: www.gyphotography.co.uk/dev/v2/

If you want any more info on bits of it, email in trust :)

If you want something very much more simple than that, a paypal buynow button would do the trick, but it's one per basket item, so there'd be three if you wanted to offer three different types of prints for a single photo. That's as I understand it, anyway, though I didn't look into it a whole amount.
 
Last edited:
I've just written a cart for a poster site that I also built. I had a similar issue in the fact I'd written a facebook style gallery browsing system so had to use the AJAX to update the form for each image shown, and to prevent users moving away from the image when adding to the basket, had to do an off page add and an onpage notification.

The cart update had to follow the same route but it resulted in a nice no page refresh interface. The checkout took some thought but it ended up with a postable form with no javascript or a check and then post by javascript to paypal if the users browser was capable.

I think buy now buttons are very restrictive and I'd definitely look at an off the self cart solution or get someone to create one for you.
 
Back
Top Bottom