Welcome

Musings, rants and raves on the world of shopping carts and e-commerce, fortified with related business, legal and economic news, as well as announcements about my work on Zen Cart. Brought to you by That Software Guy.

Zen Cart Attribute Required for Text not working?

If you have added a text attribute to a product in your Zen Cart installation (any version), and clicked the “Attribute Required for Text” = Yes radio button at the bottom of the screen, but noticed that it can be added to the cart without setting the text attribute, this post is for you.

There is a bug in a number of older Zen Cart contributions that leads to configuration group 0 getting deleted. As it turns out, this is where some critical fields for Attribute Required for Text reside. You can see if you have this problem by going to

http://YOUR-SITE/your-admin-page/configuration.php?gID=0

You should see three entries. If you see zero entries, you can add them back using this SQL: