Home › Forums › Ticket Products › Event Tickets Plus › Can’t disable email triggers
- This topic has 20 replies, 4 voices, and was last updated 6 years, 8 months ago by Chris.
-
AuthorPosts
-
March 21, 2017 at 8:58 am #1257304ChrisParticipant
When I try to uncheck all the boxes for “When should tickets be emailed to customers?” it won’t let me. After I deselect them all and hit save, it checks the bottom three again.
March 21, 2017 at 4:35 pm #1257664Geoff B.MemberGood evening Chris and welcome back!
Thank you for reaching out to us.
We are sorry to hear about the boxes not unchecking themselves. Yikes!
I would love to help you with this topic.By the sound of it, it looks like there is some type of conflict at play.
This is usually because of:- A conflict with another plugin
- A conflict with your WordPress theme
- A template customization for the Events Calendar that requires updating
A first quick test is to simply temporarily revert back to a default WordPress theme such as twenty-sixteen to see if the issue persists.
The next step would be to go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out.
Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.
But, before you do that, there are 2 things I would advise:
- Make a backup of your database
- Consider activating a “Maintenance Page” plugin if you are doing this on your live site (to minimize impact on your visitors)
Let me know how that goes.
Best regards,
Geoff B.March 21, 2017 at 5:11 pm #1257680ChrisParticipantI’ve switched to 2016 theme. Disabled all plugins except WooCommerce, Events Tickets, Events Tickets Plus, The Events Calendar and the issue still persists.
March 21, 2017 at 11:12 pm #1257835Geoff B.MemberThis reply is private.
March 22, 2017 at 4:43 am #1257926ChrisParticipantThis reply is private.
March 22, 2017 at 11:41 pm #1258487Geoff B.MemberThis reply is private.
March 23, 2017 at 7:43 am #1258644ChrisParticipantI wasn’t able to do this on my end Geof. When I disabled the emails in WooCommerce settings (On Hold, Completed, Processing) and then tried disabling all those on Events > Settings > Tickets the 3 bottom items are checked after I hit save.
Here is a screencast of this happening.
Thanks
March 23, 2017 at 10:59 am #1258912Geoff B.MemberGood afternoon Chris,
I am sorry this did not work out as expected for you.
Could you try something to do that again while also deactivating temporarily potentially conflicting plugins such as:
- WooCommerce – Autocomplete Orders
- Follow-Up Emails
Finally, I noticed the presence of W3 Total Cache, is it possible that there is some lingering cache residual files at play here ?
Let me know how that goes.
Best regards,
Geoff B.March 23, 2017 at 11:09 am #1258929ChrisParticipantI cleared my history, used Incognito window, disabled Follow Ups, disabled WooCommerce – Autocomplete Orders and still no luck.
I noticed that I can uncheck all but one and it saves just that one checked.
Is it possible that the code used to ensure at least 1 is selected in the above field set was also used in this field set by mistake?March 23, 2017 at 3:27 pm #1259153ChrisParticipantLooks like it keeps loading this array when everything has been unchecked.
/**
* @return array
*/
public function get_default_ticket_dispatch_statuses() {
return array(
‘wc-completed’,
‘wc-on-hold’,
‘wc-processing’,
);
}March 23, 2017 at 10:01 pm #1259350Geoff B.MemberGood evening Chris,
Thank you for these efforts.
It does indeed look like a very legitimate bug.
Unfortunately, I cannot commit to a release date at this point. But stay tuned, you will be contacted when the fix is released.
In the meantime, if your goal is to not send tickets, you could apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/GeoffEW/67488cc3d5dda12a9e252e16e39191f4
Let me know how that goes.
Best regards,
Geoff B.March 24, 2017 at 7:05 am #1259480ChrisParticipantSorry no dice!
I added it to the functions.php, but it’s still sending ticket emails when I purchase a ticket.
March 24, 2017 at 8:05 pm #1259884CliffMemberThe woocommerce_email_enabled_wootickets filter from https://github.com/woocommerce/woocommerce/blob/master/includes/emails/class-wc-email.php#L357 might be worth a shot… but it looks like it might hard-code it to ‘yes’ on that line…
March 25, 2017 at 4:48 am #1259935ChrisParticipantSorry, I had added the filter to my normal theme, but forgot I was using 2016. Added
add_filter( ‘wootickets-tickets-email-enabled’, ‘__return_false’ ); to the correct functions file and it stopped the email from being sent by Event Tickets Plus.March 25, 2017 at 5:15 am #1259938ChrisParticipantThis has resolved my issue, until a proper fix can be rolled out in an update to ETP.
Thanks to all the Cliffs, Geoffs and Jeffs 🙂 -
AuthorPosts
- The topic ‘Can’t disable email triggers’ is closed to new replies.