Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pdm

Archived
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Pawel

pdm's Achievements

  1. Ok i find this BUG :rolleyes: to fix you have to edit attributeManager\classes\attributeManagerAtomic.class.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; } } ?>
  2. The same problem !! Only can edit :angry: When click new product : Fatal error: Call to undefined method attributeManagerAtomic::getAllProductOptionsAndValues() in D:\WebServ\httpd\admin\attributeManager\attributeManager.php on line 63 I try bypass this on line 63: if ($_GET['a']==1) {$allProductOptionsAndValues = $attributeManager->getAllProductOptionsAndValues();} else if ($_GET['a']==0) {} 'a' is my variable but dont work :'( HELP ? i try oder version v2.1-beta work, v2.3-beta and v2.3b-beta dont work :'( it's ok AJAX doesnt add to the left menu
×
×
  • Create New...