X
26777

Ticket #26777 Public

Would EventON Tickets have any impact on non-Ticket products in WooCommerce?

  • We noticed recently that running order reports lead to rather interesting results; all of our ticket purchases were showing up properly, however when running reports on our simple products, specifically by e-mail, they wouldn’t show a result.

    Oddly enough if I go into WC Orders and search by e-mail, I can find my Ticket customers and their orders, but if I enter a simple product buyers e-mail address, there isn’t a result, I have to actually use a filter by customer ID/search to find the order information.

    As a result, I disabled non-essential plugins and tested, same result.

    So it’s a long shot, would EventON Tickets have any impact in the way my simple ‘non-ticket’ products show a result? I know they have an order type of ‘None Ticket Order’, hence my inquiry.

    Thoughts?

    Thanks!

    BY: VPREATR - Feb 4,2017 AT 2:52AM - 3 years ago
    • By: infotainerdave Feb 4,2017 AT 4:20AM - Posted 3 years ago - #26780

       

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer!

      Please send us wp-admin access to your site as a private message for us to further assist your situation.

    • By: VPREATR Feb 5,2017 AT 12:51AM - Posted 3 years ago - #26826

      Hi Dave,

      Ashan should have the necessary login information, if you need to me to resend; let me know.

      As for the issue I’m seeing is that I can search my ‘Ticket’ orders by email address, however I have a few simple products that will not show a result when searching via e-mail, I can find the orders, I can view/edit the simple products, I can view basic sales reports on that information, alas it’s just odd that I can’t search for them via e-mail and it’s impacting a specialized report we need to run after each event venue.  In fact an event (i.e. Ticket) can be purchased, followed by a simple product purchase moments later and despite both transactions processing without issue, I can’t search the simple product order by customer e-mail, although I can search (and find) the ticket purchaser.

      Yes, I deactivated all non-essential plugins, cleared the cache and re-tested; I checked the database tables and so forth, no errors discovered.   The events and the simple products were created almost at the same time, so, again, it’s just odd and my only thought is that EventON Tickets might be impacting the way my simple products produce a result when searching via e-mail.

      If you have any questions, please let me know.

      Thanks!

       

       

    • By: VPREATR Feb 6,2017 AT 2:07AM - Posted 3 years ago - #26915

      We’re still unable to understand why we can search orders by email and only find ‘Ticket’ orders.  All simple product orders refuse to be presented during an e-mail search, is there a chance the EventON Ticket behaviors have created this anomaly?

      Thanks!

       

    • By: VPREATR Feb 6,2017 AT 10:42PM - Posted 3 years ago - #27045

      To add to the mystery, it’s not just e-mail searches, it’s any search involving simple products, such as e-mail or product description, etc.  The searches work when the product is a ticket, that’s the really weird part.

       

    • By: VPREATR Feb 6,2017 AT 11:15PM - Posted 3 years ago - #27047

      Found the problem and it’s within eventon-tickets/includes/admin/class-admin.php, Line(s) 515-519

      515: if( is_search() && isset( $_GET[‘post_type’] ) && $_GET[‘post_type’]==’shop_order’){
      516:                $query->set( ‘meta_key’, ‘_order_type’ );
      517:                $query->set( ‘meta_value’, ‘evotix’ );
      518:
      519:            }

      The above is causing our search issues for any products that are not tickets.

      To allow the simple product search functions to work, the following must be done:

      /*if( is_search() && isset( $_GET[‘post_type’] ) && $_GET[‘post_type’]==’shop_order’){
      $query->set( ‘meta_key’, ‘_order_type’ );
      $query->set( ‘meta_value’, ‘evotix’ );
      }*/

      and I’m concerned how this will impact other parts of the ticket plugin? If at best, removing that part would break the ‘All Events Tickets -> Search Event Tickets’ function.

      Please advise.

    • By: VPREATR Feb 6,2017 AT 11:49PM - Posted 3 years ago - #27049

      OK, so actually the ‘Events – > All Events Tickets’ search box doesn’t work with or without the code commented out; that should probably be checked into as well.

      That said, if I comment out the code in question to allow searches of simple non-ticket products, the ‘WooCommerce -> Ticket Orders’ will show ALL orders, not just tickets.   That’s the trade off, gain search ability overall, but lose a specific result.

    • By: VPREATR Feb 8,2017 AT 1:47PM - Posted 3 years ago - #27306

      Any suggestion on how to remedy the problem?

    • By: Ashan Perera Feb 8,2017 AT 7:05PM - Posted 3 years ago - #27332

      I have this ticket open but still dreading reading all this haha so gimme some time 🙂

    • By: VPREATR Feb 9,2017 AT 12:08AM - Posted 3 years ago - #27352

      Heh; You mean this one: http://helpdesk.ashanjay.com/ticket/ticket-holder-names-not-being-properly-presented-on-the-tickets-unique-tickets-not-being-created-i-e-a-b/

       

      Joking aside, I can re-write the requests in a shorter version. Just let me know.

      Thanks!

       

       

    • By: VPREATR Feb 14,2017 AT 1:50AM - Posted 3 years ago - #27885

      Any updates?

    • By: Ashan Perera Feb 15,2017 AT 4:22PM - Posted 3 years ago - #28200

      Capture

      Mark this code should allow searching i will look into whats going on with all event tickets search not working.

    • By: Ashan Perera Feb 15,2017 AT 4:24PM - Posted 3 years ago - #28202

      Actually just tested that and it works fine. But when you search you have to enter the ticket ID the names or emails will not yield any results. cheers!

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON