Ticket Problems with WooCommerce for Membership-related tickets

Home Forums Ticket Products Event Tickets Plus Ticket Problems with WooCommerce for Membership-related tickets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1050838
    Chris
    Participant

    Hi there.

    My configuration is that I have the following installed – WooCommerce, Subscriptions and Memberships. Today I added Event Ticket Plus.

    What I wanted was to create an event ticket that could be purchased. The real point of my demonstration was to show off the new version of this ticketing solution, while also contextualizing it to the kind of event that is an association event where members are the ones buying the ticket.

    Initially, in my setup, I said in Settings > Tickets that tickets could be on Products (that custom post type that is registered via WooCommerce). The result was that when I went to create an new simple product in WooCommerce, the ticket metabox appeared and I could fill it in, but when I saved the simple product, it not only disappeared for a second, but on the simple product page, there was no way to purchase a ticket.

    Second try. I went to Settings > Tickets and added the “Page” post type. Then I went to add an event to a new page. This time the metabox not only worked, but it saved and displayed the right data in the metabox after saving. It also displayed fine on the page. So it clearly works when I don’t use WooCommerce products.

    But then, in a secondary metabox on that page, I put the restriction on the page to only be seen by those who are logged in via a particular membership level. This is because the whole point of this exercise is to only let members by these tickets.

    What I found was that the display of the purchasing interface didn’t respect the content restrictions of the WooCommerce Memberships plugin (from SkyVerge).

    So in short, I can’t create the ticket inside WooCommerce as a product. That means I can’t apply the discounts that might be available based on membership they’re in.

    And I can’t create the ticket outside of WooCommerce and protect the page via the Membership plugin, which would be a workaround (meaning I’d have to create three pages for the three membership tiers and put three prices on each one and track attendance on each of those pages to get the total).

    #1051194
    Josh
    Participant

    Hey Chris,

    Thanks for reaching out to us! Hope you had a great holiday. We would like to pre-apologize for any delays in the normal support response time here as our team continues to get caught up after the holidays.

    I did some tests based on the steps that you’ve provided and I can verify that the tickets don’t appear to be functioning properly when used with the “products” post type for WooCommerce. I’ve logged an internal ticket for that issue and you can be notified here as we make progress on addressing that issue.

    To the main issue of the tickets displaying on a page that has been restricted ( to verify, this is the WooCommerce plugin I used to test with. Let me know if it isn’t the correct one), it looks like our form is displaying outside of the range that is being managed by that plugin. To address this, you can add the following snippet to your theme’s functions.php file and it will move the form to where it can be blocked by the membership restriction.

    
    if( class_exists( 'Tribe__Tickets_Plus__Commerce__WooCommerce__Main' ) ) {
    remove_filter( 'the_content', array( Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance(), 'front_end_tickets_form_in_content' ) );
    add_filter( 'the_content', array( Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance(), 'front_end_tickets_form_in_content' ), 0 );
    }
    

    Let me know if this helps of  if you have any further questions!

    Thanks!

    #1076498
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

    #1077158
    Geoff
    Member

    Hey Chris!

    Just wanted to jump in here and let you know that we released Event Tickets Plus 4.0.5 last night and it included a fix for this issue. Please check your WordPress updates, or you can also grab the latest copy by logging into this site and heading to My Account > Downloads.

    Thanks for your patience while we worked on this! Please feel free to open a new thread if you continue to experience the same issue or have any other questions that pop up during updating and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Ticket Problems with WooCommerce for Membership-related tickets’ is closed to new replies.