Code

Details for developers

Admin Request Sanitization

How data is sanitized on the admin side

Adding a child table to the products table

How to add a table linked to the products table by a foreign key

Adding a field to the products table

How to add a field to the products table

Adding a Status History Record to an Order

How to use the zen_update_orders_history function

Admin cron jobs

Creating a cron job in your admin

Auto Inclusion System

What files are automatically included?

Building a Form

Adding a custom form to collect data

Building a Home Page widget

Adding information to the admin dashboard

Building a Report

Adding a custom report for your needs

Creating a new Admin menu item

Best practices for adding a link to a menu

Creating or Modifying a table

Modifying the database schema

Displaying Custom Fields

How to show the custom fields you have added to the database

Extra Folders

extra_datafiles, extra_definitions, extra_functions and extra_configures

Init System

How Zen Cart bootstraps itself

Modifying a field in the products table

How to modify a field in the products table

Notifier Report

Output of the Zen Cart Notifier Report plugin

Notifiers - List of

A complete list of Zen Cart Notifiers

Observer/Notifier System

About notifiers and observers

PHP Idioms

Coding practices you will see in recent versions of Zen Cart

Product Types

Creating custom products with different data requirements

Program Flow

Execution Path for a Zen Cart Page Visit

Querying the Database

Using QueryFactory

Sorting an Admin menu

How admin menus can be sorted

Modules

Shipping, Payment and Order Total Modules

View Builders

A set of classes to aid in building pages/tables

Last modified September 13, 2020 by Scott C Wilson (354bf51).