Opencart 1.5 Mobile Theme – 1

Following on from earlier efforts to create a mobile theme for my existing Opencart 1.4.9.5 store, I’m currently working on creating a mobile theme that will work with Opencart 1.5.

I’m trying to be a little more comprehensive this time and account for most options. The biggest challenge so far is the Opencart 1.5 checkout page which runs on about 840 lines of jQuery (ugh!) on the default theme. I spent some time last week investigating whether this could be made to work without javascript – and have concluded that while this is possible it’s very very unpleasant, so have accepted that I’ll have to assume javascript in this case (unlike 1.4.9.5 where it is relatively straightforward to make the use of javascript an enhancement rather than a necessity). I spent this morning functionalising the jQuery somewhat – so the five separate pieces of code to display name and address field validation errors are now replaced by a single function. I still have 690 lines of javascript though…

At the moment this exercise is of somewhat academic exercise, but if a mobile theme is of any interest to you, let me know via a comment below.

Tags:

2 responses to “Opencart 1.5 Mobile Theme – 1”

  1. Dave says:

    Hi

    Wow that’s great work
    I can wait till your done
    Post a link so I can get it right away

    Awesome job

Useful? Interesting? Leave me a comment

I've yet to find a way of allowing code snippets to be pasted into Wordpress comments - so if you're trying to do this you'd be better off using the contact form.