
Originally Posted by
craftzombie
I guess we should've mentioned that when we asked for your help!!!!! (i personally only use one level so it didn't occur to me :)
No problem, it's just that I did not expect anything like that. If I would have known I would probably not have added the code though.
An advantage is that it revealed something that should have been fixed anyway :-) Some quotes were missing at the database update code part (that is why the script crashed on the multiple wholesale prices input).
I have no plans to really support the multiple wholesale prices stuff (atm), I did add a setting to the configuration (extra_configures/quick_updates.php) file though:
Code:
@define('QUICKUPDATES_MODIFY_WHOLESALE_PRICE_INPUT_SIZE', '6');
it allows you to change the width of the wholesale input field, and increasing the value *might* help (a *little*) editting multiple wholesale prices.
Quote from the included version-history.txt file
v-november-27th-2006 by Paul Mathot
1) converted all remaining <inputs> to zen_draw_input_field()'s
2) added quotes to database input/update fields (script crashed on comma input)
3) moved some config settings from admin/quick_updates to config files (to extra_configures/ and extra_datafiles/)
Note: some configures should actually be moved to the quick_updates admin settings sql in a next version.
Changed files (since the november-25th version) are:
admin/quick_updates.php
admin/includes/extra_configures/quick_updates.php
admin/includes/extra_datafiles/quick_updates.php
(so no sql changes again)
And don't forget to always backup your database before usage! (even better first try it on a testshop)
Bookmarks