[TYPO3-commerce] Limit the country selectbox

Jeroen Visser jeroen at roquin.nl
Mon Nov 26 22:17:23 CET 2007


For those who did not know... You need to use static_info_tables 2.0.5

Greetings,
Jeroen

Jeroen Visser wrote:
> Really strange... the default value is picked up, but the IN clause is 
> ignored. Everything in the objectbrowser filled as expected. Checked my 
> typoScript on brackets. Hope to find it and I'll get back on it.
> 
> Greetings,
> Jeroen
> 
> Michiel Roos wrote:
>> Franz Koch wrote:
>>> Hi Jeroen,
>>>
>>>> Can you tell me if there is some other setting to be made in order 
>>>> to let this select statement take place? I have updated commerce 
>>>> today with the latest version from http://typo3xdev.sourceforge.net/
>>>>
>>>> plugin.tx_commerce_pi3 {
>>>>   billing.sourceFields.country.select = cn_iso_3 IN ('NLD','BEL','DEU')
>>>>   delivery.sourceFields.country.select = cn_iso_3 IN 
>>>> ('NLD','BEL','DEU')
>>>> }
>>>>
>>>> Both don't work...
>>>> Thank's in advance.
>>>
>>> no, that's all. Have you had a look in the TS Object-Browser if the 
>>> TS is applied correctly? You can also search for 'cn_iso_3' to find 
>>> it more easily. Maybe it gets overridden by default values again in 
>>> your case, or you probably miss a closing bracket somewhere in your 
>>> other TS so that it doesn't work.
>>
>> +1 on Franz; make sure your settings show in the TS object browser 
>> when you are on the checkout page.
>>
>> Here's my TypoScript Setup
>>
>> #settings for checkout
>> plugin.tx_commerce_pi3 {
>>     billing {
>>         sourceFields {
>>             country {
>>                 default = NLD
>>                 select = cn_iso_3 IN ('NLD','BEL')
>>
>>             }
>>         }
>>     }
>>     delivery {
>>         sourceFields {
>>             country {
>>                 default = NLD
>>                 select = cn_iso_3 IN ('NLD','BEL')
>>             }
>>         }
>>     }   }
>>
>> Kind regards,
>>
>>
>> Michiel Roos
>>
> 
> 
> 




More information about the TYPO3-project-commerce mailing list