Posted by Peel on November 5, 2009 at 10:10pm
| Project: | Ubercart Discount Coupons |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | support request |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I have installed uc_coupon, and set the permissions to:
coupon wholesale pricing - admin
manage store coupons - admin
view store coupons - anonymous, authenticated, admin
I created a coupon and set products to all, taxonomy terms to all, and restricted no users or roles.
When I try to use the coupon I get the following message, "You do not have the correct permission to use this coupon." Are there any other settings that need to be changed?
Comments
#1
You shouldn't even have to have "view store coupons" checked for anonymous or authenticated for them to still be able to use them. That permissions allows that role to view the coupons you have created which could be a bad thing if they are able to know the url and then use all your coupons when purchasing something.
It looks like everything your doing should be fine but make sure that under "Product classes:" you have your product class selected. Other than that I don't have a good answer without more info...
#2
Cannot reproduce this, feel free to reopen with more info.
#3
Hello,
I am still having this issue i also set the permission but when i use coupon code i face the "You do not have the correct permission to use this coupon." error.
Please help me..!!!
Thanks In Advance
#4
What version of uc_coupon are you using? Also please send screenshot of your coupon settings page with all panes expanded, and role and permissions of the user trying to use the coupon. Thx.
#5
Hello,
Thanks for the fast reply...
I am using 6.x-1.5 version on uc_coupon module.
Please see attached snapshot....
#6
Sorry if I wasn't clear - I meant the settings for the individual coupon in question (from admin/store/coupons/edit) and the roles/permissions for the particular user who is trying to use the coupon and rejected.
#7
Sorry for wrong snapshot.... please see the attached new snapshot:
#8
You still haven't told me the uid/roles of the particular user who is trying to apply the coupon, but I suspect you are using it as admin (uid:1) and haven't assigned yourself the 'promo_member' role. Thus validation passes the "User" restriction but fails on the "Role" restriction. The rules governing multiple restrictions are a bit arcane, but generally validation will fail if *any* criterion is met.
Also - you changed the version tag back to 1.3, but you say in #5 that you are using 1.5? Which is accurate?
#9
Hello wodenx,
I resolve that issue....Thanks for your response..
#10
#11
Automatically closed -- issue fixed for 2 weeks with no activity.