diff --git a/includes/rules_shipping_framework_woocommerce.php b/includes/rules_shipping_framework_woocommerce.php
index 2f4f4d3078f7df90fe91ab0aefa1503590b0982e..d23392862ce602773c61cd1833d3607080f07159 100644
--- a/includes/rules_shipping_framework_woocommerce.php
+++ b/includes/rules_shipping_framework_woocommerce.php
@@ -150,9 +150,9 @@ class RulesShippingFrameworkWooCommerce extends RulesShippingFramework {
 		);
 		foreach ($products as $product) {
 	
-			$l = $product['data']->length;
-			$w = $product['data']->width;
-			$h = $product['data']->height;
+			$l = $product['data']->get_length();
+			$w = $product['data']->get_width();
+			$h = $product['data']->get_height();
 
 			$volume = $l * $w * $h;
 			$dimensions['volume'] += $volume * $product['quantity'];
@@ -193,7 +193,7 @@ class RulesShippingFrameworkWooCommerce extends RulesShippingFramework {
 		$tags = array();
 		$shipping_classes = array();
 		foreach ($products as $product) {
-			$id = $product['data']->id;
+			$id = $product['data']->get_id();
 			if ($product['data']->get_sku()) {
 				$skus[] = $product['data']->get_sku();
 			}
@@ -249,7 +249,7 @@ class RulesShippingFrameworkWooCommerce extends RulesShippingFramework {
 			$vendorids = array();
 			// The plugin provides its own function to retrieve the vendor for a product
 			foreach ($products as $product) {
-				foreach (get_product_vendors($product['data']->id) as $vendor) {
+				foreach (get_product_vendors($product['data']->get_id()) as $vendor) {
 // $this->printWarning("<pre>vendor: ".print_r($vendor,1)."</pre>");
 					$vendors[] = $vendor->slug;
 					$vendornames[] = $vendor->title;
@@ -268,7 +268,7 @@ class RulesShippingFrameworkWooCommerce extends RulesShippingFramework {
 			$vendorids = array();
 			// The plugin provides its own function to retrieve the vendor for a product
 			foreach ($products as $product) {
-				$vendor = yith_get_vendor($product['data']->id, 'product');
+				$vendor = yith_get_vendor($product['data']->get_id(), 'product');
 // $this->printWarning("<pre>vendor: ".print_r($vendor,1)."</pre>");
 				if ($vendor->is_valid()) {
 					$vendors[] = $vendor->slug;