Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  New Attribute Manager

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
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!
   Posted on: 06/09/2009     See contribution details Request Installation with Paid service