Index: /changelog
===================================================================
--- /changelog	(revision 7782)
+++ /changelog	(revision 7783)
@@ -405,2 +405,3 @@
 #4.2.8
 - Bugfix: Ermittlung des KostenschlÃŒssels anhand der PLZ korrigiert
+- Bugfix: Speicherung der Einstellung "Anzeige" im Produktattribut
Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 7782)
+++ /controller/wpsg_ShopController.class.php	(revision 7783)
@@ -829,5 +829,5 @@
 		 */
 		public function initShop() {
-		    
+
 			if (is_admin() && defined('FORCE_SSL_ADMIN') && FORCE_SSL_ADMIN == true) {
 
@@ -2828,5 +2828,5 @@
 
 				}
-												
+
 				$theme_mod_dir = get_template_directory().'/mods/';
 				
Index: /views/mods/mod_produktattribute/list.phtml
===================================================================
--- /views/mods/mod_produktattribute/list.phtml	(revision 7782)
+++ /views/mods/mod_produktattribute/list.phtml	(revision 7783)
@@ -88,5 +88,6 @@
 					jQuery('#show_<?php echo $pa['id']; ?>').bind('change', function() {
 	
-						if (jQuery(this).attr("checked")) value = 1; else value = 0;
+						//if (jQuery(this).attr("checked")) value = 1; else value = 0;
+                        if (jQuery(this).prop("checked")) value = 1; else value = 0;
 						
 						jQuery.ajax( {
Index: /views/produkttemplates/standard.phtml
===================================================================
--- /views/produkttemplates/standard.phtml	(revision 7782)
+++ /views/produkttemplates/standard.phtml	(revision 7783)
@@ -163,10 +163,10 @@
 		<div class="wpsg_clear"></div>
  		
-		<?php /* Lagerbestand START*/?>
+		<?php /* Lagerbestand START*/ ?>
 		<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showProduct') == '1') { ?>
 		
 		<div class="wpsg_mod_produktindex_stock">
 		
-			<?php if (($this->view['data']['stock']) > '0') {?>		
+			<?php if (intval($this->view['data']['stock']) > 0) {?>
 				
                 <label><?php echo __('Lagerbestand', 'wpsg'); ?></label>
@@ -175,5 +175,5 @@
 			<?php } else { ?>
 			 
-			 	<label><?php echo wpsg_translate(__('', 'wpsg')); ?></label>
+			 	<label><?php echo wpsg_translate(__('Ausverkauft', 'wpsg')); ?></label>
 			
 			<?php } ?>	
@@ -181,5 +181,5 @@
 		</div>
 		<?php } ?>
-		<?php /* Lagerbestand ENDE*/?>
+		<?php /* Lagerbestand ENDE*/ ?>
 
 		<?php /* FÃŒllmengenanzeige START */ ?>
