Getting Started with OpenCart Module Development


Getting Started with OpenCart Module Development
eBook: $20.99
Formats: PDF, PacktLib, ePub and Mobi formats
$17.84
save 15%!
Print + free eBook + free PacktLib access to the book: $55.98    Print cover: $34.99
$34.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Learn how to clone OpenCart modules
  • Develop and customize modules, pages, order totals, payments, and shipping extensions in OpenCart
  • Understand the Global Library methods used in OpenCart

Book Details

Language : English
Paperback : 112 pages [ 235mm x 191mm ]
Release Date : October 2013
ISBN : 1783280379
ISBN 13 : 9781783280377
Author(s) : Rupak Nepali
Topics and Technologies : All Books, CMS and eCommerce, Open Source

Table of Contents

Preface
Chapter 1: Getting Started with OpenCart Modules
Chapter 2: Describing The Code of Extensions
Chapter 3: Creating Custom OpenCart Modules
Index
  • Chapter 1: Getting Started with OpenCart Modules
    • Creating the Hello World module
      • Changes made in the admin folder
      • Changes made in the catalog folder
      • Installing, configuring, and uninstalling a module
        • Installing a module
        • Configuring the module
        • Layouts for the module
        • Positions for the module
        • Status of the module
        • Sort order of the modules
        • Show same module in different layouts
        • Effects of clicking on the Add Module button
        • Uninstalling the module
      • File structure – admin and frontend
        • Creating the language files for the admin module in OpenCart
        • Creating the controller in the admin section of the OpenCart module
        • Creating the template file at admin in the OpenCart module
        • Breadcrumbs section for the module
        • Creating the language file for catalog (frontend) module in OpenCart
        • Creating the controller file for catalog (frontend) module in OpenCart
        • Creating the template file for catalog (frontend) module in OpenCart
    • Summary
    • Chapter 2: Describing The Code of Extensions
      • Global library methods
      • Detailed description of the Featured module
        • Configuring the Featured module in OpenCart 1.5.5.1
        • Exploring the code used in the Featured module
          • Exploring the featured.php file under the admin folder
          • Exploring the featured.tpl file under admin folder
          • Exploring the featured.php file under the catalog folder
      • The Shipping module
        • Changes made in the admin folder
        • Changes made in the catalog folder
      • The Payment module
        • Off-site payment
        • On-site payment
      • The Order Total module
      • Summary
      • Chapter 3: Creating Custom OpenCart Modules
        • Getting started with feedback management
          • Database tables for feedback
          • Creating files at the admin section for feedback
            • Creating the language file at the admin section
            • Creating the model file at the admin section
            • Creating the controller file at the admin section
            • Creating the template files for form and list at the admin
            • Creating the model file at the catalog folder frontend
            • Creating the language file at the frontend
            • Creating the controller file at the frontend
            • Creating the template file at the frontend
        • The Tips module
          • Creating the language file at the admin section
          • Creating the controller file at the admin section
          • Creating the template file at the admin section
          • Changes made in the cart file at the frontend
          • Changes in the shopping cart page to show tips
        • Summary

        Rupak Nepali

        Rupak Nepali, a PHP programmer from Nepal, has been working on OpenCart since 2010 and has completed many projects and made many modules on OpenCart to meet client requirements. He handles http://opencartnepal.com personally as well as updates his personal site http://rupaknepali.com.np with his works Mr. Nepali currently works as a full-time freelancer on oDesk as well as on various freelancer sites. He holds a Bachelor's degree in Computer Information Systems.
        Sorry, we don't have any reviews for this title yet.

        Code Downloads

        Download the code and support files for this book.


        Submit Errata

        Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

        Sample chapters

        You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

        Frequently bought together

        Getting Started with OpenCart Module Development +    Moodle 2 for Teaching 4-9 Year Olds Beginner's Guide =
        50% Off
        the second eBook
        Price for both: €24.65

        Buy both these recommended eBooks together and get 50% off the cheapest eBook.

        What you will learn from this book

        • Create custom modules using OpenCart
        • Learn how to clone OpenCart modules
        • Understand the Global Library methods used in OpenCart
        • Learn about the featured modules of OpenCart
        • Create order total modules using OpenCart
        • Install, configure, and uninstall modules

        In Detail

        OpenCart is an online shopping tool which is free to use. It has become widely popular because of its support for custom extensions and module development. This book helps you understand how to use the features available in OpenCart using step-by-step instructions.

        Getting Started with OpenCart Module Development gives you step-by-step explanations and illustrations on how to clone, customize, and develop modules and pages with OpenCart.

        This book shows you how to create custom OpenCart modules and pages which are needed as per the requirements of the clients to manage custom data. It describes each and every code used to make a Hello World module, a feedback module, a tips module, an order total module, and a shipping and payment module.

        The book covers installing, configuring, and uninstalling modules as well as how to clone them. It also discusses all the available Global Library methods of OpenCart as well as ways to handle the files and folders of a shipping and payment module. At the end of the book, you will learn how to make custom pages to manage data by creating a feedback module and how to create the order total using a tips module.

        In Getting Started with OpenCart Module Development, you will learn everything you need to know to create custom OpenCart modules.

        Approach

        Written as a step-by-step guide, Getting Started with OpenCart Module Development will teach you all you need to know about OpenCart, from custom extensions to module development.

        Who this book is for

        This book is for developers who want to develop OpenCart extensions and for those who want to learn more about the code workflow of OpenCart. Basic knowledge of OpenCart would be an added advantage.

        Code Download and Errata
        Packt Anytime, Anywhere
        Register Books
        Print Upgrades
        eBook Downloads
        Video Support
        Contact Us
        Awards Voting Nominations Previous Winners
        Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
        Resources
        Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software