[TYPO3-commerce] additional adress - Fields in pi3 i dont show the markers
Franz Koch
typo.removeformessage at fx-graefix.de
Thu Jan 31 01:03:18 CET 2008
Hi Heiko,
> i get 2x3 markers and extendet pi3-temlate "template_checkout.html"
>
> here the following items (its commerce 0.9.2)
>
> <!--###ADDRESS_EDIT_FORM###-->
> <strong>###LABEL_NAME###</strong> ###FIELD_NAME###<br />
> <strong>###LABEL_SURNAME###</strong> ###FIELD_SURNAME###<br />
> <strong>###LABEL_COMPANY###</strong> ###FIELD_COMPANY###<br />
>
> <strong>###LABEL_ADDRESS###</strong> ###FIELD_ADDRESS### <strong>###LABEL_ADRESS_NUMBER###</strong> ###FIELD_ADDRESS_NUMBER###<br />
>
> <strong>###LABEL_ADDRESS_STREET###</strong> ###FIELD_ADDRESS_STREET###<strong> ###LABEL_ADDRESS_STREET_NUMBER###</strong> ###FIELD_ADDRESS_STREET_NUMBER###<br />
>
> <strong>###LABEL_CITY###</strong> ###FIELD_CITY###<br />
> <strong>###LABEL_ZIP###</strong> ###FIELD_ZIP###<br />
> <strong>###LABEL_COUNTRY###</strong> ###FIELD_COUNTRY###<br />
> <strong>###LABEL_EMAIL###</strong> ###FIELD_EMAIL###<br />
> <strong>###LABEL_PHONE###</strong> ###FIELD_PHONE###<br />
>
> <strong>###LABEL_NEWSLETTER_CHECKBOX###</strong> ###FIELD_NEWSLETTER_CHECKBOX###<br />
>
> <!--###ADDRESS_EDIT_FORM###-->
...
>
> ...but i dont see the new markers , an example: ###LABEL_NEWSLETTER_CHECKBOX### ###FIELD_NEWSLETTER_CHECKBOX###
>
> you know ?
have you configured the fields in TS? And don't use commerce 0.9.2 - use
a current SVN version, because 0.9.2 doesn't support some features that
are mentioned f.e. in the wiki.
A example TS for your marker would be:
------
plugin.tx_commerce_pi3 {
// configure fields for the billing address type
billing.sourceFields {
newsletter_checkbox {
mandatory = 0
}
}
// language labels
_LOCAL_LANG.de {
general_newsletter_checkbox = Newsletter bestellen
label_newsletter_checkbox = Klicken Sie hier, wenn Sie an diese
Adresse unseren Newsletter geschickt bekommen wollen, blah blah
}
}
------
you also have to configure this for pi4, which acutally renders the
forms. But I'm not sure if commerce can render checkboxes there. After a
short look at the source, it didn't seem so.
Maybe one of the devs can tell more.
--
Greetings,
Franz
More information about the TYPO3-project-commerce
mailing list