original_string: public function getProducts($conditions = array(), $options = array())
      {
          $conditions += array(
              'status' => 1,
              'store_id' => $this->store_id
          );
  
          if (isset($conditions['product_id']) && empty($conditions['product_id'])) {
              return array();
          }
  
          $options += array('entity' => 'product');
          $products = (array) $this->product->getList($conditions);
          $this->prepareEntityItems($products, $options);
          return $products;
      }
code: public function getProducts($conditions = array(), $options = array())
      {
          $conditions += array(
              'status' => 1,
              'store_id' => $this->store_id
          );
  
          if (isset($conditions['product_id']) && empty($conditions['product_id'])) {
              return array();
          }
  
          $options += array('entity' => 'product');
          $products = (array) $this->product->getList($conditions);
          $this->prepareEntityItems($products, $options);
          return $products;
      }
code_tokens: public function getProducts ( $ conditions = array ( ) , $ options = array ( ) ) { $ conditions += array ( 'status' => 1 , 'store_id' => $ this -> store_id ) ; if ( isset ( $ conditions [ 'product_id' ] ) && empty ( $ conditions [ 'product_id' ] ) ) { return array ( ) ; } $ options += array ( 'entity' => 'product' ) ; $ products = ( array ) $ this -> product -> getList ( $ conditions ) ; $ this -> prepareEntityItems ( $ products , $ options ) ; return $ products ; }
docstring: Loads products from an array of product IDs
  @param array $conditions
  @param array $options
  @return array
docstring_tokens: Loads products from an array of product IDs