27,59 €
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.
Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:
Seitenzahl: 115
Veröffentlichungsjahr: 2013
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author(s), nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: October 2013
Production Reference: 1211013
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78328-037-7
www.packtpub.com
Cover Image by Aniket Sawant (<[email protected]>)
Author
Rupak Nepali
Reviewers
Jack W. Davis
Aditya Menon
Acquisition Editor
Akram Hussain
Commissioning Editor
Subho Gupta
Technical Editors
Pooja Arondekar
Menza Mathew
Copy Editor
Mradula Hegde
Sayanee Mukherjee
Project Coordinator
Amey Sawant
Proofreader
Bernadette Watkins
Indexer
Monica Ajmera Mehta
Production Coordinator
Adonia Jones
Cover Work
Adonia Jones
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.
I wish to thank my parents, especially my mother Subthara Nepali and my father Bhairab Nepali, who emphasized the importance of literacy, and my brothers who helped at every step, as well as all my friends, and seniors, who provided their support and encouragement to write this book.
Thanks to Packt Publishing who provided me with such a great opportunity and all the team members who assisted me in publishing this book.
Jack W. Davis is an e-commerce developer specializing in OpenCart and on-page SEO for online stores. He runs an OpenCart development company called Destrove, which has helped hundreds of businesses expand, upgrade, and design their e-commerce stores. With years of development experience and a creative outlook on software design, Jack has become a recognized figure in OpenCart development communities.
Jack also runs a popular e-commerce news and tutorial website www.CartAdvisor.com, where he spends most of his time writing about e-commerce software and helping others customize their online stores.
Aditya Menon is an experienced developer, and the web is his primary platform. Aditya works for Adbhuth, a privately held start-up. An overview of his strengths, functions, and aspirations include predominantly using PHP and JavaScript. He has written and improvised applications working with teams from across five continents. He is happy to produce and extend intelligently built code bases, with exemplary architectures. He also follows industry standards and best practice discussions closely, and acts on wisdom gained from these arenas. Aditya is currently a consultant and a developer on multiple start-up teams from across the world. He is constantly on the lookout for new tools and techniques to make development faster, easier, and more joyful. He looks at a future where technology in general and software in particular, play even more important and impressive roles in human life. Learning new languages and paradigms to build these tools of the future is what delights him the most. He currently lives in New Delhi, India. He is a 23-year-old man, eager to travel the world, and explore new opportunities.
I would like to thank Mymo, mom, and dad!
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
If you can code OpenCart modules, you can customize OpenCart and make e-commerce sites easier to administer and also change the way the default OpenCart system works. This book shows you how to create all sorts of extensions: OpenCart module, Order Total module, ideas for creating payment, shipping modules, and ways to create custom pages and forms on OpenCart module to carry out the insert, edit, delete, and list functions.
This book focuses on teaching you all aspects of OpenCart modules by showing and defining code examples. The book uses default OpenCart module to clone other modules, the process by which one module gets transferred to another. It shows each and every line of code and describes them so readers know what the code does. You will clone the Google_talk module in the first chapter. In the second chapter, you will learn about all the available methods in OpenCart, and at last you will create two custom module feedback pages and the Tips Order Total modules.
Each chapter teaches you to make a new OpenCart module; you will thus be able to make three modules by reading this book. You will be able to create the Hello World module by cloning the Google talk module that you can then change to the Welcome Message module. Likewise, you will get a description of each code of default featured module of OpenCart, and then create the Feedback pages to manage the feedbacks. In the end, you will be able to create an Order Total module called Tips Order Total module.
Each chapter builds a practical module from the ground up using step-by-step instructions and examples.
Chapter 1, Getting Started with OpenCart Module, shows us how to clone the Google_talk module to the Hello World module and lists ways to install, configure, and uninstall the OpenCart module and show the structure of the file of admin and frontend.
Chapter 2, Describing The Code of Extensions, lists all global methods of OpenCart, shows you how to configure the feature module, describes the code of the feature module, shows the way to start the coding for the shipping module, and describes the payment module.
Chapter 3, Create Custom OpenCart Module, shows you how to create a feedback module and the Tips Order Total module. It also shows how code works and are managed.
OpenCart, along with knowledge of the backend and frontend of the software is needed for this book.
This book is for programmers working with OpenCart, who want to develop custom OpenCart modules. You need to be familiar with the basics of OpenCart and PHP programming; after reading the book, you will be able to create customized OpenCart modules.
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to <[email protected]>, and mention the book title via the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <[email protected]> with a link to the suspected pirated material.