[TYPO3-shop] Offers with different template in list view?

Juan Pablo Villaverde jpablo at omnisciens.com
Fri Jun 27 23:43:01 CEST 2008


Oh, I understand, but I need to show a complete list of products, not a 
LISTOFFERS, may be I was not very clear. I am trying to create a LIST 
showing a standard background for normal products and a yellow background 
for products with offers.

Many thanks anyway Matt.

Juan Pablo Villaverde
jpablo at omnisciens.com
http://www.omnisciens.com

"Matt Sturkenboom" <m.sturkenboom at gmail.com> escribió en el mensaje 
news:mailman.10605.1214600743.4573.typo3-project-tt-products at lists.netfielders.de...
This is the code I use in my template setup:

temp.menuRight < plugin.tt_products
temp.menuRight {
        templateFile = fileadmin/templates/shop/offers.tmpl
        listImage < .image
        listImage.file.maxW = 50
        listImage.file.maxH = 50
        recursive = 99
        NoSingleViewOnList = 1
        PIDitemDisplay = 164
        code >
        code = LISTOFFERS
    }
page.10.subparts.OFFERS < temp.menuRight


PIDitemDisplay = 164 is the PID where all the offers are listed.


Hope this helps! ;)


2008/6/26 Juan Pablo Villaverde <jpablo at omnisciens.com>:

> Thanks Matt! But I am not sure about what do you mean.. You have a 
> template
> file with the ###ITEM_LIST_TEMPLATE###, and another template file with the
> same markup but a different design, right? How you diferentiate the normal
> products from the offer products via typoscript? and what is the subpart
> template setup code? it's a separate file...
>
> "Matt Sturkenboom" <m.sturkenboom at gmail.com> escribió en el mensaje
>
> news:mailman.10325.1214494300.4573.typo3-project-tt-products at lists.netfielders.de.
> ..
> >I made a suppart for my offers with a different design. Simply add a
> > reference to an other template file in your suppart template setup code.
> >
> > 2008/6/26 Juan Pablo Villaverde <jpablo at omnisciens.com>:
> >
> >> Hi!
> >>
> >> Is there any chance to have a different design in the list view (a
> yellow
> >> background for instance) in products marked as "offer"?
> >> Maybe another subpart.
> >>
> >> Regards,
> >>
> >> Juan Pablo Villaverde
> >> jpablo at omnisciens.com
> >> http://www.omnisciens.com
> >>
> >>
> >> _______________________________________________
> >> TYPO3-project-tt-products mailing list
> >> TYPO3-project-tt-products at lists.netfielders.de
> >>
> >>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-products
> >>
>
>
>
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products at lists.netfielders.de
>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-products
> 




More information about the TYPO3-project-tt-products mailing list