|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hello,
in my user_bookshop extension I've defined some extra fields in table tt_products like this: plugin.tt_products { .... conf.tt_products.ALL { requiredFields = uid,pid,category,price,price2,tax,inStock,user_boo kshop_isbn,itemnumber,user_bookshop_alwaysinstock, user_bookshop_asin,user_bookshop_author,user_books hop_reorder_days } # only a try but changes nothing conf.tt_products.SINGLE < conf.tt_products.ALL } These extra fields are accessed in method getItemMarkerArray which I implemented like Franz was telling me in my posting a few days ago. While I can access these fields when LIST is displayed they aren't available in SINGLE view. I've dumped $items in getItemMarkerArray and it seems that requiredFields is not recognized at all in SINGLE view. Why? Thanks in advance for your help. Petra _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#2
|
|||
|
|||
|
Hello Petra,
> in my user_bookshop extension I've defined some extra fields in table > tt_products like this: > > plugin.tt_products { > > ... > conf.tt_products.ALL { > requiredFields = > uid,pid,category,price,price2,tax,inStock,user_boo kshop_isbn,itemnumber,user_bookshop_alwaysinstock, > user_bookshop_asin,user_bookshop_author,user_books hop_reorder_days > } > > # only a try but changes nothing > conf.tt_products.SINGLE < conf.tt_products.ALL > } > > > These extra fields are accessed in method getItemMarkerArray which I > implemented like Franz was telling me in my posting a few days ago. > > While I can access these fields when LIST is displayed they aren't > available in SINGLE view. > > I've dumped $items in getItemMarkerArray and it seems that > requiredFields is not recognized at all in SINGLE view. No, the model/class.tx_ttproducts_article_base.php $item on line 258 has all these fields set. .. Franz _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-shop] tt_products 2.7.0 JS-Error | Niels Tiedt | typo3-project-tt-products@lists.netfielders.de | 6 | 25.03.2008 09:43 |
| [TYPO3-shop] doubt about tt_products.CSS.tt_products.LIST.row.even | Augusto Sacchetto | typo3-project-tt-products@lists.netfielders.de | 1 | 17.10.2007 09:56 |
| [TYPO3-shop] Questions about using VAT in tt_products | Eef Weenink | typo3-project-tt-products@lists.netfielders.de | 1 | 16.05.2007 07:53 |
| [TYPO3-shop] ability tt_products | Igor Pstyga | typo3-project-tt-products@lists.netfielders.de | 7 | 15.01.2007 10:06 |
| Re: [TYPO3-shop] fe_users and tt_products | Franz Holzinger | typo3-project-tt-products@lists.netfielders.de | 0 | 05.12.2006 17:37 |