diff --git a/modules/customer/includes/commerce_customer.entity.inc b/modules/customer/includes/commerce_customer.entity.inc index 020f45c6..f358c6b6 100644 --- a/modules/customer/includes/commerce_customer.entity.inc +++ b/modules/customer/includes/commerce_customer.entity.inc @@ -6,7 +6,6 @@ class CommerceCustomerProfile extends Entity { public $langcode = LANGUAGE_NONE; - public $name = ''; public function __construct($values = array()) { parent::__construct($values, 'commerce_customer_profile'); @@ -21,7 +20,7 @@ class CommerceCustomerProfile extends Entity { } public function label() { - return $this->name; + return "Customer Profile (uid {$this->uid})"; } public function uri() { diff --git a/modules/product/includes/commerce_product.entity.inc b/modules/product/includes/commerce_product.entity.inc index 9f8f443a..5315e47d 100644 --- a/modules/product/includes/commerce_product.entity.inc +++ b/modules/product/includes/commerce_product.entity.inc @@ -20,7 +20,7 @@ class CommerceProduct extends Entity { } public function label() { - return $this->name; + return $this->title; } public function uri() {