NOTE: THIS FEATURE IS ALREADY BUILT-IN TO Zen Cart v1.3.9
Have you got a whole bunch of options/option values for your products?
Do you hate having to add a single option value at a time?
One of the stores I manage on a regular basis has about 12 option names and around 150 possible option values. That makes for a real hassle when using the drop-down selectors to add an option name/value combination to a product, particularly if you have to do it a large number of times (the average product on that site has around 70 option name/value combinations assigned: that's 70 entries per product with the current system....)
I've developed an improvement for those drop-down boxes, making the option values that appear in the second box dependent upon the selection in the first box (no more searching through all those values to find the ones that match the option name). Javascript is used to avoid having the page reload when you make that selection in the first box.
Here's the major time saver: the second box (option values) allows multiple selections! So you can add a whole bunch of option values with a single page load!
One proviso on that though: all the other selections on the page (attribute price, weight, default, etc) are used for each option value that you have selected. So for example if you have entered a price of +2.00, it's used for every option value that you had selected in that second drop-down box.
Extract the attributes_controller.php file from the zip attached to this post, upload it to your admin folder (make a backup of your original file first) and you're set to save some time.
Now, if only I could work out how to implement that dependent options trick on the catalog side....but that's a much longer-term project.
Edit: this has been built/tested on v1.3.0.1 (it will work on earlier versions but you may have to copy the function zen_hide_session_id() from v1.3.0.1 admin/includes/functions/general.php )
NOTE: THIS FEATURE IS ALREADY BUILT-IN TO Zen Cart v1.3.9; As such this addon is NOT compatible with v1.3.9 and newer.
DOWNLOAD HERE: http://www.zen-cart.com/index.php?ma...roducts_id=114
Bookmarks