Zum Inhalt springen

mkl_products Country Code Vorgabe ändern

Erstellt am 14. März 2005 · Noch keine Antworten

Tags: Tipp

upstroke ·

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:

 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