[TYPO3-shop] [Typo3-shop] Additonal Fields/Marker for Orders

Franz Holzinger franz at ttproducts.de
Tue Jun 14 09:48:11 CEST 2011


Hello Clemens,

On 10/06/11 12:26, Clemens Tilgner wrote:

> i have created a shop with Products, which have a lot of different
> variants. In the Productconfiguration Process i generate with Javascript
> a Code, which the User can enter in a field, to recreate this specific
> product. The idea is, that you can send this code to other people, so
> that they can recreat the same product.
> I would like to add this code into the order process, so that the
> customer finds the individual codes to each order in the checkout
> process and order confirmation.
>
> How can i add such a marker, which is filled, when the basket is send
> and then appears in each order?

maybe you can use the datasheet attachement to contain the Javascript 
code. But it is not possible to enter a Javascript code with a product 
in the FE. You can enhance tt_products using the hook getBasketView to 
add specific output to the basket view. And have a look at the file 
tt_products/view/class.tx_ttproducts_table_base_view.php with the hook 
in the method getRowMarkerArrayHooks.

Regards,

Franz





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