[TYPO3-shop] [Typo3-shop] LISTOFFERS: own template

Simon Tuck e-mailNO at SPAMeyejet.com
Fri Feb 17 19:50:20 CET 2006


Joern Bock wrote:
> Franz Holzinger wrote:
>>> Is there a way to have an own template for LISTOFFERS in tt_products 
>> you have to adapt tt_products a bit.
>> ###ITEM_LIST_TEMPLATE### --> ###ITEM_LISTOFFERS_TEMPLATE###
>>
>> And a few changes in the code for LISTOFFERS.
> 
> Hey Franz,
> 
> could you describe the few changes in the code (or where could I found 
> something)? I've just changed the html-template and that's obviously not 
> enough.
> 
> I thing this is very useful for promoting some products at the frontpage.
> 
> Cheers
> Joern
Hi Joern,
You might consider just modifying your TypoScript instead of changing the extension code. You could use Typoscript conditions to switch between 
tt_products templates depending on which page you are on.

plugin.tt_products.products_template.html
[globalVar = TSFE:id = id number of the page for product promotions]
plugin.tt_products.products_offers_template.html
[global]

Cheers,
Simon



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