{"id":38864,"date":"2015-02-13T03:24:26","date_gmt":"2015-02-13T08:24:26","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=38864"},"modified":"2016-02-18T04:13:22","modified_gmt":"2016-02-18T09:13:22","slug":"opencart-how-to-manage-the-maintenance-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/opencart-how-to-manage-the-maintenance-page.html","title":{"rendered":"OpenCart. How to manage the maintenance page"},"content":{"rendered":"<p><\/p>\r\n<p>It is a good practice to set your store to maintenance mode when performing upgrades or routine maintenance. During this time, visitors of your site will receive a message stating it is under temporary maintenance. Many store owners wish to customize their message and make it more specific to their task, so their customers are more informed. To do this, however, you must edit an internal file. Join us as we guide you on modifying the maintenance message for your OpenCart 1.5 store.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=hDO80z8pACo?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart. How to manage the maintenance page<\/a><\/p>\r\n<p>Previously, we set the store to maintenance mode following this tutorial <a href=\"\/help\/opencart-how-to-put-the-website-in-maintenance-mode.html\">OpenCart. How to put the website in maintenance mode<\/a>.<\/p>\r\n<ol>\r\n<li>\r\n<p>First, log into the <strong>cPanel dashboard<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>This leads you to the main cPanel area. Locate and open the <strong>File Manager<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Inside the <strong>File Manager<\/strong>, navigate to your store root folder. Most stores use the main domain, so the root folder would be <strong>public_html<\/strong>. If you are using a subfolder (e.g. example.com\/shop), then you would look for public_html\/shop.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Click on the <strong>catalog<\/strong> folder, then the <strong>language<\/strong> folder. At this point, the next folder can be different, depending on what language you are using on your site. We will assume the default one and use English folder. Open <strong>english<\/strong> folder and finally the <strong>common<\/strong> folder.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Inside the <strong>common<\/strong> folder you will see three files. Locate the one named <strong>maintenance.php<\/strong> and then open it for editing.<\/p>\r\n<li>\r\n<p>Inside the editor, you will see a few variables with their settings. The line of code that controls the maintenance message is below:<\/p>\r\n<pre class=\"brush:php\">$_['text_message']     = '&lt;h1 style=&quot;text-align:center;&quot;&gt;We are currently performing some scheduled maintenance. &lt;br\/&gt;We will be back as soon as possible. Please check back soon.&lt;\/h1&gt;';<\/pre>\r\n<\/li>\r\n<li>\r\n<p>Change the text in the code to your custom message. Look at our example below to see how we changed the message.<\/p>\r\n<pre class=\"brush:php\">$_['text_message']     = '&lt;h1 style=&quot;text-align:center;&quot;&gt;We are editing the theme and adding more great products.. &lt;br\/&gt;We will be back as soon as possible. Please check back soon.&lt;\/h1&gt;';<\/pre>\r\n<\/li>\r\n<li>\r\n<p>After your new message is in place, click <strong>Save Changes<\/strong> button in the upper right corner of the screen to activate it. When your store is in maintenance mode, your visitors will now see the new message. Refresh the website to see the changes.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=hDO80z8pACo?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart. How to manage the maintenance page<\/a><br \/>\r\n<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to manage the maintenance page in Opencart.<\/p>\n","protected":false},"author":57,"featured_media":43752,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1156],"tags":[1409,1157],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38864"}],"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\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=38864"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38864\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/43752"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=38864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=38864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=38864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}