Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 8048)
+++ /controller/wpsg_ShopController.class.php	(revision 8053)
@@ -1937,8 +1937,8 @@
 		public function checkCustomerPreset() {
  
+			$oCalculation = \wpsg\wpsg_calculation::getSessionCalculation();
+			
 			if (!wpsg_isSizedString($_SESSION['wpsg']['checkout']['shipping']) && wpsg_isSizedString($this->get_option('wpsg_customerpreset_shipping')) && sizeof($_SESSION['wpsg']['basket']??[]) > 0) {
 
-				$oCalculation = \wpsg\wpsg_calculation::getSessionCalculation();
-				
 				if ($this->get_option('wpsg_customerpreset_shipping') === '-1') {
 					 
@@ -1997,5 +1997,4 @@
 					$_SESSION['wpsg']['checkout']['shipping'] = array_keys($this->arShipping)[0];
 
-					$oCalculation = \wpsg\wpsg_calculation::getSessionCalculation();
 					$oCalculation->update();											
 										
@@ -2007,6 +2006,4 @@
 
 			if (!wpsg_isSizedString($_SESSION['wpsg']['checkout']['payment']) && wpsg_isSizedString($this->get_option('wpsg_customerpreset_payment')) && sizeof($_SESSION['wpsg']['basket']??[]) > 0) {
-
-				$oCalculation = \wpsg\wpsg_calculation::getSessionCalculation();
 
 				if ($this->get_option('wpsg_customerpreset_payment') === '-1') {
Index: /views/mods/mod_productindex/page_metabox.phtml
===================================================================
--- /views/mods/mod_productindex/page_metabox.phtml	(revision 8048)
+++ /views/mods/mod_productindex/page_metabox.phtml	(revision 8053)
@@ -7,5 +7,5 @@
 ?>
 
-<style type="text/css">
+<style>
 
     #wpsg_mod_productindex_layer { height:20rem; }
