Published by Sara Jacobson
Jul 6, 2006 03:44 PM under Gallery
Gallery Cart is a PHP add-on for Gallery v1.5 enabling users to sell their photography online. Features include:
- customizable products and pricing per album and per photo,
- international currency and billing/shipping,
- delivery or pickup shipping choices,
- payment via check or PayPal.
Gallery Cart is just in it’s infancy, so bear with us as these pages mature into a more complete website.
Downloads, Discussion forums, support requests, and much more is available on our SourceForge project pages: http://www.sourceforge.net/projects/gallerycart/
Missing a payment from a customer?
Folks, there are some of you out there who set up Gallery Cart and don’t appear to change much in the configuration files. I set the paypal email to my own email, rather than email@example.com or similar dummy account, so if you fail to set your paypal account email, the payment is sent to me, rather than out into the ether. Then I can redirect the payment to you, avoiding the need for you to contact the customer and ask them to withdraw the payment and resubmit.
If you are missing a payment, please contact me and if I can confirm that this order came from your site, I’ll redirect the payment (minus the paypal fees) to you, avoiding the above-mentioned embarassment. Elsewise, I’ll have to refund the payment to the customer in a couple days, with a note explaining the situation and they’ll have to talk to you.
I’m actively developing this again now, so look for developments in the coming months.
The Inception of Gallery Cart (or what could possibly spur someone to undertake this project?)
As a web developer, I often need to find products to meet my clients needs. I like to use open-source solutions where I can, as it keeps costs down and the creativity of the community is really something quite grand.
A client wanted me to create a website where he could sell his photographs online. At first I looked at general ecommerce shopping carts as I’ve had success with them in the past. However the ones I’ve used didn’t quite meet the needs of the client. Then I realized I shouldn’t be looking at the development as a shop with a gallery tacked on, but as a gallery with a shop tacked on.
I tried out many galleries and finally found a perfect match in Gallery. It had all the gallery features my client wanted and there was (and is) a bustling forum community that can help with almost any request. There was even a shopping cart add-on: Jenado Cart.
Jenado was developed by Timothy Pomeroy to meet his needs for a cart and he generously offered it to other Gallery users. It had almost everything I needed and I figured I could modify it easily. Unfortunately, Jenado was developed for Gallery v1.4x and a PHP environment with register_globals on. It wouldn’t work properly with PHP’s recommended security settings. …so I sighed and went in search of another Gallery cart that would work. I found quite a few, but none had all the features that Jenado offered. I even installed a few other image galleries with carts built in, but again, they didn’t match as well as Gallery did.
I returned to Gallery and Jenado. I rolled up my sleeves and dug into the program. While I am not a newbie, I still considered myself somewhat of a novice when it comes to PHP. But I’ve had years of programming experience and went at it with a hopeful heart. Two weeks of off-hours work developed the cart enough for my client who was quite satisfied. I wasn’t….yet.
I have this rather annoying trait. I tweak. If something is broken, I want to fix it. If something is almost perfect, I want to make it completely so, even if it means tearing it down and rebuilding it from the foundations (If you don’t think that is annoying, ask my husband). I stripped the cart down again and began anew, optimizing where I could. I read the forum posts to find what users found confusing and tried to simplify it. What worked, I left alone. While I was at it, I made a list of additional features folks desired.
Gallery Cart was born out of sleepless nights and dogged determinism (aka stupid stubbornness). After a consult with the originator I decided to rename my version of the cart so it can mature on its own path and allow Timothy to reserve the Jenado name for his own future adaptations.
Why Gallery Cart and not a more original, spiffy name? Because at 3am after a few weeks of going to bed ‘in a minute…just need to fix this one thing….’ I was tired. So, I decided to be practical. This is a shopping cart. For Gallery. So: Gallery Cart.
Maybe there’ll be a ‘Name this Cart’ contest at a later date.
I hope you’ll find my contribution helpful to you. I have quite a bit more work to do yet, miles to go before I sleep, and all that, and I welcome any suggestions you may have.
Once again: Downloads, Discussion forums, support requests, and much more is available on our SourceForge project pages
And while you are at it, visit SourceForge. They have kindly agreed to host this humble project, and have so many wonderful open-source projects.
Known issues are not yet catalogued.