Reading list Switch to dark mode

    some differences between Opencart 2.1.0.2 and Opencart 2.2.0.0

    Updated 17 March 2016

    Opencart recently released a new version i.e Opencart Version 2.2.0.0 and has brought some changes in this latest version. Today we will take a look on some changes which are very important in this latest version.

    There is big change in Catalog end i.e “.tpl” file loading in the controller. As in the previous versions we were adding a condition to check the template which is used but in 2.2.0.0 there is no need to check the config template to load the tplĀ file.

    Code of Version 2.1.0.2 –

    blog_1

    Code of Version 2.2.0.0 –

    Searching for an experienced
    Opencart Company ?
    Find out More

    blog_2

    There are lots of changes in library files also but today we will look into the currency format function in library currency file.

    In 2.1.0.2 we do not need to send currency code as a function parameter of format function but in 2.2.0.0 we have to pass currency code as a parameter of format function.

    Code of Version 2.1.0.2 –

    code3

    Code of version 2.2.0.2 –

    code4

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home