[TYPO3-commerce] include tx_commerce-SingleView with TypoScript

Claudius Heitz typo3 at heitz.info
Fri Nov 30 18:20:52 CET 2007


Hi,

I created a Flexible Content Element that combines the Single View of 
tx_commerce with a special gallery plugin (rgsmoothgallery).

Until now, it works like this: I include commerce as a normal Content 
Element in a special field of the FCE.

But I would prefer to include commerce by TypoScript (in the Data 
Structure of the FCE) and let the user only enter the Product-ID in an 
input field of the FCE.

The forwarding of this entry to the TypoScript part for commerce is easy 
done by stdWrap: xy.field = field_product_uid (whereby field_product_uid 
is the field in the Data Structure of the FCE).

The problem I have: how do I include the commerce plugin only by TypoSript?

Especially: what is the path to choose a singleProduct?
Is it
	plugin.tx_commerce_pi1.singleProduct ??


Does anywone have a hint for me?
Thanks in advance!

Claudius


More information about the TYPO3-project-commerce mailing list