mt-support / tribe-ext-set-ticket-default-quantity

Events Tickets Extension: Set default quantity of tickets
5 stars 0 forks source link

Not working if placed using a shortcode #4

Open yewzy opened 3 years ago

yewzy commented 3 years ago

Default quantity remains at '0' when the ticket box is placed on a separate page using the [tribe_tickets] shortcode.

Event Ticket: Version 5.1.9 Event Ticket Plus: Version 5.2.9 The Events Calendar: Version 5.9.0

yewzy commented 3 years ago

My current workaround:

I've commented out line 77-79 in index.php function is_valid_post_type() { // bail out if not on a Single Event page. //if ( ! is_single() ) { // return false; //}