Support

Home Forums Event Espresso Premium Removing 'Maximum Number of Tickets that can be Purchased' statement – issues

Removing 'Maximum Number of Tickets that can be Purchased' statement – issues

Posted: September 10, 2014 at 9:16 am

Viewing 3 reply threads


fifthsense

September 10, 2014 at 9:16 am

Hi
Please see post https://eventespresso.com/topic/remove-maximum-number-of-tickets-statement/

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?


Lorenzo Orlando Caum

  • Support Staff

September 10, 2014 at 9:46 am

Each additional setting that is added complication to the WordPress dashboard.

What happens if you hide it by targeting the CSS classes?


Lorenzo


fifthsense

September 10, 2014 at 10:00 am

The dashboard already contains lots of options, a few more won’t make any difference.

‘What happens if you hide it by targeting the CSS classes?’

That means absolutely nothing to me I’m afraid.


Lorenzo Orlando Caum

  • Support Staff

September 10, 2014 at 12:19 pm

Hi,

We won’t be adding a setting to adjust this.

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.

Event Espresso