Title: Bonte's Replies | WordPress.org

---

# Bonte

  [  ](https://wordpress.org/support/users/bonte/)

 *   [Profile](https://wordpress.org/support/users/bonte/)
 *   [Topics Started](https://wordpress.org/support/users/bonte/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bonte/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bonte/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bonte/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bonte/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bonte/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Event Ticketing] [Plugin: WP Event Ticketing] Coupon Code](https://wordpress.org/support/topic/plugin-wp-event-ticketing-coupon-code/)
 *  [Bonte](https://wordpress.org/support/users/bonte/)
 * (@bonte)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-event-ticketing-coupon-code/#post-2918117)
 * 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)