thanks a lot for your module.
i am trying the commerce kikstart 2 and i watched the video
there you give instructions for changing the widtet on line items as inline entity form.
if i do so, when i reload the page of a form i get this error in admin/commerce/orders/1/edit

Warning: Invalid argument supplied for foreach() in commerce_cart_form_commerce_order_ui_order_form_alter() (line 327 of /datos/treballs/tarros/tarros/profiles/commerce_kickstart/modules/contrib/commerce/modules/cart/commerce_cart.module).

though it works.
i hope it helps to you.
i have change nothing on the downloaded distribution.
thanks again :)


bojanz’s picture

Title: commerce kikstart: error if i set the widget on line items as inline entity form » commerce_cart_form_commerce_order_ui_order_form_alter() should only alter the line item manager widget
Project: Inline Entity Form » Drupal Commerce
Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Component: Code » Cart

IEF has its own code to disable price editing.
This alter needs to limit itself to the line_item_manager widget.

rszrama’s picture

Status: Fixed » Closed (fixed)

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