This is a discussion on AJAX Attribute Manager within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; As suggested in the AJAX support forum, use this version if AJAX Attribute Manager v2.3c - beta is not working ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| As suggested in the AJAX support forum, use this version if AJAX Attribute Manager v2.3c - beta is not working for you. The 2.3b also have a problem but this bugfix correct the problem in "attributeManagerAtomic.class.php" like suggested in the forum: http://forums.oscommerce.com/index.p...Atomic&st=260# to fix you have to edit attributeManagerclassesattributeManagerAtomic.clas s.php Line 139: Find: // QT pro /** * Updates the quantity on the products stock table * @access public * @author Phocea * @param $get $_GET * @return void */ function AddStockToProduct($get) { customprompt(); $this->getAndPrepare('stockQuantity',$get,$stockQuantity ); //$this->getAndPrepare('option_id', $get, $optionId); //$this->getAndPrepare('option_value_id', $get, $optionValueId); //$this->getAndPrepare('price', $get, $price); //$this->getAndPrepare('prefix', $get, $prefix); //$this->getAndPrepare('sortOrder', $get, $sortOrder); $this->arrSessionVar[] = array( 'product_stock_quantity' => $productStockQuantity ); } } // QT pro And replace: // QT pro /** * Updates the quantity on the products stock table * @access public * @author Phocea * @param $get $_GET * @return void */ function AddStockToProduct($get) { customprompt(); $this->getAndPrepare('stockQuantity',$get,$stockQuantity ); //$this->getAndPrepare('option_id', $get, $optionId); //$this->getAndPrepare('option_value_id', $get, $optionValueId); //$this->getAndPrepare('price', $get, $price); //$this->getAndPrepare('prefix', $get, $prefix); //$this->getAndPrepare('sortOrder', $get, $sortOrder); $this->arrSessionVar[] = array( 'product_stock_quantity' => $productStockQuantity ); } // QT pro Find: on the end file ?> And replace: } ?> You should see on the end of the file something like this: if (AM_USE_SORT_ORDER) { $this->arrAllProductOptionsAndValues[$optionsId]['values'][$res['options_values_id']]['sortOrder'] = $res[AM_FIELD_OPTION_VALUE_SORT_ORDER]; } } } return $this->arrAllProductOptionsAndValues; } } ?> More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Attribute Manager w/ Catagories | CircleG | osCMax v2 Customization/Mods | 3 | 03-24-2007 09:37 AM |
| Attribute Manager not updating | ubgd4me | osCMax v2 Features Discussion | 4 | 01-18-2007 03:37 PM |
| Needing: Attribute Weight, Hide Price if 0, Actual Attribute | crystina | osCMax v2 Customization/Mods | 0 | 11-22-2006 04:08 PM |
| Attribute manager - sorting attributes on SELECT | chrismole | osCMax v2 Customization/Mods | 1 | 04-07-2006 10:32 AM |
| Deleted products showing in Attribute Manager | neil | osCMax v1.7 General Mods Discussion | 0 | 02-17-2004 04:06 AM |