Looking for Updated Code or Hooks to Custom Snippet

Home Forums Ticket Products Event Tickets Plus Looking for Updated Code or Hooks to Custom Snippet

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1045617
    tampaseo
    Participant

    We originally had the following code in our functions.php file that placed the “Add to Cart” button above the content on tickets.

    With the release of Event Ticket Plus and the depreciation of WooTickets, this code was giving us a 500 error once we began the migration process. Once commented out, the site works beautifully.


    /**************************************************************************/
    /* MOVE ADD TO CART ABOVE CONTENT */
    /* https://theeventscalendar.com/support/forums/topic/tickets-to-be-placed-on-top-of-single-event-page/#post-55687 */
    /* ******************************************************************* */
    /*remove_action('tribe_events_single_event_after_the_meta', array(TribeWooTickets::get_instance(), 'front_end_tickets_form'));
    add_action('tribe_events_single_event_after_the_content', array(Tri beWooTickets::get_instance(), 'front_end_tickets_form'));*/

    /**************************************************************************/

    Anyone want to help a brother out?

    #1045668
    Cliff
    Member

    Hi. Thanks for your detailed question.

    One way to protect your site from erring out like it did is to use function_exists. You may choose to do that for the future.

    Regardless, I believe you’re looking for this: https://theeventscalendar.com/knowledgebase/moving-the-ticket-form/

    Please let me know if you need anything else.

    #1045948
    tampaseo
    Participant

    Yep! That did the trick!!!

    It would like to see those snippets added as options for users in the plugin. I think that would make the most sense.

    #1045966
    Cliff
    Member

    Glad to hear that’s what you needed!

    Thanks for sharing your suggestion. With my experience how things work around here, I’d say it’s highly unlikely, but you can always see our list of snippets and list of tweak plugins.

    I hope this information helps in the future.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Looking for Updated Code or Hooks to Custom Snippet’ is closed to new replies.