diff --git a/modules/product/commerce_product.info.inc b/modules/product/commerce_product.info.inc index 4451729..ec761a6 100644 --- a/modules/product/commerce_product.info.inc +++ b/modules/product/commerce_product.info.inc @@ -46,6 +46,15 @@ function commerce_product_entity_property_info() { 'required' => TRUE, 'schema field' => 'title', ); + $properties['language'] = array( + 'label' => t("Language"), + 'type' => 'token', + 'description' => t("The language the product is belonged to."), + 'setter callback' => 'entity_property_verbatim_set', + 'options list' => 'entity_metadata_language_list', + 'schema field' => 'language', + 'setter permission' => 'administer commerce_product entities', + ); $properties['status'] = array( 'label' => t('Status'), 'description' => t('Boolean indicating whether the product is active or disabled.'),