
Originally Posted by
RodG
If this were *my* problem, the first thing I'd do would be to modify the database itself and change the field type for products.products_quantity from the current "float" into "varchar".
This will allow the quantities to be entered as text strings.
If you are lucky, this field will then be output to screen "as is", and your main requirement will be solved.
I would however expect a few repercussions due to the fact that zencart also uses this field for stock control/availability, and will therefore resolve to "0", suggesting there is nothing in stock.
Depending on the extent and effects of these repercussions I'd either decide to take care of them one at a time, or revert the database back to its original state and try a different approach.
My alternate approach would be to *add another* field to the products table, and call it something like "products_quantity_text". It is then a matter of modifying the relevant parts of the zencart code so that any output uses this field rather than the original "products_quantity" field. As with my first approach, the amount of work required to locate and make all the modifications won't be really known until you try it.
Cheers
Rod