How to create attributes in ZenCart
Want to collect additional information from customers like what size of shirt they want to order? Or what color of an item would they like? Or maybe you sell personalized products and need to collect details like names, and dates.
ZenCart makes it easy to do all of the above using what is called attributes.
Adding attributes in ZenCart is a three-step process.
- Option Names
- Option Values
- Attributes Controller
Option Names
Option names are the titles for fields. For example, if you want a field titled “Your Name” to collect a name, you would need to create an Option Name called “Your Name”
To create Option Names, click on “Option Name Manager” under Catalog

To add a new option name, enter the following:

- Option Name (example: Select Size)
- Order (optional)
- Option Type (choose dropdown, text, etc)
Once you have entered the information, click on “insert” to create.
The next step is to add a value to the name you created.
Option Names
Option Values provide the actual options for the field names you just created. For example, if you just created a field titled “Select Shirt Size” you would need to create values for it like Small, Medium, and Large.
To create Option Values, click on “Option Value Manager” under Catalog

To add a new Option Value, enter the following:

- Choose the Option Name you want to add a value for
- Enter Option Value (example: Small, Purple, etc)
- Order (optional)
Once you have entered the information, click on “insert” to create.
IMPORTANT: If the value is TEXT, where customers will enter their own information, you do not need to create a value. For example, if you created an Option Name titled “Enter your name” and want customers to type in their name – just create the Option Name. You do not need to create an Option Value for it.
The next step is to add the Option Names and Values to your products.
Attributes Controller
The Attributes Controller is where you manage (or control) which Option Names and
Values are associated with which products.
To access the Attributes Controller, click on “Attributes Controller” under Catalog

When you first click to enter the Attributes Controller, you will be asked to select the category you wish to work with.
Once you select a category, you will be directed to the Attributes Controller.
The first step is to choose a product to add an attribute to.

Choose the product name you want to work with (see above) and click on “display”
Now scroll down a bit until you see:

All that basically needs to be done is:
- Choose the desired Option Name
- Choose the desired Option Value
- Click on “insert”
Check back in next week for my tutorial on more features available in the Attributes Controller.
If you run into any issues, please let me know below.
Related tutorials that might interest you:





Hello Gerae,
I wanted to thnk you for this tutorial. It was so much better than the forum on ZC that it made sense! With your help I had size attributes on a clients’ site up on the product in 3 minutes. AS a newbie to ZC, I love its robustness but am still learning all the nomenclature and where everything is. This was a huge help – found your tutorial through a google search.
Cheers,
Larry
You are very welcome Larry! I am glad the tutorial was helpful. I welcome any suggestions for future tutorial topics that you think would be beneficial for newbies
Hi Gerae,
a quick help needed,
I wish to have multiple address for shipping feature in zencart just the way magento does.
Also i wish to have my images watermarked.
is there any way zencart can do this?
i m about to have a website where in the customer can put in recepient name, custom message and recepient address which is not the customer address before making the final payment and these things need to be mandatory. i am tired after Rnd and have not yet got a solutions, is there any way u can guide me in this, i would appreciate it highly.
thanks
Hi Raj – as far as I know, it is not currently possible to ship to multiple addresses with ZenCart. You could use the special instructions box for this though.
There is a mod that will automatically add a watermark to your images. The mod is called ImageHandler 2: http://breakmyzencart.com/image-handler
Hope that helps
Gerae,
Thanks for the info, very helpful!
I am building a yarn site, and I have found that I am adding many attribute values (as many as 40 colors per ball of yarn). Is there a way to insert multiple values at one time in the “adding new attributes” screen (instead of 1 at a time).
Thank you,
Andy
You could try using Easy Populate:
http://www.zencartbuilder.com/index.php?main_page=product_info&cPath=1_6&products_id=1
I have not used it myself but others swear by it.
Hope that helps