Book Image

OpenCart Theme and Module Development

By : Rupak Nepali
Book Image

OpenCart Theme and Module Development

By: Rupak Nepali

Overview of this book

Table of Contents (13 chapters)
OpenCart Theme and Module Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Getting started with feedback management


We will show you the way to create an admin form and a list page. After that, we will move on to create frontend pages where we display lists of feedback. Our feedback management will have author details, a feedback description, a status, and a date added. These will be shown in the frontend.

Database tables for feedback

Let's begin by creating tables in the database. We all know that OpenCart has multistore abilities, supports multiple languages, and can be displayed in multiple layouts, so when creating a database we should take this into consideration. Four tables are created: feedback, feedback_description, feedback_to_layout, and feedback_to_store. A feedback table is created for saving feedback-related data, and feedback_description is created for storing multiple-language data for the feedback. A feedback-to-layout table is created for saving the association of layout to feedback, and a feedback-to-store table is created for saving the association...