[TYPO3-shop] basket empty when additional field is added

Manfred Rutschmann manfred.rutschmann at revier.de
Mon Feb 27 11:52:36 CET 2012


hey guys,

i have created a little extension that extend the tt_product. For the
sys_orders all works fine, but when i attach a field to the tt_products
dthe basket is empty. i have tested these direct in the tca and the problem
still exist. databasefield is created.

'anfrage' => array (		
			'exclude' => 0,		
			'label' => 'Preis auf Anfrage',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',
			)
		),

With this code in tca the basket is empty, when i remove this code all is
fine?!

In view/class.tx_ttproducts_basket_view.php the basket object is with the
code above empty, without the code above the object looks correct.

  function getMarkerArray ()    {
        $basket = &t3lib_div::getUserObj('&tx_ttproducts_basket');
        $markerArray = array();
        $priceViewObj =
&t3lib_div::getUserObj('&tx_ttproducts_field_price_view');


Any ideas? It´s urgent :(

Thanks Manfred


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