[TYPO3-shop] Accessing data for additional marker
Ines Willenbrock
ines.willenbrock at web.de
Thu May 27 20:36:09 CEST 2010
As stated before, ###ARTICLE_PRICE2###, which, hopefully, uses the same
data as I hoped to copy to $ownMarker2, is filled correctly.
And after checking whether requiredFields does include price2 I found it
there, too.
Am 27.05.2010 18:58, schrieb Franz Holzinger:
> Le 24/05/2010 22:40, Ines Willenbrock a écrit :
>
>> 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.
>
> Normally tt_products does not fetch all fields from the database in the
> list view. This is to reduce the traffic.
>
> Check your setup:
>
> conf.tt_products.ALL {
> requiredFields =
> uid,pid,category,price,price2,directcost,graduated_price_uid,tax,inStock,unit_factor,weight
> }
>
>
> - Franz
>
>
More information about the TYPO3-project-tt-products
mailing list