Modification: Features – Order Editor 2.5.1
Issue:
Order received doesn’t match w/ payment amount through Paypal, but paypal’s amount correct after clarification w/ customer. Cannot modify order confirmed, i.e. cannot generate correct invoice, packing list, etc.
Install Method:
MySQL Command:
ALTER TABLE orders ADD shipping_tax DECIMAL( 7, 4 ) DEFAULT ‘0.000’ NOT NULL ;
INSERT into configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values (”, ‘Order Editor- Display Payment Method dropdown?’, ‘DISPLAY_PAYMENT_METHOD_DROPDOWN’, ‘true’, ‘Display Payment Method in Order Editor as dropdown menu (true) or as input field (false)’, ‘1’, ’21’, NULL, ‘2006-04-02 11:51:01’, NULL, ‘tep_cfg_select_option(array(‘true’, ‘false’),’);
Files Replacement:
admin/ orders.php
admin/includes/filenames.php
admin/includes/classes/order.php
admin/includes/functions/general.php
Files Added:
admin/edit_orders.php
admin/includes/javascript/overlib_mini.js
admin/includes/languages/english/edit_orders.php
admin/includes/languages/english/images/buttons/button_add_article.gif
Tricks:
unexpected error found if using osc’s file manager tool in admin as it unexpectedly removed the back-slashes characters from the scripts.
i.e. if manual install is a must next time for other modification, use vi instead of admin tool in osc.