[TYPO3-commerce] Paging through products...

Tim Rüther tim at holosystems.de
Mon Aug 27 18:42:04 CEST 2007


php5....

here is the fix:

I solved the Problem with commenting out the second array_slice in Line 
466 in the lib/class.tx_commerce_pibase.php , this caused an empty 
$this->category_products array.

Code:
   // ###########    product list    ######################
        if (is_array($this->category_products)){
             $this->category_products = 
array_slice($this->category_products,$internalStartPoint, $internalResults);
        }
      
       // $this->category_products = 
array_slice($this->category_products,$internalStartPoint,$internalResults);  
//wrong part...

        // ###CATEGORY_LIST###



Karsten Dambekalns schrieb:
> Hi.
>
> Switched my dev project to latest SVN today. According to the bug 
> tracker all pagebrowser-related bugs are fixed. But when I page to a 
> second page, I still get an empty page (without products).
>
> Any hints?
>
> Regards,
> Karsten
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>
>   


More information about the TYPO3-project-commerce mailing list