In the settings there is no option to ad tickets to WooCommerce product pages

Home Forums Ticket Products Event Tickets Plus In the settings there is no option to ad tickets to WooCommerce product pages

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1118879
    Martin
    Participant

    Hi there,

    I just obtained Event Tickets Plus. I actually assumed that I could sell tickets through native Woocommerce product pages. In the Knowledgeable – settings overview it reads:

    “Tickets can be used on any Custom Post Type. You’ll see Post and Page as two of your options. Depending on what other plugins you have active, you may also see Event and/or Product.”

    It seems like I am missing something, I can not choose “Product”. What am I missing?

    I was actually quite keen to have my first Ticket in the shop, but I would prefer not to go through a page or a list, product would be just the right thing for me…

    Please help!

    Best regards

    Martin

    #1119031
    Brook
    Participant

    Howdy Martin,

    Good question. The tickets themselves actually are part of the products post type, hence why you cannot attach to them.

    However that might make things somewhat easy for you. All tickets are already within the WooCommerce shopping cart, but they all have their visibilty set to hidden in Woo. You can change this by bulk editing them from the products page. Further you can make it so that new tickets default to visible instead of hidden by adding this snippet to your site, such as in your functions.php file:

    https://gist.github.com/jesseeproductions/5768685acc4cd48cdd81

    Does that do what you wanted? Or were you hoping for something different? Were you hoping to have a seperate product page for each ticket or do you like how it links to the events when you select a ticket in Woo?

    Cheers!

    – Brook

    #1119042
    Martin
    Participant

    Hi Brook.

    Thank you for your reply!Yes – this helps. Actually I found the info also in another thread (different topic though). It was just a little confusing, that within the settings there should have been the option to activate it on product pages….

    But actually the way it works is really good for what I want to accomplish.

    I do have another issue though. Maybe I should start a new thread? I saw it in another thread as well, but this other thread is closed and I wonder, if you have already a solution. This is: autocomplete orders.

    I would love Woocommerce (or Event Tickets Plus) to send out the tickets as soon, as the purchase is completed. I checked it with free tickets, there would be no need to not send them, but I still would have to complete the order manually. Probably the same with paypal payments…

    Do you have any solution without coding?

    Thanks again for your help,

    blessings!

    #1119043
    Martin
    Participant

    Little update:

    in the other thread there was a bit of code provided (find it below). But this will not work, since it sends tickets out regardless whether these orders are completed or not …

    /**
    * Auto Complete all WooCommerce orders.
    */
    add_action( ‘woocommerce_thankyou’, ‘custom_woocommerce_auto_complete_order’ );
    function custom_woocommerce_auto_complete_order( $order_id ) {
    if ( ! $order_id ) {
    return;
    }
    $order = wc_get_order( $order_id );
    $order->update_status( ‘completed’ );
    }

    #1119084
    Martin
    Participant

    I just found that when I set a ticket to be a digital & downloadable products, then the order will be autocompleted. Is that the way it is supposed to be?

    #1119121
    Brook
    Participant

    Howdy Martin,

    Excellent. I could see how that would not be intuitive. I appreciate the feedback on this.

    It is certainly possible to automatically complete those orders. This was actually a common enough request that it graduated from being a snippet to an option in our plugin. If you go to WP-Admin > Events > Settings > Tickets and check the box “Try to set the status of new ticket orders to “complete” automatically” it should do what you want. Does it?

    Cheers!

    – Brook

    #1125134
    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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘In the settings there is no option to ad tickets to WooCommerce product pages’ is closed to new replies.