I'm trying to remove the "coupon code" option and "apply coupon" button, from my event ticketing page- but there doesn't seem to be the option to do so.
Here's a link: http://anielqa.com/work_in_progress/MustangContest/?page_id=2
Please advise.
Thanks!
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;
}
toddhuish
Member
Posted 1 year ago #
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.]
rorschachdesign
Member
Posted 1 year ago #
Thanks alsc! I was going through the code trying everything and you nailed it.
Great plugin, this is a minor glitch all in all.
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!