hmmm..

when I want to add a product, so there's no field for a product description. the product content-type isn't appearing on the content-types listing. there's also no possibility to add a product to a navigation-menu.

when I'm on the product add form, I get the following errors:

Notice: Trying to get property of non-object in commerce_product_product_form() (Zeile 27 von /Applications/MAMP/htdocs/drupal7/sites/all/modules/commerce/modules/product/includes/commerce_product.forms.inc).
Notice: Trying to get property of non-object in commerce_product_product_form() (Zeile 36 von /Applications/MAMP/htdocs/drupal7/sites/all/modules/commerce/modules/product/includes/commerce_product.forms.inc).
Notice: Trying to get property of non-object in entity_extract_ids() (Zeile 7258 von /Applications/MAMP/htdocs/drupal7/includes/common.inc).
Notice: Undefined index: field_name in _field_invoke() (Zeile 189 von /Applications/MAMP/htdocs/drupal7/modules/field/field.attach.inc).
Notice: Trying to get property of non-object in entity_extract_ids() (Zeile 7258 von /Applications/MAMP/htdocs/drupal7/includes/common.inc).
Notice: Undefined index: label in field_multiple_value_form() (Zeile 155 von /Applications/MAMP/htdocs/drupal7/modules/field/field.form.inc).
Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (Zeile 1478 von /Applications/MAMP/htdocs/drupal7/includes/bootstrap.inc).
Notice: Undefined index: description in field_multiple_value_form() (Zeile 156 von /Applications/MAMP/htdocs/drupal7/modules/field/field.form.inc).
Notice: Array to string conversion in drupal_validate_utf8() (Zeile 1505 von /Applications/MAMP/htdocs/drupal7/includes/bootstrap.inc).
Warning: preg_match() expects parameter 2 to be string, array given in drupal_validate_utf8() (Zeile 1511 von /Applications/MAMP/htdocs/drupal7/includes/bootstrap.inc).
Notice: Trying to get property of non-object in entity_extract_ids() (Zeile 7258 von /Applications/MAMP/htdocs/drupal7/includes/common.inc).
Notice: Trying to get property of non-object in commerce_product_product_form() (Zeile 54 von /Applications/MAMP/htdocs/drupal7/sites/all/modules/commerce/modules/product/includes/commerce_product.forms.inc).
Notice: Trying to get property of non-object in commerce_product_ui_product_title() (Zeile 120 von /Applications/MAMP/htdocs/drupal7/sites/all/modules/commerce/modules/product/commerce_product_ui.module).
Notice: Trying to get property of non-object in commerce_product_ui_product_title() (Zeile 120 von /Applications/MAMP/htdocs/drupal7/sites/all/modules/commerce/modules/product/commerce_product_ui.module).

I've attached a screenshot of this to this issue. please note, that I use the german-language in my drupal 7 rc1.

- j

CommentFileSizeAuthor
Product_ | localhost.jpg984.13 KBjepster_

Comments

damien tournoud’s picture

Status: Active » Fixed

when I want to add a product, so there's no field for a product description. the product content-type isn't appearing on the content-types listing. there's also no possibility to add a product to a navigation-menu.

Those seems to be by design.

when I'm on the product add form, I get the following errors:

There is a critical bug in Drupal 7.0-RC1, #979958: load_functions detection for menu items broken by patch #606966. Please use the development version of Drupal 7 to test Drupal Commerce.

jepster_’s picture

> Those seems to be by design.
so where should the product description be placed?

> There is a critical bug in Drupal 7.0-RC1, #979958: load_functions detection for menu items broken by patch #606966. Please use the development version of Drupal 7 to test Drupal Commerce.
the RC1 was released, because drupal 7 hadn't critical bugs anymore. are you sure, that the errors are disapearing, when I install the dev-version - or is your post just a assumption?

rszrama’s picture

If you look at the project page's installation instructions, we are linking to this as the only core issue that had to be resolved for Drupal Commerce to run on RC1. Unfortunately this was a pretty big bug that slipped through the cracks, but with the patch the exact errors you're experiencing will disappear.

As for where to put a description, we don't have full user documentation, but you basically have to make the decision yourself. I would recommend creating a node type with a product reference field on it and using that node's body field for the product description. To see an example of this, use the Commerce Dev installation profile that is currently hosted at http://github.com/rszrama/commercedev.

Status: Fixed » Closed (fixed)
Issue tags: -add product, -no product content type, -no product description

Automatically closed -- issue fixed for 2 weeks with no activity.