[TYPO3-shop] list view with special template, when not in stock

Franz Holzinger franz at ttproducts.de
Tue May 5 11:30:12 CEST 2009


Hello Emil Enzler,

> I'm looking for a way to use a second list view template (or part of it) 
> for item_single, which will be used when a product isn't in stock.
> 
> E.G. Products are not in stock, but shall be shown in the shop. List and 
> Details. Now I want to have a Button into basket, that is only visible, 
> if there are peaces in stock. With the single view it works fine.

in tt_products 2.8.0 you can have additional subparts:

<!-- ###PRODUCT_INSTOCK_GT_0### begin -->
This is in stock
<!-- ###PRODUCT_INSTOCK_GT_0### end -->

Or use the ARTICLE marker if you use articles.

- Franz




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