Fleur

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Same issue #1119849
    Fleur
    Participant

    Thank you thank you thank you for your time, patience and assistance! All systems go!

    in reply to: Same issue #1117939
    Fleur
    Participant

    Here ya go.

    As a reminder, removing the code allowed me to get back in to edit ticket quantities, so hopefully we can now just get the ticket box up to the top of the page where it needs to be for us – we want people to see they can buy tickets right away on the page rather than having to figure it out by scrolling so far down. Hopefully we can do this without too much more trouble!!

    Thanks for your help.

    in reply to: Same issue #1116187
    Fleur
    Participant

    Frustration continuing, albeit with progress.

    I tried the updated ‘snippet’ but that broke my site completely. If there’s anything slightly off on the function.php file I can’t access anything. So it’s kinda reckless to just have people adding or removing lines of code in this file. Fortunately I had backed up the file before making those changes and dropped the backup back in.

    So, removing that entire snippet from my functions.php file allows me to go back in and edit my tickets, resolving this issue, somewhat. But, now the tickets section is back to the default location which is why I had put the snippet there in the first place – I need the tickets sections to be prominent near the top of the page for my customers. But the new updated version you linked me to does not seem to work – it breaks my site. Is there another updated version?

    Hope to get this solved soon!

    Derek

    in reply to: Same issue #1112303
    Fleur
    Participant

    Geoff,

    I cannot do such a testing procedure as I don’t have a staging/dev environment – I’m a one man show doing this site and am not a developer. Also, considering I’m paying for support it seems you’re asking me to do the gruntwork here to figure out what the problem is when the update is what caused the issue, and that doesn’t sit right.

    I do see that there are snippets in the functions.php file that move the ticket purchase box to a different spot on the page, and I’ll attach it below. Maybe it’s outdated and there’s a different or better way to be doing this now?

    Derek

    /*
    * Moves the front-end ticket purchase form, accepts WP action/hook and optional hook priority
    *
    * @param $ticket_location_action WP Action/hook to display the ticket form at
    * @param $ticket_location_priority Priority for the WP Action
    */
    function tribe_etp_move_tickets_purchase_form ( $ticket_location_action, $ticket_location_priority = 10 ) {
    $etp_classes = array(
    ‘Tribe__Tickets_Plus__Commerce__EDD__Main’,
    // ‘Tribe__Tickets_Plus__Commerce__Shopp__Main’, // As of ETP v4.0 Shopp will generate errors when referenced, if not active. Uncomment this line if you have Shopp Active
    ‘Tribe__Tickets_Plus__Commerce__WPEC__Main’,
    ‘Tribe__Tickets_Plus__Commerce__WooCommerce__Main’
    );

    foreach ( $etp_classes as $ticket_class ) {
    if ( ! class_exists( $ticket_class ) ) break;

    $form_display_function = array( $ticket_class::get_instance(), ‘front_end_tickets_form’ );

    if ( has_action ( ‘tribe_events_single_event_after_the_meta’, $form_display_function ) ) {
    remove_action( ‘tribe_events_single_event_after_the_meta’, $form_display_function, 5 );
    add_action( $ticket_location_action, $form_display_function, $ticket_location_priority );
    }
    }
    }

    /*
    * TO MOVE THE TICKET FORM UNCOMMENT ONE OF THE FOLLOWING BY REMOVING THE //
    */

    /*
    * Uncomment to Move Ticket Form Below Related Events
    */
    //tribe_etp_move_tickets_purchase_form( ‘tribe_events_single_event_after_the_meta’, 20 );

    /*
    * Uncomment to Move Ticket Form Below the Event Description
    */
    tribe_etp_move_tickets_purchase_form( ‘tribe_events_single_event_after_the_content’, 5 );

    /*
    * Uncomment to Move Ticket Form Above the Event Description
    */
    //tribe_etp_move_tickets_purchase_form( ‘tribe_events_single_event_before_the_content’ );

    in reply to: Same issue #1111613
    Fleur
    Participant

    This reply is private.

    in reply to: Prices still coming up as free in 3.9.1 #933815
    Fleur
    Participant

    I also am having the same ‘free’ problem. I tried putting that code in the php file (I am using the DMS Framework, and tried putting the code at either the beginning or end of the file) but it didn’t seem to work.. Please advise, I’ve been waiting on this fix for quite some time now..

Viewing 6 posts - 1 through 6 (of 6 total)