[TYPO3-shop] Accessing data for additional marker

Ines Willenbrock ines.willenbrock at web.de
Mon May 24 22:40:01 CEST 2010


Hi List,

about 10 month ago I played with extending tt_products, then 2.5, now 
2.7, with own additional markers.
After some step by step guidance thanks to Franz this worked and works fine.

Now I'm playing with accessing database fields provided by tt_products 
itself and stumbled upon following problem:
I can read the data from my own fields without any problems, but can't 
access the fields provided by tt_products?

The signature of the function is:
function getItemMarkerArray($pObj, &$markerArray, &$item, $catTitle, 
$imageNum, $imageRenderObj, $forminfoArray, $code, $id)
and
$row = &$item['rec'];

$ownMarker1= $row['user_ttproductsown_marker1'];
works for me

$ownMarker2= $row['price2'];
doesn't work.

###ARTICLE_PRICE2### is filled correctly.

Do I have to extend the tca.php or something? I believe that's not 
neccessary as it's a field thats already read?


regards, Ines


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