lat9 / edit_orders

Edit Orders: Updates for continued operation on Zen Cart v1.5.8 and later
GNU General Public License v2.0
5 stars 9 forks source link

Enable a store to override EO's use of numeric input fields #136

Closed lat9 closed 5 years ago

lat9 commented 5 years ago

Some store's find that the use of the type="numeric" fields gets in the way of order-editing. Provide a means for a store to override and revert to simple input fields via a pseudo-configuration setting (EDIT_ORDERS_USE_NUMERIC_FIELDS).

A store wishing to override those input types creates a store-specific .php file in /admin/includes/extra_datafiles that contains the following definition:

define('EDIT_ORDERS_USE_NUMERIC_FIELDS', '0');