Download & Extend

Validation error when adding a line item (using the admin UI) on an order with required fields

Project:Drupal Commerce
Version:7.x-1.x-dev
Component:Order
Category:bug report
Priority:minor
Assigned:Unassigned
Status:active

Issue Summary

Hi,

When creating an order using the admin UI, if the order contains required fields (such as "Terms of Use"), adding a line item is prevented by validation error.
I think of it as only a minor issue, as we can clearly check the tick-box, but still, it does not seem to be a good UX practice ;-)

Comments

#1

I tried to apply a quick fix by adding #limit_validation_errors to the action buttons in the line item manager widget form. This should have worked, but it isn't. I don't know why yet.

#2

I had the same reaction, and as the quick fix didn't work, I posted the issue, thinking you'll be better equipped to fully fix it. Sorry about that ;-)

#3

hehe No worries, I love a challenge. : P

nobody click here