I’ve tried using PO edit (which I’ve used in the past to edit text on another plugin) and the WP Quick Localization plugin and neither method works.
What I’ve discovered is that the text for this function in the PO file referred to at https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#plugins is different to the text that appears on the website – so whether the PO files downloadable from GitHub haven’t been updated or what, I don’t know.
The only way I have been able to remove the ‘Please note that the maximum number of tickets….etc’ line from my site is to edit the ticket_selector_chart.template.php in the EventsEspresso core and remove the following function:
<?php if ( $max_atndz > 0 ) { ?>
<p class=”smaller-text lt-grey-text”>* <?php echo sprintf( __( ‘Please note that a maximum number of %d tickets can be purchased for this event per order.’, ‘event_espresso’ ), $max_atndz );?></p>
<?php } ?>
This seems to have worked and hasn’t broken the plugin.
Why is there not a simple tick box option within the plugin to stop the maximum ticket statement appearing?
Try this CSS in My Custom CSS or Reaktiv CSS Builder. Both are free plugins from the WP plugins directory:
.smaller-text.lt-grey-text {display:none}
—
Lorenzo
Viewing 3 reply threads
The support post ‘Removing 'Maximum Number of Tickets that can be Purchased' statement – issues’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.