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?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | coupon_edit_1.JPG | 72.99 KB | khalidkhan |
| #7 | coupon_edit_2.JPG | 68.64 KB | khalidkhan |
| #7 | coupon_edit_3.JPG | 82.75 KB | khalidkhan |
| #7 | coupon_edit_4.JPG | 75.21 KB | khalidkhan |
| #7 | coupon_edit_5.JPG | 74.76 KB | khalidkhan |
Comments
Comment #1
deggertsen commentedYou 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...
Comment #2
longwaveCannot reproduce this, feel free to reopen with more info.
Comment #3
khalidkhan commentedHello,
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
Comment #4
wodenx commentedWhat 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.
Comment #5
khalidkhan commentedHello,
Thanks for the fast reply...
I am using 6.x-1.5 version on uc_coupon module.
Please see attached snapshot....
Comment #6
wodenx commentedSorry 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.
Comment #7
khalidkhan commentedSorry for wrong snapshot.... please see the attached new snapshot:
Comment #8
wodenx commentedYou 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?
Comment #9
khalidkhan commentedHello wodenx,
I resolve that issue....Thanks for your response..
Comment #10
wodenx commented