OpenCart is a free open source content management system. It can be used to develop and maintain an eCommerce website for online stores. Its unique features let store managers to create a uniquely designed shopping cart for their business.
One such customization which you can implement on your website is the provision to create custom admin page in OpenCart. Using it you can change the look and feel of the backend of the store as well. This blog post will help you create custom admin page in OpenCart run websites.
<?php class ControllerCustomHelloWorld extends Controller{ public function index(){ $this->load->model('catalog/information'); $this->template = 'custom/hello.tpl'; if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . 'custom/hello.tpl')) { $this->template = $this->config->get('config_template') . 'custom/hello.tpl'; } else { $this->template = 'custom/hello.tpl'; } $this->children = array( 'common/header', 'common/footer' ); $this->response->setOutput($this->render()); } } ?>
<?php echo $header; ?> <div id="content"> <h1>HelloWorld</h1> <?php echo 'I can also run PHP too!'; ?> </div> <?php echo $footer; ?>
Opencart > Admin > Users > User Groups > Admin > Edit
www.yoursite.com/opencart/admin/index.php?route=custom/helloworld
If you are unable to create custom admin page in OpenCart, then Request a Quote. Our team of OpenCart developers will provide expertise solutions and help you create custom admin page in OpenCart.
Apart from offering support services, we also deal with PSD to OpenCart conversion and HTML to OpenCart template conversion services as well. If you want to develop a fully functional OpenCart online store for your business then contact us for quality and affordable services.