Allows you to create promotions according to the number of complete customer orders. It's also possible to set the minimum value for the sum of all the customer's orders and how many days ago should the oldest order be.https://www.drupal.org/project/commerce_loyalty_condition