What this solution does
The module extends the set of conditions available for cart rules. After installation, the following new conditions become available:
Callback function result. Allows specifying a custom function that receives an array of order or cart data as an argument.
PHP expression. Enables setting arbitrary PHP code for dynamic condition evaluation.
User birthday. Allows applying a discount on the user's birthday. The discount period can be configured to start before the actual birthday and end after it.
Time of day. Restricts the discount to a specific time interval within a day.
Time since registration. Checks the duration elapsed since the user's registration date.
Time since last order. Checks the duration elapsed since the date of the user's last order.
Order count. Checks the total number of orders placed by the user that have not been cancelled.
Paid order count. Checks the number of completed orders, considering only those marked as paid and not cancelled.
General iT can install and configure this module and check how it works on your website.