Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Hawkins

    (@vegasgeek)

    in ticketing.css, find this section:

    #eventTicketing tr.coupon, #eventTicketing tr.paypalbutton {
      text-align: right;
    }

    and make it look like this:

    #eventTicketing tr.coupon, #eventTicketing tr.paypalbutton {
      text-align: right;
      visibility: hidden;
    }
    Plugin Contributor toddhuish

    (@toddhuish)

    Actually that ends up hiding the paypal button too

    Comment out Line 2218 in ticketing.php. That is the coupon <tr>

    I’ll add a ticket to make this an option in a future release.

    Hi todd,

    can you be more specific? What section should I comment out?

    Thank you.

    Bygones. I got it.

    echo '<tr class="coupon"><td colspan="2"><label for="couponCode">Coupon Code:</label><input class="input" name="couponCode"></td><td colspan="' . ($o["displayPackageQuantity"] == 1 ? "2" : "1") . '"><input type="submit" name="couponSubmitButton" value="Apply Coupon"></td></tr>';

    should be removed or commented out.

    [Please post code snippets between backticks or use the code button.]

    Thanks alsc! I was going through the code trying everything and you nailed it.

    Great plugin, this is a minor glitch all in all.

    Tpas

    (@tpas)

    Hi everyone,
    I am very new to the wp event ticketing and just posted my first event. i didn’t like the empty coupon field there so referenced alsc’s suggestions and removed the coupon button.
    Now we are doing a special promotion and actually need to use the coupon field. When I try to post the language back into the original space it gives me an error. Any ideas how I can make the changes without reloading the whole plug-in. would greatly appreciate.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Event Ticketing] removing "coupon code" option and "apply coupon" bu’ is closed to new replies.