{"id":46540,"date":"2015-04-10T04:39:02","date_gmt":"2015-04-10T08:39:02","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=46540"},"modified":"2017-01-12T07:28:10","modified_gmt":"2017-01-12T12:28:10","slug":"opencart-2-x-how-to-edit-footer-links-and-copyright-notification","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/opencart-2-x-how-to-edit-footer-links-and-copyright-notification.html","title":{"rendered":"OpenCart 2.x. How to edit footer links and copyright notification"},"content":{"rendered":"<p>\r\n<p>Hello! This tutorial shows how to edit footer links in OpenCart 2.x. templates.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=EbC3S-192Yw?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to edit footer links and copyright notification<\/a><\/p>\r\n<p>There are usually four columns with links, e.g. <strong>Information<\/strong> links, <strong>My Account<\/strong> links etc. and <strong>copyright<\/strong> notification in the footer of Opencart templates:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_1-300x165.png\" alt=\"opencart_2.x._how_to_edit_footer_links_and_copyright_notification_1\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-46541\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_1-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_1-150x82.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_1.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Let&#8217;s learn how to edit these links.<\/p>\r\n<p>The <strong>Information<\/strong> links column is usually edited via Opencart administration area.<\/p>\r\n<ol>\r\n<li>\r\n<p>Go to <strong>Catalog ->Information<\/strong> tab:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_2-300x165.png\" alt=\"opencart_2.x._how_to_edit_footer_links_and_copyright_notification_2\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-46542\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_2-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_2-150x82.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_2.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Click  <strong>&#8220;Edit&#8221;<\/strong> icon next to the desired Information link in order to edit it.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>As you can see there are different values under <strong>Sort Order<\/strong> column for each link:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_3-300x166.png\" alt=\"opencart_2.x._how_to_edit_footer_links_and_copyright_notification_3\" width=\"300\" height=\"166\" class=\"aligncenter size-medium wp-image-46543\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_3-300x166.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_3-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_3.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>You may manage links order by changing this value in the <strong>Sort Order<\/strong> field for each link:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_4-300x165.png\" alt=\"opencart_2.x._how_to_edit_footer_links_and_copyright_notification_4\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-46544\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_4-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_4-150x82.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_4.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Set the Sort Order to <strong>zero (0)<\/strong> to prevent the link from displaying under <strong>Information<\/strong> column in the footer.<\/p>\r\n<p>Second, third and forth columns are usually defined in the <strong>\/catalog\/view\/theme\/themeXXX\/template\/common\/footer.tpl<\/strong> file as well as the copyright notification.<\/p>\r\n<p>The code for the second column is the following:<\/p>\r\n<pre class=\"brush:php\">\r\n&lt;div class=&quot;footer_box col-sm-3&quot;&gt;\r\n&lt;h5&gt;&lt;?php echo $text_service; ?&gt;&lt;\/h5&gt;\r\n&lt;ul class=&quot;list-unstyled&quot;&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $contact; ?&gt;&quot;&gt;&lt;?php echo $text_contact; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $return; ?&gt;&quot;&gt;&lt;?php echo $text_return; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $sitemap; ?&gt;&quot;&gt;&lt;?php echo $text_sitemap; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;\/ul&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\r\n<p>Third column:<\/p>\r\n<pre class=\"brush:php\">\r\n&lt;div class=&quot;footer_box col-sm-3&quot;&gt;\r\n&lt;h5&gt;&lt;?php echo $text_extra; ?&gt;&lt;\/h5&gt;\r\n&lt;ul class=&quot;list-unstyled&quot;&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $manufacturer; ?&gt;&quot;&gt;&lt;?php echo $text_manufacturer; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $voucher; ?&gt;&quot;&gt;&lt;?php echo $text_voucher; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $affiliate; ?&gt;&quot;&gt;&lt;?php echo $text_affiliate; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $special; ?&gt;&quot;&gt;&lt;?php echo $text_special; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;\/ul&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\r\n<p>Forth column:<\/p>\r\n<pre class=\"brush:php\">\r\n&lt;div class=&quot;footer_box col-sm-3&quot;&gt;\r\n&lt;h5&gt;&lt;?php echo $text_account; ?&gt;&lt;\/h5&gt;\r\n&lt;ul class=&quot;list-unstyled&quot;&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $account; ?&gt;&quot;&gt;&lt;?php echo $text_account; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $order; ?&gt;&quot;&gt;&lt;?php echo $text_order; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $wishlist; ?&gt;&quot;&gt;&lt;?php echo $text_wishlist; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;li&gt;&lt;a href=&quot;&lt;?php echo $newsletter; ?&gt;&quot;&gt;&lt;?php echo $text_newsletter; ?&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;\/ul&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\r\n<p>And the copyright notification code is:<\/p>\r\n<pre>&lt;?php echo $powered; ?&gt;<\/pre>\r\n<p>Each column includes such variables, as <strong>$text_service<\/strong>, <strong>$text_extra<\/strong>, <strong>$text_account<\/strong>, <strong>$powered<\/strong>, etc.<\/p>\r\n<p>Each of these variables is defined in the <strong>\/catalog\/language\/english\/common\/footer.php<\/strong> file:<\/p>\r\n<pre class=\"brush:php\">\r\n&lt;?php\r\n\/\/ Text\r\n$_['text_information']  = 'Information';\r\n$_['text_service']      = 'Customer Service';\r\n$_['text_extra']        = 'Extras';\r\n$_['text_contact']      = 'Contact Us';\r\n$_['text_return']       = 'Returns';\r\n$_['text_sitemap']      = 'Site Map';\r\n$_['text_manufacturer'] = 'Brands';\r\n$_['text_voucher']      = 'Gift Vouchers';\r\n$_['text_affiliate']    = 'Affiliates';\r\n$_['text_special']      = 'Specials';\r\n$_['text_account']      = 'My Account';\r\n$_['text_order']        = 'Order History';\r\n$_['text_wishlist']     = 'Wish List';\r\n$_['text_newsletter']   = 'Newsletter';\r\n$_['text_powered']      = 'Powered By &lt;a href=&quot;http:\/\/www.opencart.com&quot;&gt;OpenCart&lt;\/a&gt;&lt;br \/&gt; %s &amp;copy; %s';\r\n<\/pre>\r\n<p>You may simply change the text defined for respective variables, e.g. change <strong>&#8216;Information&#8217;<\/strong> to <strong>&#8216;Info&#8217;<\/strong>. Save the file and refresh the front page to see changes:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_5-300x165.png\" alt=\"opencart_2.x._how_to_edit_footer_links_and_copyright_notification_5\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-46546\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_5-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_5-150x82.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_5.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>You may also want to add your own links to any of footer columns.<\/p>\r\n<p>In order to do this, simply copy one of the existing links and alter it so the link has unique name and is linked to desired location.<\/p>\r\n<p>Let&#8217;s say, you want to add a link under <strong>Customer Service<\/strong> column. The link format will be as follows:<\/p>\r\n<pre class=\"brush:html\">&lt;li&gt;&lt;a href=&quot;https:\/\/www.google.com&quot;&gt;My Link&lt;\/a&gt;&lt;\/li&gt;<\/pre>\r\n<p>Save the file and refresh the front page to see changes:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_6-300x165.png\" alt=\"opencart_2.x._how_to_edit_footer_links_and_copyright_notification_6\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-46545\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_6-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_6-150x82.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/opencart_2.x._how_to_edit_footer_links_and_copyright_notification_6.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>This is the end of the tutorial, we have learnt how to edit footer links and copyright notification in OpenCart templates.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=EbC3S-192Yw?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to edit footer links and copyright notification<\/a><\/p>\r\nIf your website already has an admin panel and you want to work on its design, review our <a href=\"https:\/\/www.templatemonster.com\/admin-templates.php\" title=\"Bootstrap Admin Themes\" target=\"_blank\">Bootstrap Admin Themes<\/a>.\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to edit footer links in OpenCart 2.x. templates.<\/p>\n","protected":false},"author":68,"featured_media":46549,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1156],"tags":[599,657,511,1251,1157],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46540"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=46540"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46540\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/46549"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=46540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=46540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=46540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}