I got this message after clicking 'save' button: "Notice: Undefined index: amount in commerce_price_field_formatter_view() (line 397 of /home/quickstart/websites/commerce.dev/sites/all/modules/commerce/modules/price/commerce_price.module)."

this error comes IF the product has not been saved by clicking 'save variation' button.

I think there must be method to save ALL product variation added all at once by clicking ONE save button at the bottom. The two save button in one page is not a good user experience if not confusing. (usually people only see save button at the bottom of the page)

Comments

bojanz’s picture

Title: error upon click save button. » Clicking the main save button should save all inline entity forms
Version: » 7.x-1.x-dev

I agree. It's on my todo list. Both add and edit forms should be saved (removed obviously shouldn't).

farrington’s picture

And to make the UI/UX better, drop the "Save variation"-button.

bojanz’s picture

Status: Active » Fixed

Done. This was a huge task. Beta2, here we come!

Status: Fixed » Closed (fixed)

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