[TYPO3-shop] additional fields

Franz Holzinger franz at fholzinger.com
Tue Jun 10 17:34:14 CEST 2008


Hello Petra,

> 
> while applying Franz' solution another question encounters:
> 
> The content of my own markers depends on content of other fields which
> are deposed in tt_products.additional, which is a flexform field.
> 
> Also I've dumped a lot of stuff I can't figure out how to access these
> flexform fields.
> 
> 
> Can anybody give me tip/ a little snippet of code?
> 

see model/class.tx_ttproducts_product.php:

function hasAdditional(&$row, $check)  {
	$hasAdditional = false;
	$additional = t3lib_div::xml2array($row['additional']);
	$hasAdditional = $this->pibase->pi_getFFvalue($additional, $check);
	return $hasAdditional;
}



- Franz



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