Optimalworks Ltd web design, SEO, training and consultancy 

the site completely surpassed my expectations GT, AutoDirector, we build websites that work, my website is great - I love it MP, XL Autos, reach more customers, make more sales, it's more than I ever could have expected LM, Trade Cars UK, we can help your business grow, 99% of business now comes from my website GV, Bash Events, promoting standards throughout the web industry, your contribution added a level of quality we would otherwise have struggled to achieve PS, Hemsley Fraser
  1. home
  2. Services
  3. Portfolio
  4. Contact us
  5. blog

PHP open-source shopping carts: OpenCart and Magento

written by Craig, 13 November 2007

I’ve been evaluating both of these shopping cart systems for a project I’m working on. Here are my opinions after a few hours testing…

OpenCart (v0.7.7 tested)

OpenCart looks great and is simple to setup and use. It’s probably aimed at smaller online shops, but is stable, fast, and caches pages. It’s new, so there aren’t many mods or themes just yet. Custom templates look straight-forward though.

My main concerns:

  1. It uses MySQL MyISAM tables (fast with full-text indexing, but no foreign keys or transactions). I’d really expect InnoDB to be used for a shop.
  2. URL aliases/mod-rewrites don’t work and there are few SEO considerations – descriptions and keywords can’t be entered. This should be fixed in the next version, but mod-rewrites need easier implementation (there’s currently a lookup table that must be manually populated with the real and aliased URL for every page).
  3. Template values are inserted using global variables. It feels dirty, and problems could occur with that approach. The current templates use transitional HTML, but I think standards-based versions should be possible.

It’s worth keeping an eye on the project and it’s definitely one I’d consider as it matures.

Magento (v0.6.1360 tested)

A serious amount of effort has gone into Magento. It’s huge, can run multiple shops, and has an Amazon-like plethora of features. The interface is nice, support is excellent, and there’s lots of help including video tutorials. InnoDB tables are used, mod-rewrites work, and SEO is well implemented.

My main concerns:

  1. It has high system requirements and could get slow with lots of users. The system could benefit from page caching.
  2. It’s a seriously complex piece of software and has a steep learning curve. It’s one for large companies rather than one-man stores (I couldn’t get a product to appear on the home page!)
  3. Templating is very flexible and uses XML to define multiple HTML page layouts and sections. But, it’s complicated: there are dozens of files in multiple locations, and the documentation appears to be wrong or out of date. It also seems to embed page-specific JS form validation code in the page head – not great.

Only a few people appear to be using it so far … that’s a little worrying given the positive press it’s had. Magento is very promising, but I would suggest waiting until it’s out of beta before using it.

  • categories: all popular, software
  • tags: review, software
  • trackback: http://www.optimalworks.net/blog/2007/software/opencart-magento/trackback
  • bookmark: del.icio.us, digg, facebook, twitter, reddit, Furl, Spurl, Blinklist, Slashdot, Technorati, Yahoo!

25 comments:

  1. 17 November 2007 Daniel Kerr commented

    Template values are inserted using global variables

    OpenCart Does not work using global variables!

    Thnaks for the good review though!

  2. 18 November 2007 Craig commented

    Hi Daniel.

    I was referring to the use of global variables within the templates. It’s not a huge problem, but people creating templates would need to be careful not to override your variable names (e.g. $header).

    OpenCart is still a great product though, and I suspect downloads will increase exponentially as developers become aware of it.

  3. 13 January 2008 Opensourcer commented

    Any reason why you did not consider Zencart?

  4. 13 January 2008 Craig commented

    I looked at ZenCart a couple of years ago, but it always concerned me that templates had to be table-based. However, I’ve just read a recent article that says it’s fully standards-compliant so I’ll try it again.

    I’ve also used CubeCart – it isn’t open source, but it’s very good and worth looking at.

  5. 24 January 2008 Israel commented

    I have tried to install magento a few times and I have not been able to install it, yet. You are right about the high system requirements, I’ve been talking to my web hosting service and they say the do not support Magento, because of the “PHP Extension “pdo_mysql” must be loaded” error I get. This is a major hold back fro a lot od users trying to install magento, I FEEL YOUR PAIN. I mean I’ve worked woth osCommerce, Zen-cart, opencart and others and zen-cart has been easier to work with so far

  6. 24 January 2008 Craig commented

    To be fair to Magento, PDO is a good way to go since it offers an abstract database layer and does not necessarily tie you to MySQL. Unfortunately, few hosts install it by default. Some allow you to modify php.ini settings, so you might be able to fix the problem.

    But installation was easy compared to building custom templates! Magento could be great, but it’s overly complicated and few people are using it.

  7. 5 April 2008 Chuck Miller commented

    We’ve just started looking for an open source shopping cart. I see Magento is out of beta. Any new views on it or others?

  8. 7 April 2008 Craig commented

    I’ll certainly be taking another look, but it’s apparent that they have not simplified the template system. There are still very few live stores and most of the examples are basic cosmetic makeovers of the default template.
    However, the documentation appears to be better, so perhaps it’ll be a little easier now.

  9. 28 May 2008 Brad commented

    I’ve been trying to use Magento for the past week now, and after I FINALLY got it installed (had to haggle with my hosting company to get the pdo_mysql installed for me), I’ve been trying to template it. Not only do you have to modify XML files AND phtml files, you also have to make sure you set the template within your XML. It’s extremely over-complicated, and I really am struggling to get this shop up and running. I would stick with Zen Cart overall.

  10. 28 May 2008 Craig commented

    Thanks for your comments, Brad. It’s a shame that Magento’s templates are so overly complicated because the product has a lot of potential. Please let me know if you manage to get your shop working.

  11. 25 June 2008 Terry commented

    Does anyone know how I can replicate the http://www.tshirthell.com website? Essentially the products are on the home page, which has been merged with the home page, and clickable through to individual products page. I have Magento, and I am just checking this in advance

  12. 26 June 2008 Craig commented

    I’m sure Magento can handle it, but I doubt that it’ll be easy. Please let us know how you get on.

  13. 2 September 2008 Matt commented

    I am just starting selling my product with my magento website.

  14. 8 September 2008 inets commented

    I use opencart. It is very esasy shop script. I was try magneto demo page and my opinion is – slowly admin system. It isn’t good way if you have a lot of product units.

  15. 8 February 2009 Callum Rimmer commented

    I have built an ecommerce with Magento (www.eufcshop.com) and OpenCart (www.dartease.com).

    I found OpenCart the much easier solution. I would recommend people, currently, to use OpenCart ahead of Magento.

  16. 2 June 2009 Worried commented

    I checked the php.ini file that comes with it.
    register_globals = Off;
    safe_mode = Off;
    Isn’t this combination a receipe for disaster? Does anyone know for sure?

  17. 2 June 2009 Craig commented

    No – that’s what it should be for a secure PHP system.

  18. 19 June 2009 Basharat commented

    I Build two time shop with magento but both time not gain success one time during up gradation secondly very slow in our country

  19. 19 September 2009 Tony commented

    Opencart is very good and easy to use. However, if you ever have a problem don’t expect any kind of customer support as it is non-existant. The Ops. who run the site never answer message son the forum and when they do the replies are blunt and sometimes downright rude.

  20. 21 October 2009 Justin commented

    Having recently evaluated Magento, I found it slow even on our dedicated server and production enviornment. The backend was slow (but certainly feature rich). I had trouble getting it to show products also, had to do something with the cache if I remember. The templating system in Magento is powerful, but very complicated as u suggested. For this reason I avoided it.

    I found opencart much easier to use and had a new template up and runing in under 2 hours. IT has a neat backed also…I like!

  21. 22 October 2009 OpenCart Hosting, Open Cart Web Hosting, OpenCart eCommerce Web Hosting | Web Hosting Reviews commented

    [...] OpenCart Vs. Magento [...]

  22. 27 November 2009 Scott commented

    Tried both of these carts when I first started out. Magento is very powerful and enriched in features which make it a dream for large online businesses – however, it’s very complicated and bloated which kind of slows it down a bit and isn’t the best if you want to design the site yourself. Opencart is great for very small businesses – It’s light with clean, uncomplicated code but it doesn’t have great support which really lets it down IMO. I ended up going with prestashop which is perfect for me

  23. 30 December 2009 Murray price commented

    For me I have found OpenCart wins hands down! I tried installing Magento which was the most frustrating experience. Finally found out my hosting account can’t support Magento which seems to be a problem that a lot of people have. I also dislike the front end look of the default template which in its self isn’t problem as you can modify the template but as countless others have found this is a major undertaking. Opencart is the best bet!!!

  24. 14 January 2010 Charles commented

    Open cart is great looking for small biz, and fast. Magento is a bloated pig. I really had high hopes for Open Cart, but I had some minor technical problems, and when I tried to use the forums to ask for help, people were curt and rude, including the main developer of the cart. The common fix is to tell people to upgrade their browser – which is a horrible customer service approach. I KNOW out of date browsers are bad, but if 60% of people out there use them, that’s 60% of my potential business!

  25. 25 February 2010 Opencart commented

    Opencart easy to use, and making opencart seo more flexible.

add your comments
please enter your name
please enter your email address - it will not be published anywhere
please enter your website address
please enter your comments (all are moderated and checked for spam)
  • next article: Cross-browser scalable text in CSS 
  • previous article: Government website accessibility guidelines 
search
  • all popular (5)
  • courses (1)
  • general (4)
  • hardware (1)
  • software (30)
    • blogs (1)
    • free download (7)
    • web browsers (12)
    • web servers (2)
  • web development (36)
    • accessibility (4)
    • ajax (1)
    • css (2)
    • graphic design (4)
    • html (1)
    • javascript (9)
    • php (4)
    • seo (2)

tags

  • accessibility
  • ajax
  • apache
  • award
  • chrome
  • computing
  • css
  • design
  • developers
  • dom
  • download
  • editor
  • emulation
  • firefox
  • funny
  • graphics
  • hardware
  • html
  • ie
  • javascript
  • opera
  • php
  • png
  • portfolio
  • review
  • safari
  • security
  • seo
  • server
  • software
  • spam
  • ssl
  • standards
  • wordpress
  • xml
  1. site map
  2. home
  3. Services
  4. Portfolio
  5. Contact us
  6. blog
  7. RSS feed
  8. project survey

XHTML 1.0 | CSS 2.1 | WAI AAA | printer-friendly

©2010 Optimalworks Ltd, Devon, UK. Registered in England and Wales No. 5922205.

This page can be viewed at http://www.optimalworks.net/blog/2007/software/opencart-magento