Needs review
Project:
Commerce Coupon (D7)
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2014 at 13:53 UTC
Updated:
10 Jul 2018 at 03:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tfranz commentedHello, i have the same feature request – did you find a solution?
Thanks!
Comment #2
smurfxx commentedNo, didn't find a solution from June 30
Comment #3
andre4s_y commentedI have created the similar feature on my last project.
The difference: the conditions is applied to order discount, not applied to coupon.
I can provide the feature if what you mean is limiting usage to specific roles for order discount conditions.
Comment #4
andrew_rs commentedandre4s_y,
I'd be interested in see how you implemented this.
Comment #5
andre4s_y commentedHi andrew_rs,
Check this patch file, which add new module: commerce_discount_user.
This patch will provide 2 order discount conditions: user email and user role.
Still a lot of todos, for example: check inline condition and:/or:
But, the main purpose is working (for me): limit order discount to specific order mail and/or user role.
:)
Comment #6
firewaller commentedAttached is my recent patch to the commerce_coupon_user module which adds a checkbox list of roles field (commerce_coupon_roles) to each coupon as a field, based almost entirely off the commerce_coupon_recipient user field.
Comment #7
firewaller commentedMisnamed the last patch file.
Comment #8
firewaller commented