2
Answers
Vote up!
0
Vote down!

Pricing rule for customizable products attributes

Hi,
I have developed site in commerce kickstart.I have some products where user can enter custom value for them like if i have jeans product then customer can select fabric,design attribute for jeans.I used line item type for those fields. I want price of product should get changed after entering particular value in field.I followed this link for doing this.
Now i have successfully added pricing rule for one field like design so while adding loop it's showing data selector like this "commerce-line-item:field-djdesign". Now i want to add second rule for another field but while adding loop data selector is showing "commerce-line-item:field-djdesign:".It's showing ":" after selecting field.N when i save it it's showing error "The data type of the configured argument does not match the parameter's list requirement.".
Thanks in advance,N help me.

Asked by: amruta
on January 22, 2014

Comments

Hi,
I have exactly the same problem, but already by first loop with a term reference to choices of printing.. two choices.
I got "The data type of the configured argument does not match the parameter's list requirement."

Any one able to solve this that you get the result from this video: http://www.youtube.com/watch?v=j9KsyvQZaAY ?
Or is not working with newer commerce installs somehow?

Thanks a lot in advance for your help.
greetings, Martijn

- Summit on March 1, 2014

2 Answers

Vote up!
0
Vote down!

Hi,
In my situation I think I got the problem why I did see: "The data type of the configured argument does not match the parameter's list requirement".

In the particular video: http://www.youtube.com/watch?v=j9KsyvQZaAY, the important thing is that the term-field reference has unlimited values, so you can choose peporoni, cheese together or not.
In my situation I have a print-choice of a product which is only 1.
So I think I do not need a loop, but only an action.

So if the term-reference is unlimited or more than one, I think you need a loop.
If the term-reference is only 1, only action is needed within rules.

Is this correct?

Greetings, Martijn

Answer by: Summit
Posted: Mar 2, 2014