Bypass Event Page

Home Forums Ticket Products Event Tickets Plus Bypass Event Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #295471
    John Mitchell
    Participant

    Hi guys

    I am trying to get my visitors to click a button on the home page and go to the cart page (with 1 ticket added) without having to go to the ‘event page’. I have been able to do this in the past when I only have 1 event running but now I am running 5 events. Is there any way of bypassing the event page?

    John

    #309598
    Casey
    Participant

    John,
    Thanks for getting in touch! I’ve never seen anything like this done before, but each ticket is created as a product in WooCommerce, so theoretically you should be able to do this programmatically using some of the built-in WooCommerce functions. After searching the WooCommerce docs, I stumbled upon this code snippet: http://docs.woothemes.com/document/automatically-add-product-to-cart-on-visit/

    You’ll probably need to modify that snippet to support multiple products, but hopefully that gets you started in the right direction. Good luck and thanks! 🙂

    -Casey-

    #315046
    John Mitchell
    Participant

    Great thanks Casey. I appreciate it

    #322268
    Casey
    Participant

    Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.

    By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/lo

    Thanks in advance. 🙂

    Cheers,
    Casey

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Bypass Event Page’ is closed to new replies.