Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Consulting
  • Resume
  • Nerd Herding
  • Talks
  • How to Plan a Website
  • Zend Framework
« The community mourns the passing of Richard “Cyberlot” Thomas
Book Report: You Want to Do What with PHP? »

Ecommerce in WordPress

Dear Reader,

The Problem

Regular readers know that back in November I put on a one day virtual conference titled Day Camp 4 Developers. Part of the deal was that all ticket holders got free copies of the recordings. It sounds like such a simple thing; just put them up for download, right? Not really. Let’s look at the actual requirements.

  1. Shopping cart to allow me to eventually sell the videos.
  2. A way to let my existing ticket holders “buy” them for free. (Coupon codes)
  3. A way to keep the real location of the files hidden so people don’t just go download them.

Those were the biggest items. Beyond that I was willing to either sacrifice or code it myself.

The Solution

I looked at a lot of shopping cart solutions ranging from the horrible to the expensive. I really wanted to go the open source route, not because I’m cheap or don’t believe in paying people for their work but I knew there would be needs I had that I would have to code myself. In that case, I wanted to be able to contribute back to the project. (Assuming they wanted the code, I wrote)

I ended up with eShop. It’s good, not great. It meets all 3 requirements, although I did have to help it along in a couple of places. I looked at the code, again, good, not great. It amazes me that after watching the PHP community scream “filter input, escape output!” so much that some developers still don’t. I had to add some filtering and a lot of escaping to get the results I wanted.

In the end though, it did the job. Like the other tools I used for DC4D, I could have written a more tailored solution myself, however, it would have take me a lot longer to get the job done and get the video’s up.

Side Note: I am so used to community projects being the norm that it surprises me when I find a project that is not community based. eShop is a single developer building a project. There is no repo for eShop and no way to submit patches other than just email them to the author. He has a forum for the project and it’s active enough to let me know people are using the product but there is no developer community working with him to mantain and enhance the project. It makes me sad. For those interested, no, he did not accept my patches but only because he didn’t want to take the project in that direction. I eventually forked it for my own use because I’ve modified it enough now that upgrading to future versions is a pain.

Conclusion

WordPress (“The word press” as one of the lovely and talented Kathy’s bosses used to call it) was never designed for ecommerce. Any solution is a bolt-on and feels like it. However, eShop is a good solution if your needs are modest.

Until next time,
I <3 |<
=C=

Buffer

Tags: daycamp4developers, ecommerce, eshop, opensource, wordpress

This entry was posted on Monday, December 20th, 2010 at 8:05 pm and is filed under wordpress. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Logging In...

Comments are closed.

  • 3 Replies
  • 3 Comments
  • 0 Tweets
  • 0 Facebook
  • 0 Pingbacks
Last reply was January 8, 2011
  1. Erin Wiles
    View December 28, 2010

    Love the closing. I have come in contact with many programmers who fall in love with a particular CMS and think it is the end-all, be-all. They love it so much they try to force it to work for whatever the particular project or need is, all the while ignoring other options or other types of CMS solutions that may be better fits.

  2. Marco
    View January 8, 2011

    Thanks for sharing your thoughts on this. ECommerce is something I’d like to get into more, but one thing that’s always daunting is the amount of options out there. I’m familiar w/WordPress, but always hesitated to call on it for aggressive ecommerce projects. However, given your feedback I’ll consider it next time.

    Magento may’ve been too much of a bear for your needs this time around, but what has your experience been with it?

  3. Herman Radtke
    View January 8, 2011

    Is your eShop fork publicly accessible?

  • Friends of mine

  • My Latest Book


    Avoiding a Goat Rodeo

  • Follow me on twitter!

  • RSS PHP Podcasts

    • Episode 110: Azure hits 1 billion, RubyFlux compiler, Laracasts and more
    • Episode 7: Web Sockets Are Fast
    • Better Documentation for PHP internals – Lately in PHP podcast episode 35
    • Episode 31: Feline Tooth Extraction
    • Episode #2 – Adam Culp
    • Episode 6: PSR-X and the Mexican Standoff
    • Episode 109: Typescript and a bit more…
    • A Better PHP Feature Voting Process – Lately in PHP podcast episode 34
    • Episode 30: It’s Episode 30, you guys
    • PHP Innovation Award Winner of 2012 – Lately in PHP podcast episode 33

  • Me, elsewhere on the Web

    • Best web design company
    • Cal Evans Dot Com
    • Cyrano’s Apprentice
    • Evans Internet Construction Company
    • My Life as a Child
    • PHP Podcasts

  • Categories

    • Apache
    • BlogBling
    • Blogging
    • Book Review
    • codeworks
    • Entertainment
    • Entrepreneurship
    • Flex
    • Humor
    • JavaScript
    • Long Form
    • Management
    • Marketing
    • Me, elsewhere on the Web
    • PHP
    • podcasting
    • Programming
    • SQL
    • Technology
    • Web 2.0
    • wordpress
    • WordPress Plugins
    • writing
    • zend framework


Postcards From My Life is proudly powered by WordPress
Entries (RSS) and Comments (RSS).