View Single Post
Old Mar 20, 2010, 11:41 AM
Datschge's Avatar
Datschge Datschge is offline
Trusted Editor
Join Date: Mar 2008
Posts: 727

I would make all of that be handled by the database, i.e. turn the usually alphabetical part into an enum, give separate text fields for entering the first and (if it is a multipart product) last item's number. Then showing the number in a correct way can be handled automatically, and the amount of digits (non-used filled with leading zeros) as well as choosing the separator can be made dependent on the publisher or easily changed globally.
Reply With Quote