Mura: Simple Shopping Cart Plugin

I wanted to produce a very simple shopping cart (no payment gateways) for a client of ours. There are a few shopping cart plug-ins coming after Christmas like Meld ecommerce and Slatwell. However, I just wanted some thing now that's simple and fast to share with anyone who's intrested. So I produced FusionSell for Mura. It does however need a lot more work, but it's a testimony to how quickly and easily you can write a plug-in for Mura - if I can do it anyone can!

If people find this plugin useful, I will actually turn it into something more, 'ecommerce like' with payment gateways using the FW/1 framework.

Anyway, take a look at the setup video I did below if you have time. It feels like it took me longer to learn Camtasia then it did to do this plug-in. You can find the actual plug-in at RIAForge when I remeber my password! Temp files can be found at the URL below for the time being.

I only tested this plugin on CF8.

Update: on RIAForge :here

Nov26

Comments 9

  1. Greg Moser's Gravatar # Posted By Greg Moser
    28/11/10 00:11

    Awesome Job Glyn! This looks really cool. I'm sure a lot of people in the community will be very happy to have this addition to the mura family! Seems like it will be the perfect fit for most people.

    Can't wait to get it installed on a test server and play around!

  1. Ben's Gravatar # Posted By Ben
    28/11/10 05:43

    Cool, checking it out now! BTW, what is the music you used in the video? Its funky :D

  1. Ben's Gravatar # Posted By Ben
    28/11/10 10:52

    I'm getting a database error after installing the plugin, after poking around it appears the create statements are MSSQL specific. Is there a way to a) either point the plugin at a different compatible CF Datasource or b) make a mySQL version of the queries or c) use an ORM? :D

  1. Glyn Jackson's Gravatar # Posted By Glyn Jackson
    28/11/10 12:30

    Thanks Greg, I am sill really looking forward to Slatwell. FusionSell still needs a lot of work.

    I have just updated it today sorting out a few issues like saving a second address and removing hardcoded URL's. Lots more to do tho, admin needs a lot more work. cart needs dicounts etc. By version one I am hoping to have a better admin and some payment gateways (or a way users can add gateways).

    At the moment the main issue is... it only works on the default id with index.cfm. I am looking into this. If anyone else was to contribute please feel welcome.

  1. Glyn Jackson's Gravatar # Posted By Glyn Jackson
    28/11/10 12:36

    Thanks Ben, you may want to download the update as there has been a few fixes. I welcome any feedback.

    The song is part of the default Camtasia library called come and play. Cool tho, not sure who it’s by

  1. Glyn Jackson's Gravatar # Posted By Glyn Jackson
    28/11/10 12:43

    @ Ben.

    Yes I was thinking about this the other day . As the client was on MS SQL I did not have time, but will looking at sorting it out for mysql.

    If you look in the plugin.cfc the updateOrderTables and the checks that are done in there need a mysql version. If you want to add please share your code. for now I will just update to say MS SQL only. ORM for now I don't want to do as I need this plugin to work on both CF8 and CF9.

  1. Glyn Jackson's Gravatar # Posted By Glyn Jackson
    28/11/10 12:48

    @ Ben I am sure in Mura you can do this....
    application.configBean.getDBType() eq "mssql"

    in Plugin.cfc
    So a simply if statement around the create query add MySQL?

  1. David's Gravatar # Posted By David
    07/12/10 06:17

    Any chance you'll support Railo?

  1. Glyn Jackson's Gravatar # Posted By Glyn Jackson
    07/12/10 20:03

    Hi David, I don't see why not. Only thing at the moment I think would be cfgrid. I plan to rework the admin when I have some time. I welcome any more suggestion.