[TYPO3-commerce] page wise product list viwe problem

J.Bakshi joydeep at infoservices.in
Thu Jan 10 08:56:57 CET 2008


Dear list,

My product listing behaving mysteriously.  In the "product" page ( not
that page created by default by commerce)  where I inserted the
"commerce:product listing" plugins; the settings in the template section are

Number products : 1
Number pages (Pagebrowser) : 2
show Pagebrowser : checked

I  already have 3 products in the category called "comics"

Now page1 is showing the first product but page2 is blank. Now if I set 
"Number products : 2"  then the first page is showing the 2 products :-)
but page2 is again blank; it should show the third product. if I set 
"Number products : 3" then the first page is showing the all  3 products
So page wise product listing is not working here. Could any one give me
any clue to fix it ?

here is my TS setup

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.20 = TEMPLATE
page.20 {
    template = FILE
    template.file = fileadmin/commerce.html
    workOnSubpart = DOCUMENT         

  ###LEFTMENU###

marks.LEFTMENU = HMENU
    marks.LEFTMENU.special = directory
    marks.LEFTMENU.special.value = 49
    #marks.LEFTMENU.wrap = <div style="height:25px;
background-color:blue;">|</div>
    marks.LEFTMENU.1 = TMENU   
    marks.LEFTMENU.1.noBlur = 1
        marks.LEFTMENU.1.expAll = 0
        marks.LEFTMENU.1.NO {
        linkWrap = <div class="LeftNavLine">| |*| </div><div
class="LeftNavLine">| |*| </div><div class="LeftNavLine">|</div>
        ATagParams = class="LeftNav"
    }
     
###CONTENT####

    marks.CONTENT = CONTENT
    marks.CONTENT.table = tt_content
    marks.CONTENT.select {
        piInList = this
        orderBy = sorting
        where = colPos=0
    }

## END OF BASIC SETUP ###


# product listing
 plugin.tx_commerce_pi1 {
     maxRecords = 6
     templateFile = {$templatePathCommerce}product.tmpl
 }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

thanks

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the TYPO3-project-commerce mailing list