Attributes - an introduction

Introduction to Zen Cart Attributes

Zen Cart allows you to create variant products using its built-in attributes mechanism.

Example:

  • A shirt in sizes small, medium and large.
  • A book in hardcover or paperback

Without attributes, you would have to have three shirt products (one for each size) and two book products (one for each binding).

Zen Cart offers the following types of attributes:

  • radio buttons
  • checkboxes
  • drop-down lists
  • text boxes
  • file uploads
  • file downloads
  • read only attributes

Here’s an example from the Zen Cart demo data.
This is a cropped view of the product info page for one of the same products. The product has a dropdown attribute called Media Type, and three checkbox attributes.

Attributes in Zen Cart

To learn more about attributes, read:

Downloadable products are also created using attributes. To learn more about downloadable products, read:

Creating a test store with the demo data allows you to see how various scenarios may be accomplished. See demo data for details.




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 18, 2022 by Scott C Wilson (fcfbaf43).