Index: /changelog
===================================================================
--- /changelog	(revision 8030)
+++ /changelog	(revision 8038)
@@ -504,4 +504,5 @@
 - Bugfix: Leere HTML Mails 
 - Bugfix: Verwendung unter PHP8 erzeugt keinen Fehler mehr wenn kein Winkel bei den Textfeldern Gutscheinprodukt definiert ist
+- Bugfix: WPML Korrkte Preise in Ãbersetzung in zusammenspiel mit Produktartikeln
 - Feature: Neue Platzhalter fÃŒr Liefer- und Rechnungsadresse 
 - Feature: Staffelpreise kÃ¶nnen jetzt angewendet werden wenn im Backend ein Produkt hinzugefÃŒgt wird #776
@@ -510,3 +511,2 @@
 - Feature: Abos kÃ¶nnen jetzt auf 10 Jahre in der Zukunft gesetzt werden
 - Feature: Positionssnummer aus ProduktÃŒbersicht bearbeitbar
-- Feature: 
Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 8030)
+++ /controller/wpsg_ShopController.class.php	(revision 8038)
@@ -901,5 +901,5 @@
 
                     $this->callMods('wpsg_scss', [&$arFiles]);
-                     //die(wpsg_debug($arFiles));
+                     
                     $md5 = '';
 
@@ -2272,9 +2272,9 @@
 		 */
 		public function loadProduktArray($produkt_id, $override = array(), $loadDisabled = false) {
-
+ 
 		    //if (array_key_exists($produkt_id, $this->productCache)) return $this->productCache[$produkt_id];
 
 			$produkt = $this->cache->loadProduct($produkt_id);
-
+		
 			// Im Backend muss die loadArray durchlaufen werden, da die Pos Spalte fÃŒr die Sortierung benÃ¶tigt wird
 			if ($loadDisabled === false && wpsg_isSizedInt($produkt['disabled']) && !is_admin()) return array();
@@ -2288,15 +2288,16 @@
 
 				$produkt_trans = $this->db->fetchRow("SELECT * FROM `".WPSG_TBL_PRODUCTS."` WHERE `lang_parent` = '".wpsg_q($produkt_id)."' AND `lang_code` = '".wpsg_q($this->getCurrentLanguageCode())."'");
-
+				 
 				if ($produkt_trans['id'] > 0) {
-
+ 
 					$produkt['name'] = $produkt_trans['name'];
 					$produkt['beschreibung'] = $produkt_trans['beschreibung'];
 					$produkt['detailname'] = $produkt_trans['detailname'];
-
-				}
-
-			}
-
+					$produkt['shortdesc'] = $produkt_trans['shortdesc'];
+
+				}
+
+			}
+			
 			// Daten aus Order-Produkt nehmen, da die Bestellung im Backend bearbeitbar ist
 			if (isset($produkt['op_mwst_key']))
@@ -3159,4 +3160,7 @@
 			{
 
+				//$current_lang = apply_filters('wpml_current_language', NULL);				
+				//wpsg_debug(get_locale().":".$current_lang);
+				
 				// WPML
 				if (get_locale() != $this->getDefaultLanguageLocale()) return true;
Index: /model/wpsg_product.class.php
===================================================================
--- /model/wpsg_product.class.php	(revision 8030)
+++ /model/wpsg_product.class.php	(revision 8038)
@@ -154,6 +154,5 @@
 		 * Gibt die Produktbeschreibung zurÃŒck
 		 */
-		public function getShortDescription()
-		{
+		public function getShortDescription() {
 
 			return $this->data['beschreibung'];
Index: /mods/wpsg_mod_produktartikel.class.php
===================================================================
--- /mods/wpsg_mod_produktartikel.class.php	(revision 8030)
+++ /mods/wpsg_mod_produktartikel.class.php	(revision 8038)
@@ -245,6 +245,19 @@
             // Artikel ist ein Produkt, hier das Rendern des Templates ÃŒbernehmen
             if (is_singular() && in_the_loop() && is_main_query() && get_post_type($post) == $this->shop->get_option('wpsg_mod_produktartikel_pathkey')) {
-
-                $produkt_id = $post->wpsg_produkt_id;
+	            
+				if ($this->shop->isOtherLang()) {
+				
+					$default_lang = apply_filters('wpml_default_language', NULL);
+					$post_default_lang_id = apply_filters('wpml_object_id', $post->ID, $post->post_type, false,$default_lang); 
+					$post_default_lang = \get_post($post_default_lang_id);
+					 
+					$produkt_id = $post_default_lang->wpsg_produkt_id;
+										
+				} else {
+					
+					$produkt_id = $post->wpsg_produkt_id;
+					
+				}
+				
                 $content = $this->shop->renderProdukt($produkt_id);
 
Index: /views/produkt/addedit_general.phtml
===================================================================
--- /views/produkt/addedit_general.phtml	(revision 8030)
+++ /views/produkt/addedit_general.phtml	(revision 8038)
@@ -16,4 +16,5 @@
 
 		<?php if ($this->isMultiLingual()) { ?>
+        
 		<?php echo wpsg_drawForm_TextStart(); ?>
 		<?php foreach ($this->getStoreLanguages() as $a) { ?>
