I think there's an issue with the way items are being produced for the cart by this module.
I have 0 products setup on a fresh install of commerce, register, and this module. When adding a paid registration to cart, I get the following error:

Notice: Undefined property: stdClass::$commerce_price in commerce_product_line_item_populate() (line 1373 of sites/all/modules/commerce/modules/product_reference/commerce_product_reference.module).

I'll try to circle back to this issue if I find it's actually causing any problems. For now, the item exists, and the price is calculated correctly using stock logic or the custom hook for price calculation.

Comments

lance.gliser’s picture

Issue summary: View changes

Removed my local directory from the error path.

gcb’s picture

Status: Active » Fixed

Good catch. Easy work around: go to the commerce product admin UI and set a price of "0" on the REGISTRATION product.

I've submitted a fix for this issue, but it's a bug in hook_enable(), so you need to do the above work around for existing installations.

Status: Fixed » Closed (fixed)

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

ArAnManDapCel’s picture

Apparently the issue still occurs in version 7.x-1.11.

Code solution is also in https://www.drupal.org/node/1642272#pift-results-1642272
I've applied the same solution, but now the code is at row 1374.