Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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!

Viewing 1 replies (of 1 total)