{"id":2544,"date":"2012-10-18T09:10:42","date_gmt":"2012-10-18T08:10:42","guid":{"rendered":"http:\/\/www.simonbattersby.com\/blog\/?page_id=2544"},"modified":"2013-02-12T12:25:05","modified_gmt":"2013-02-12T12:25:05","slug":"opencart-differences-between-1-5-x-versions","status":"publish","type":"page","link":"https:\/\/www.simonbattersby.com\/blog\/opencart-differences-between-1-5-x-versions\/","title":{"rendered":"Opencart &#8211; differences between 1.5.x versions"},"content":{"rendered":"<p>While working through a <a href=\"\/blog\/opencart-1-5-mobile-theme\/\">mobile theme<\/a> for different versions of Opencart 1.5, I came across quite a lot of differences between the versions which are not documented on the Opencart site itsef. These differences are those that affect the development of themes, rather than anything solely in the Controller or Model files. I started with version 1.5.1.<\/p>\r\n<h3>Opencart 1.5.1 to Opencart 1.5.1.1<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>No changes identified<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.1.1 to Opencart 1.5.1.2<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>No changes identified<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.1.2 to Opencart 1.5.1.3<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>The reward points variable created by catalog\/controller\/checkout\/cart is renamed from points to reward<\/li>\r\n<li>catalog\/controller\/payments\/nochex passes $test variable instead of tpl calling config directly<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.1.3 to Opencart 1.5.2<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>A new module is created for language<\/li>\r\n<li>A new module is created for currency<\/li>\r\n<li>The catalog\/controller\/checkout\/payment controller and template are renamed payment_method<\/li>\r\n<li>view\/checkout\/address.tpl is split into payment_address.tpl and shipping_address.tpl<\/li>\r\n<li>view\/checkout\/shipping.tpl is renamed shipping_method.tpl<\/li>\r\n<li>The function to add a product in controller\/checkout\/cart, called from several pages, is renamed from update to add<\/li>\r\n<li>Similarly, the function to add to wish list in controller\/checkout\/cart is renamed from update to add<\/li>\r\n<li>Coupon\/voucher\/reward\/shipping data is passed and handled differently from controller\/checkout\/cart<\/li>\r\n<li>Remove from cart ajax function added<\/li>\r\n<li>A large number of ajax responses on checkout.tpl are different and hence are handled differently<\/li>\r\n<li>Some buttons have different ids on checkout page<\/li>\r\nno success message on wish list amend\r\n<li>The zone function on guest address is moved to checkout\/checkout from checkout\/guest_shipping<\/li>\r\n<li>catalog\/controller\/payment\/paypoint passes an additional $digest variable<\/li>\r\n<li>A reorder button added to account\/order_list<\/li>\r\n<li>Variable names are changed on account\/return_list<\/li>\r\n<li>The return form is simplified and restricted to a single product<\/li>\r\n<li>A remove button added to wishlist<\/li>\r\n<li>Gift voucher is located under account rather than checkout<\/li>\r\n<li>Variable name changed on download page<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.2 to Opencart 1.5.2.1<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>No changes identified<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.2.1 to Opencart 1.5.3<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>Change to the way categories are handled in catalog\/controller\/common\/header.php <\/li>\r\n<li>Zone functions are different on checkout\/register and affiliate<\/li>\r\n<li>Company and tax id added to customer data<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.3 to Opencart 1.5.3.1<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>No changes identified<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.3.1 to Opencart 1.5.4<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>Variable name changed from entry_account to entry_customer_group on checkout\/register, checkout\/guest and account\/register<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.4 to Opencart 1.5.4.1<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>There are no changes between these versions, 1.5.4.1 includes solely a change to the encryption class<\/li>\r\n<\/ul>\r\n<h3>Opencart 1.5.4.1 to Opencart 1.5.5<\/h3>\r\n<ul class=\"bulletlist\">\r\n<li>URLs generated when navigating between stores using the Store module pass an additional query string identifying the session<\/li>\r\n<\/ul>\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>While working through a mobile theme for different versions of Opencart 1.5, I came across quite a lot of differences between the versions which are not documented on the Opencart site itsef. These differences are those that affect the development of themes, rather than anything solely in the Controller or Model files. I started with [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2544","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/pages\/2544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/comments?post=2544"}],"version-history":[{"count":19,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/pages\/2544\/revisions"}],"predecessor-version":[{"id":2647,"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/pages\/2544\/revisions\/2647"}],"wp:attachment":[{"href":"https:\/\/www.simonbattersby.com\/blog\/wp-json\/wp\/v2\/media?parent=2544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}