Closed (won't fix)
Project:
Commerce Core
Version:
7.x-1.3
Component:
Rules integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2012 at 18:59 UTC
Updated:
4 Aug 2012 at 12:24 UTC
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.
Comments
Comment #1
Jere Toivanen commentedIn Points selector I tried to put "site:current-cart-order:commerce-order-total" but gives me error message.
Comment #2
rszrama commentedSorry, as the issue submission guidelines indicate, this is no longer the place for Drupal Commerce support. Please report your question at http://www.drupalcommerce.org/questions, and if you provide a link, I'll be happy to hop over there and try a quick answer.
Comment #3
Jere Toivanen commentedOk, thanks.
I made a question to drupalcommerce.org and let's continue this discussion over there:
http://www.drupalcommerce.org/questions/3709/cart-total-amount-checkout-rules-grant-points-user