Hi,
how to get the number of orders per customer to auto assign a role after the third completed order?
regards
|
UbercartOne cart to rule them all... |
|
| Donate | Affiliates | Sponsors | ||
Number of Orders per customer
Submitted by pebosi@drupal.org on Mon, 01/28/2008 - 11:53
Hi, how to get the number of orders per customer to auto assign a role after the third completed order? regards
Maybe its also possible to get role based prices. Not sure where you'd putting the logic. In custom code, you could keep track of a customer's orders in your own table by hooking into the order submission process (hook_order() on the 'submit' $op). This will help you not have to worry about orders that never make it out of checkout.
|
|
Joined: 09/05/2007