Very simple and effective Attribute Management contribution.
Let me know what you all think about it.
Legend: 
Download

Report
Few People having a problem when Register globals is swiched off.
You click edit, and nowt happens.
Anyway, I did not come up with this so credit goes to a guy called tsteele from the forum. I thought I would add it here as its not well known.
I have also included the 'new_attributes.php' file which you can simply replace.
--------
Hi Folks,
Here's the fix for folks trying to using Mike G's awesome new attributes with Register Globals off (it does not work). If you are using OSC MS 2.2 RC2 or OSC MS 2.2 RC2a (the most recent 2008 releases) from January 15 and January 30, 2008...Mike's new_attributes mod will not work.
I spent a lot of time trying to debug and found a very simple fix that only took 7-8 hours to arrive at.
I thought I would give a little back to the OSC community and post it in the new_attributes support thread.
Here's the fix...
1. Back up your Admin area FIRST!
2. Make sure all files Backed-Up successfully.
3. Install New Attributes as per Mike's instruction...it is a very easy Contribution to install!
4. Open new_attributes.php in you text editor...I use Text Wrangler on a Mac. Do not use Word, instead use Notepad or your favorite editor on the PC.
5. Find the requires in new_attributes.php on line 5 and line 6:
require('new_attributes_config.php');
require('includes/application_top.php');
Right after add:
if (isset($_POST['current_product_id'])) {
$current_product_id = $_POST['current_product_id'];
}
if (isset($_POST['action'])) {
$action = $_POST['action'];
}
if (isset($_POST['optionValues'])) {
$optionValues = $_POST['optionValues'];
}
if (isset($_POST['x'])) {
$x = $_POST['x'];
}
if (isset($_POST['y'])) {
$y = $_POST['y'];
}
if (isset($_POST['cPathID'])) {
$cPathID = $_POST['cPathID'];
}
if (isset($_GET['current_product_id'])) {
$current_product_id = $_GET['current_product_id'];
}
if (isset($_GET['action'])) {
$action = $_GET['action'];
}
That's it your done! Save new_attributes to your server and enjoy!
This is a re-release of Mike Graves V4b. The Only changes were I added a few screen shots and I added a crude instruction tutorial.
Mainly I wanted to point out Web Pixie's "add select all button" upgrade didn't have enough install instructions to do it. Also The sort attributes by name doesn't work. Neither does the bug fix file.
The Single Options-Attribute upgrade is a seperate contribution all-together and V5.0 I did not test after failing with all the other upgrades.
All Credit goes to Mike Graves original author.
NB- this only concerns the sort by name contribution by Jeremy
On using this contribution I was getting the following error when clicking on the "Edit Attributes" button for a particular product:
Warning: Missing argument 3 for checkattribute() in [...]admin/new_attributes_functions.php on line 3
On comparing the old new_attributes_include.php with the one in this contrib, I noticed on line 74 that "$current_product_option_id " was missing.
This package includes the same files but with a corrected new_attributes_include.php
This is a very helpful contribution! Thanks Jeremy and of course, Mike!
I don't know why my add-on doesn't appear in the Contribution Section when you type it or make a research for attributes.
Single Option - Attribute Manager v.1.0
http://www.oscommerce.com/community/contributions,3447
You can select a Product with one Option. Then you can assign attributes only for this option. It is usefull when you have one product with a lot of Option Values.
Based on a Mike G's New Attribute Manager v.4.b
You can use it separately or with new Attribute Manager but ATTENTION with new_attributes_functions.php there is one supplement modifed function for Single Option - Attribute Manager.
Read the instructions. There is two file
No files just a right link.
- full multilanguage support.
- added a zero price prefix and weight prefix.
Please read the instructions.
I don't include in this package the last tree posted add-ons.
It base on Mike G. 4b
For options with 'download' in its names, you can place files for download (if you really want to sell downloadable goods)
Use this included file in place of the old one if you would like the attributes sorted by name.
This will add a "Check/UnCheck All" button under each option set in the new attributes manager. I got sick of clicking the checkbox next to 50 options when I wanted all of them in the set. This makes it easier to select options.
I grabbed the javascript online somewhere and fit it into the code easily. Hope someone can use it.
-Added complete compatibility for Option Type Feature v1-4 by Chandra Roukema.
-Moved user settings to a seperate file: new_attributes_config.php
Fixed a small problem that occurred when using this contribution with Option Type Features version 2.02.MS1 by countezero:
-Price Prefixes are now text input instead of drop down menu when you have that contribution enabled.
You can also find the latest release at: http://downloads.ephing.com
Added compatibility for:
1) Linda McGrath's Attribute Sorter/Copier v5.1 with weight - Thanks Druide for the inspiration =)
2) Option Type Features version 2.02.MS1 by countezero
When you click on the "edit attributes" button on Categories / Products screen -> edit the attributes for the product -> click Save -> You will be directed back to the Categories / Products screeen *With that same product selected.
Added sort order, weight, weight prefix for those who have Linda's (Attributes Sorter & Copier v5.1 with weight) contribution installed.
This is just some extra's for those users which i wanted to share.
Copyright and coding stays with original author of this contribution.
Added an "edit attributes" button to the Categories/Products screen, and made a few other minor changes.
*I have a web page dedicated to this contribution:
http://downloads.ephing.com
If you are having problems downloading from the oscommerce site... go there and download it. I will keep the latest release *with notes* posted there at all times.
For some reason the last file I submitted isn't downloadable, so I'm going to rename v3.1 to v3a. It's the same thing as v3.1, but hopefully you are able to download it =)
Small change made in order for the option values to display in the order in which they are created.
Let this be a lesson to me.. test test & test some more =) looks like it was still lacking some needed language filters etc. to work smoothly with a fresh installation of OS Commerce.
It's been tested on a fresh 2.2MS1 installation and works great now.
Enjoy.
Added language filter to fix the multiple entries in the drop-down menu.
Well, it didn't take long for someone to point out a problem =)
Problem Fixed, please use this package.
I should also point out that I created this contribution to work with Preview Release 2.2.
Thanks,
Mike
Very simple and effective Attribute Management contribution.
Let me know what you all think about it.