Applying conditional field rules to line item fields in the Commerce module dont affect anything at all. Been trying to search for answers or patches with no succes for a while now, anybody experienced this issue?

Comments

mrfelton’s picture

Yep - I'm experiencing this too.

rlegrand’s picture

Not being a coder it seems that the JavaScript library containing the "state" condition, is missing on Commerce content types...

rlegrand’s picture

You might wanna try this one out...http://drupal.org/sandbox/peem/1073388. Works for me.

peterpoe’s picture

Assigned: rlegrand » Unassigned
Category: support » bug
Priority: Critical » Normal
john franklin’s picture

Status: Active » Needs review
StatusFileSize
new589 bytes

Attached patch fixed it for me.

summit’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Working nicely in my situation!
Greetings, Martijn

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 5: conditional_fields-no_states_js.patch, failed testing.

joegl’s picture

I am having this issue too. The label gets properly changed but the "required" class on the fields doesn't change at all.

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 5: conditional_fields-no_states_js.patch, failed testing.

john franklin’s picture

Status: Needs work » Needs review
StatusFileSize
new477 bytes

Re-roll the patch.

john franklin’s picture

@joegl, you may want to open that as a separate issue.

peterpoe’s picture

Status: Needs review » Fixed

Commit 2e4fc80 fixed this.

Status: Fixed » Closed (fixed)

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