As the official Ubercart forums seem to be overrun by spammers/spambots, I hope it's okay if I post a support question in this place. Here it goes:

How can I create a condition (using the Rules module) based on the current user's grand total money spent? Is there any way to access this value?

My goal is to assign a certain role to all users who have spent a certain minimum of money in total (and not just in a single purchase).

Comments

TR’s picture

Status: Active » Fixed

You'd have to write custom code. Depending on when/where you wanted to do this, it could be done with a hook implementation (for example hook_uc_order() if you're performing this at checkout), or your could write a custom Rules condition, or use a PHP rules condition, or ...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.