I have been unable to get the price table working and notice that I have a pricing rule error

Error: Data selector commerce-line-item:commerce-product:field-price-table for parameter price_table is invalid.

The value 'field-price-table' seems not be available to rules

What am I doing wrong?

CommentFileSizeAuthor
#2 price-rule-error.png129.18 KBMrPaulDriver
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MrPaulDriver’s picture

Issue summary: View changes

typo

MrPaulDriver’s picture

I have now verified this bug when price table module is installed to commerce kickstart 7.x-2.8 as well as the latest dev version (2013-Jul-15)

MrPaulDriver’s picture

FileSize
129.18 KB

Here is a screenshot

MrPaulDriver’s picture

Category: support » bug
MrPaulDriver’s picture

Issue summary: View changes

emphasis

MrPaulDriver’s picture

UPDATE: Having tried gone back through the commits, it seems that this bug exists from Commit 3712b7b onwards.

I currently have Commit 5930311 installed and it seems to be okay.

pcambra’s picture

MrPaulDriver’s picture

No luck.

I applied the patch to the latest dev and the pricing rule error persists

nelslynn’s picture

be sure your field is called field-price-table, or modify the rule to what you named your field. The rule is looking for a field name of field-price-table, it you set up your field to anything other, you will get this error.

nelslynn’s picture

Issue summary: View changes

typo

Summit’s picture

Hi,
Do you mean the field should be Labeled Price Table, and therefore automatically the field gets the name field-price-table.
Or do you have to label the field Field Price Table?

For me the rule is not working, with or without correct price table field I think....
See: https://drupal.org/node/2168027 for my situation.

greetings, Martijn

GiorgosK’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)