Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Allowed Users vs Disallowed Users
- This topic has 12 replies, 2 voices, and was last updated 4 years, 8 months ago by rcasey.
-
AuthorPosts
-
July 8, 2019 at 8:59 pm #6919rcaseyParticipant
When we’re creating coupons, we usually have to specify what user roles the coupons are for. We have regular customer users and distributors/resellers of our products.
In certain instances we do Allowed User Roles, which consists of us selecting: Customers and Sales User Roles, but the coupon will render useless. But if we remove the Allowed User Roles, and use a disallowed User Role, which will only consist of: Distributors. The coupon works as expected.
Can you please help provide some insight why this is, and if there is anything we can do to make both fields work, depending on which one we would like to use. Instead of using just the disallowed roles as a fallback, when the allowed user roles are not working properly?
Any help is much appreciated!
July 9, 2019 at 5:31 pm #6942Soft79KeymasterPlease disable the option to allow an invalid coupon (miscellaneous tab). What message do you get when you manually try to apply a coupon with ‘Allowed user roles’ to a cart?
July 9, 2019 at 6:47 pm #6945rcaseyParticipantWe get a message that says, “Coupon will be applied when the requirements are met.”
July 9, 2019 at 6:49 pm #6946rcaseyParticipantExcuse me, “Coupon ‘summer10’ will be applied when its conditions are met.”
July 9, 2019 at 7:48 pm #6947Soft79KeymasterYou need to disable the option ‘allow invalid coupon’. Then you get another message. Is it an auto coupon? Then also temporarily disable that option.
July 9, 2019 at 7:59 pm #6949rcaseyParticipantCan you please direct me to where these settings are found, as I do not see them in either of the Coupons or Woocommerce Settings?
July 9, 2019 at 8:06 pm #6950rcaseyParticipantI have found both setting and have disabled them, the still did not work. The message that I receive now is “Sorry, it seems the coupon “summer10″ is not yours.”
July 9, 2019 at 8:39 pm #6951Soft79KeymasterOk, that’s the message I was looking for…
At the moment you get that message, are you logged in as a user with one of the roles to which the coupon applies?
July 9, 2019 at 9:16 pm #6953rcaseyParticipantI was, so I have actually re-followed all of the steps that you gave me, then tried to checkout in an “Incognito” window, and I’m still receiving the same message: “Sorry, it seems the coupon “summer10” is not yours.”
July 9, 2019 at 9:47 pm #6954Soft79KeymasterPlease send me the credentials of a user with that role to admin at soft79.nl and steps to reproduce the issue in your store.
July 10, 2019 at 3:49 pm #6984rcaseyParticipantBefore I give you access, I think I understand the issue now.
1) If we are selecting allowed user roles, for example: Customers, Sales (This means that they are registered users, and this would apply to them only)
2) If we disallow user roles, in this case, distributors (The coupon will work for registered and unregistered users (aka Guest) but not distributors.
3) If allowed user roles are selected, this will automatically eliminate Guest Checkout with this particular coupon because a user role has been defined.Is all of this correct? If so, I understand where our issues are now.
Please advise.
July 10, 2019 at 6:50 pm #6989Soft79KeymasterYes, the user MUST have one of the allowed roles during checkout.
July 10, 2019 at 7:03 pm #6990rcaseyParticipantThank you very much. This all makes sense now. You’ve been very helpful.
-
AuthorPosts
- You must be logged in to reply to this topic.