Events Made Easy Forums Bug fixed or feature request implemented Problem with discounts for specific groups/members

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #63007
    Anonymous
    Inactive

    Hi Franky,

    I’m not sure if I’m doing something wrong, or that it has to do with EME.
    A while ago I experimented with discount codes for specific groups. In the test page everything worked fine.

    Now I made a new discount to apply to certain members/groups, but when testing the discount is also applied for persons outside the group. And I did specify in the discounts submenu to only apply the discount to certain groups.

    Could you perhaps understand what I am (perhaps) doing wrong?

    #63008
    Franky
    Keymaster

    Bug confirmed. Fix is here:
    https://plugins.trac.wordpress.org/changeset/2582779/
    (in fact, only the fix in eme_functions.php is needed, it’s a one-liner change)

    After that, re-edit your discount (you’ll see that the group you selected wasn’t saved, the fix above will fix that). The other fix in the changeset is to avoid a small php notice when editing a discount, but it can be ignored for now.

    #63012
    Anonymous
    Inactive

    Hi Franky,

    I’m still amazed at the speed of your reply. Thanks, I made the changes above and it works PERFECT now!

    I changed both functions as discounts.php, without breaking your code 😀

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top