You could add an integer field in the user profile. Then with a Rule you could check if this value is 0. 0 means no orders yet for the current user. Of course after the user completes an order with another Rule you should increment this field value by 1.
I really want drupal commerce to work for me but there are so many items that are standard in other shopping carts that have to be created from scratch here. Let me know if anyone else figured this out. I need the exact thing, I 10% off the first purchase only.
In creating a custom module, I was able to add the needed functions to add a custom condition "First Time Customer", that checks whether the user is anonymous (has the anonymous User ID) or it queries the database.
Github page: http://git.io/WCmKdw
Readme instructions pretty straight forward. Use the "Download ZIP" link to the files, put it in your modules folder.
Comments
Did you happen to get a solution for this at all?
Did you happen to get a solution for this at all?
I am also looking for something exactly like this. I am surprised that this already does not exist.
Giving discount to first time user has sort of become a market standard to attract new users.
You could add an integer
You could add an integer field in the user profile. Then with a Rule you could check if this value is 0. 0 means no orders yet for the current user. Of course after the user completes an order with another Rule you should increment this field value by 1.
Hope this makes sense. :)
Anyone get this working?
I really want drupal commerce to work for me but there are so many items that are standard in other shopping carts that have to be created from scratch here. Let me know if anyone else figured this out. I need the exact thing, I 10% off the first purchase only.
Custom Solution
In creating a custom module, I was able to add the needed functions to add a custom condition "First Time Customer", that checks whether the user is anonymous (has the anonymous User ID) or it queries the database.
Github page: http://git.io/WCmKdw
Readme instructions pretty straight forward. Use the "Download ZIP" link to the files, put it in your modules folder.
Let me know if you have any other questions.