---
title: "mkl_products Country Code Vorgabe ändern"
url: "https://www.typo3.net/d/22463-mkl-products-country-code-vorgabe-aendern"
source: "typo3.net"
tags: ["Extensions","Tipp"]
created: "2005-03-14"
last_reply: "2005-03-14"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# mkl_products Country Code Vorgabe ändern

Extensions · 0 Antworten · gestartet 2005-03-14

## Eröffnungsbeitrag

**upstroke** · 2005-03-14 · [Beitrag #1](https://www.typo3.net/d/22463-mkl-products-country-code-vorgabe-aendern/1)

Falls es hilft wollte ich mal mein letztes Problem mit der mkl_products extension loswerden.

Ich hatte das Problem, dass ich ich trotz Installation der staticinfotables immer Polnisch als ausgewählte Länderauswahl im Dropdownmenü stehen hatte.
Nachdem ich mit dem Pluginentwicklwer ein wenig hin und her gemailt hatte, gab er mir folgende Info:

In fact the default value for  country selector is hardcoded in source file.
I have to move this value to typoscript, but for this moment please go to the file  /mkl_products/pi/class.tx_ttproducts.php and

find the phrase:

```php
 if( ! $this->personInfo["country_code"] ) {
    $this->personInfo["country_code"] = "POL" ;
    } 
    if( ! $this->deliveryInfo["country_code"] )  {
     $this->deliveryInfo["country_code"] = "POL" ;
   }
```

then replace 'POL' with your country ISO code.

I will release in a few day new version of this extension with multicurrency handling so i will fix this problem too.

Hoffe das hilft einigen.

Liebe Grüße aus Kölle, Zack

---

Quelle: „mkl_products Country Code Vorgabe ändern“, typo3.net, https://www.typo3.net/d/22463-mkl-products-country-code-vorgabe-aendern
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
