[TYPO3-commerce] Limit countries in pi3
Morten Olesen
mo at idefa.dk
Mon Aug 9 08:52:27 CEST 2010
Hi Michael,
Deleing from static_info_table is a bad idea since further updates would
repopulate the table.
Luckily there is an easier way;
plugin.tx_commerce_pi3.billing.sourceFields.country{
select = cn_iso_3 IN ({$idefaconstants.landeListe})
default = DNK
}
just replace {$idefaconstants.landeListe} with a comma separated string
of ISO3 country codes ( or define the/a similar constant ), and default
with the country you want to show as default.
You may need to repeat it for "delivery" aswell
/Morten Olesen
On 2010-08-07 00:11, Michael Janssen wrote:
> Hi,
>
> is there are a nice way to limit the countries in the dropdown in the
> adress-form?
>
> Or is the only way to delete the unwanted countries from the
> static_info_table?
>
> Greetings,
>
> Michael
More information about the TYPO3-project-commerce
mailing list