Adding a field to the products table

How to add a field to the products table

A plugin called Extra Product Fields has been developed that demonstrates the use of observers to add a field to the products table.

As an alternative approach, you may wish to create a child table.

Then you may need to customize your template to display the new field if the field is intended to be shown on the storefront.

Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified December 3, 2022 by Scott C Wilson (6c2f436).