DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Form - AddToCartFinisher

Cart calls the [$productType][‘Form’][‘AddToCartFinisher’] where $productType is an unique identifiert for the product type in the product extension. This Hook is used to get products from different product extensions. The class has to implement the ExtcodeCartDomainFinisherFormAddToCartFinisherInterface and has to provide at least a method to get a ExtcodeCartDomainModelCartProduct which can added to the cart. This method is called from the AddToCart finisher of the TYPO3 from framework so a form can used to add individualized or personalized products to Cart. All type of forms allows very complex individualizations.

This feature supports all product extension but it’s implemented for cart_events first. It allows to use different forms to get some more information from the participants like first and last name, twitter handle or preferred food.

Important

Please note, that this is the first implementation. The methods and parameters can change in major versions.

I prepared some product extensions. They are using the following product types:

extension product type
cart_events CartEvents