[TYPO3] Trade Ext - adding new field to product

Steve Ryan stever at syntithenai.com
Fri Jun 22 07:08:47 CEST 2007


Sandy Matheson wrote:
> I am trying to configure and customise the Trade extension and would
> like any help with addiding additional fields to the description of a
> product. I have added the field to the database table
> tx_trade_products but I cannot work out how to add them to the Typo3
> BE so that a user can enter the details. Once I can do this it will
> also be easy to add them to a template, but I am stuck with adding
> them to the product itself.
Hi Sandy,
   to add markers to the trade extension, you will need to modify the
method getProductMarkers in the main pi1 class (and add the markers to
your templates, and add to database via kickstarter).
If you are unable to edit your additional fields in the back end.
  - did you add the fields using the kickstarter so that appropriate TCA
meta data is available for your additional field (be careful when saving
your changes not to overwrite the main php pi1 class.
  - do you mark your additional fields as exclude fields  in which case
you need to assign the exclude fields as editable to your backend usergroup.

hope that helps

cheers

Steve Ryan


More information about the TYPO3-english mailing list