hi
I add a taxonomy field with 2 term A and B to line item type of the product.
and I set a rule:
event:
Calculating the sell price of a product
Conditions:
Data comparison
Parameter: Data to compare: [commerce-line-item:quantity], Operator: is greater than, Data value: 3
Line item contains a specific product type
Parameter: Line item: [commerce_line_item], Type: category1
Actions:
Multiply the unit price by some amount
Parameter: Line item: [commerce_line_item], Amount: 0.88, Price component type: Discount
how can I add this condition to it?
condition:
if user select A taxonomy in line item.
please help me
Comments
Comment #1
TR CreditAttribution: TR commentedIf your line_item object has a taxonomy field, then you can just use the data_comparison condition to test the value of that taxonomy term. If it's more involved than that, then you need to ask your question in the Commerce issue queue.
Comment #2
TR CreditAttribution: TR commented