3
Answers
Vote up!
1
Vote down!

Cart total amount to checkout rules "Grant points to a user"?

I am trying to add action rule to checkout, when customer makes payment.

What I planned to do is:

After payment, customer receives user points so much, how much customer was paid for all products in cart he added.

So how I do this?

So I need to do something in checkout settings - checkout rules - page. I added a new rule to event "Completing the checkout process", there i added action "Grant points to a user" and settings in there for user data selector I added "commerce-order:owner" but question is: What I should put in "Points" data selector, so customers receive points so much as they have total balance in shopping cart?

Thank you.

Asked by: Jere Toivanen
on August 4, 2012

3 Answers

Vote up!
0
Vote down!

Hi! It doesn't work. I tried install commerce_kickstart and there is it doesn't work too. When I try import a rule from Josh I have a error "Integrity check for the imported configuration failed. Error message: The data type of the configured argument does not match the parameter's points requirement.."
When I try create a rules, I don't see "commerce-order:commerce-order-total:amount" this selector is not available. I have only "commerce-order:commerce-order-total:"
Somebody does have solution for this issue?

Answer by: nashgc
Posted: Feb 16, 2017