protected function getProductsSelectCompare()
    {
        $conditions = array(
            'product_id' => $this->getProductComparison());

        $options = array(
            'view' => $this->configTheme('compare_view', 'grid'),
            'buttons' => array('cart_add', 'wishlist_add', 'compare_remove')
        );

        $products = $this->getProducts($conditions, $options);
        return $this->reindexProductsCompare($products);
    }
protected function getProductsSelectCompare()
    {
        $conditions = array(
            'product_id' => $this->getProductComparison());

        $options = array(
            'view' => $this->configTheme('compare_view', 'grid'),
            'buttons' => array('cart_add', 'wishlist_add', 'compare_remove')
        );

        $products = $this->getProducts($conditions, $options);
        return $this->reindexProductsCompare($products);
    }
protected function getProductsSelectCompare ( ) { $ conditions = array ( 'product_id' => $ this -> getProductComparison ( ) ) ; $ options = array ( 'view' => $ this -> configTheme ( 'compare_view' , 'grid' ) , 'buttons' => array ( 'cart_add' , 'wishlist_add' , 'compare_remove' ) ) ; $ products = $ this -> getProducts ( $ conditions , $ options ) ; return $ this -> reindexProductsCompare ( $ products ) ; }
Returns an array of products re-indexed by a class ID
@return array
Returns an array of products re - indexed by a class ID