That Software Guy, Inc.'s Logo

Software Consulting Services
Need Help? Call That Software Guy!


Image by jldupont Check Mark

Product Validation


Relevance: Zen Cart™ 1.3.0 and forward

Cost: Based on your requirements; starting at $120

See it Live: In this product, length and width must be filled in and must be less than 30.

Many times, products have inter-attribute dependencies, or validation requirements which are not handled by native Zen Cart. Consider the following examples:
  • A product has a text attribute representing a measurement which must be numeric (attribute validation)
  • A product's attributes have too many values to permit the use of a dropdown box, so a text field is used instead - but this field must be validated against a set of possible values (attribute validation)
  • A product has a height and width which can be specified by a user, but there is a maximum area (inter-attribute validation)
  • A code must be entered to add a product to the cart
Although these things aren't handled by native Zen Cart, I can add them in for you. Let me know your requirements and I'll give you a quote.

How about an example?
  • For this product, length and width must be filled in and must be less than 30.


Of course, these checks could also be done for checkboxes, radio buttons or dropdown selections.

For a more global look at cart validation, take a look at Valid Cart.

Want more Zen Cart?     Tips and Tricks     Contributions     Extensions     Custom Software     Newsletter

   Terms | Privacy | SiteMap | Newsletter | Contact Me | ©2003-2008 That Software Guy, Inc.