WP Event Ticketing
Coupon Code (10 posts)

  1. youngmedia
    Posted 4 years ago #

    When I enter a coupon code and click apply code, the page refreshes and the item I selected no longer has anything in the cart. This is preventing me from using the coupon code option. Does anyone have any suggestions on how to fix this issue?


  2. hksalam
    Posted 3 years ago #

    I have this same issue. Did you ever find a resolution?

  3. rich@richkirkham.com
    Posted 3 years ago #

    Same problem plus I can only get 1 coupon at a time. If someone buys 5 tickets at a flat rate or a percent rate then it only gives 1 ticket at the coupon rate or percent discount.


  4. Enoch
    Posted 3 years ago #

    Same problem. Plus when I delete a coupon, the discounted item is still showing up.

  5. hksalam
    Posted 3 years ago #

    When I looked closer, I realized that while the page was refreshing, it was adding a final row to my ticket packages screen with the discount. I found it a little confusing, but it did work.

  6. Bryce001
    Posted 3 years ago #

    If I offer a coupon for a free ticket. after entering the code the discounted ticket is displayed. I select this ticket then click on the check out button. all this seems to do is refresh ticket page and does not purchase the ticket. If there is any dollar amount check out works correctly.

  7. Sam
    Posted 3 years ago #

    Same problem, can't do free tickets with a coupon. It would be great to see this bug fixed.

  8. bananerd
    Posted 3 years ago #

    Same issue with not being able to use more than one coupon. I'd like to offer one discount to ALL packages at once.

  9. TiffanyMarler
    Posted 3 years ago #

    anyone find a solution for this problem yet? Need to use coupon code for multiple tickets purchased at one time instead of only one ticket at a time.


  10. Bonte
    Posted 3 years ago #

    Bryce001, Sam, and all looking to sell a free ticket, either with or without a coupon.

    There is a typo in the code that is causing the ticket screen to refresh without allowing you to sell a free ticket.

    Open up the plugin code by going into the plugin editor. This will bring up the PHP code for WP Event Ticketing.

    Search for the following text:

    //check to see if value is $0 due to a discount code or something

    Down about 8 lines from that comment, you'll find a line that looks like the following:

    header('Location: ' . get_permalink() .(strstr(get_permalink(), '?') ? '&' : '?'). 'couponSubmitNonce=' . $couponSubmitNonce);

    Delete the "amp;" within that line leaving just the ampersand between the single quotes, or overwrite the line with the code from above.

    Save your plugin code and it should work just fine! Enjoy!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Event Ticketing
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.