Straightforward action and implementation.
What it does: Adds "First Time Order Discount" to Commerce Discount Condition list, for an "Order" type discount.
How it works:
- Checks if the UID (User ID) is 0 (Anonymous) then pass as TRUE.
- Otherwise it queries the UID against the commerce_order table,
counts the number of orders that UID has made. - If 1 or less than one (Having an active cart, counts as 1.
Ergo, first order), pass condition as TRUE.
Documentation: http://www.qed42.com/blog/first-time-customer-order-discount-drupal-comm...
Maintainers
- michaelrobbe - original author
- AjitS - current maintainer
Project information
- Project categories: E-commerce
16 sites report using this module
- Created by michaelrobbe on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.


