Geoff

Forum Replies Created

Viewing 15 posts - 7,111 through 7,125 (of 10,150 total)
  • Author
    Posts
  • Geoff
    Member

    Hi mpisner, just wanted to check in and see if you had any other questions here about integrating WooCommerce Tickets with your site–please let me know. 🙂

    Cheers,
    Geoff

    in reply to: mini calendar widget link not working #968152
    Geoff
    Member

    Hey Pasquale! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to start a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

    in reply to: Cannot add ticket information to the event #968151
    Geoff
    Member

    Hey Sravan! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to start a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

    Geoff
    Member

    Hey Tiffany! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to start a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

    in reply to: New Event was considered as previously imported #968149
    Geoff
    Member

    Hey veruska! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to start a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

    in reply to: List View & Next Month Button #968142
    Geoff
    Member

    Hi Akesh, thanks for following up!

    Nice job deactivating plugin–that’s a good start for sure. It’s possible that your theme is what is serving the Google Maps API the additional time instead of a plugin. Will you please try activating a default WordPress theme, like Twenty Fifteen, to see if the issue continues there as well? How about when Twenty Fifteen is activated and all other plugins are disabled?

    You could test this in a subdirectory of your server to avoid any disruption with your live site. Many hosting companies offer a single-click feature to install a fresh copy of WordPress in a new subdirectory that would be a good testing grounds for us here.

    I know that the Google Maps thing sounds peripheral to the issues you’re describing with List View and the Next Month buttons, but both of those rely on Javascript which can be affected by other errors on the page, such as the API conflict. I’m hoping that clearing that up will give us the breakthrough we need.

    If we can determine that the second Google API instance is coming from the theme, then we know that the theme author will need to help provide a solution that prevents the API from being served on calendar pages.

    Cheers!
    Geoff

    Geoff
    Member

    Sweet, thanks Jon! Nice work on this and thanks for your patience throughout. I’m so glad everything is worked out.

    A Knowledgebase article on price ranges is a good idea and I’ll definitely bring it up with the team–I can definitely see how that would be helpful rather than having to dig through the forums.

    Thanks again for reaching out! Feel free to hit us bak up if any other questions pop up and we’d be happy to help. 🙂

    Cheers,
    Geoff

    Geoff
    Member

    Hi Jon,

    Sorry for the frustration here but I definitely appreciate your patience as well.

    Let’s try to flesh those steps out a little more:

    1) You already have a tribe-events folder in your theme. Add a copy of single-event.php to that folder, which is located at /plugins/the-events-calendar/views/single-event.php

    2) Change this line:

    <span class="tribe-events-cost"><?php echo tribe_get_cost( null, true ) ?></span>

    …to this:

    <span class="tribe-events-cost"><?php echo esc_html( get_tribe_woocommerce_tickets_price_range() ); ?></span>

    2) You already have a file in your theme at tribe-events/list/single-event.php. Change this line:

    <span><?php echo tribe_get_cost( null, true ); ?></span>

    …to this:

    <span class="tribe-events-cost"><?php echo esc_html( get_tribe_woocommerce_tickets_price_range() ); ?></span>

    3) Add this snippet to your theme’s functions.php file.

    [php]
    function get_tribe_woocommerce_tickets_price_range() {
    $event_id = get_the_ID();
    $ticket_prices_array = $ticket_range = ”;

    $args = array(
    ‘post_type’ => ‘product’,
    ‘meta_key’ => ‘_tribe_wooticket_for_event’,
    ‘meta_value’ => $event_id
    );

    $ticket_prices = new WP_Query( $args );

    if ( $ticket_prices->have_posts() ) :

    while ( $ticket_prices->have_posts() ) : $ticket_prices->the_post();

    $product_id = get_the_ID();

    $ticket_prices_array[] = get_post_meta( $product_id, ‘_price’, true );

    endwhile;

    endif;

    wp_reset_postdata();

    $ticket_prices_array_count = count($ticket_prices_array);

    $minprice = min($ticket_prices_array);
    $maxprice = max($ticket_prices_array);

    if ( $ticket_prices_array_count ) {

    if ( $minprice != 0 && is_numeric( str_replace( array( ‘,’, ‘.’ ), ”, $minprice ) ) ) {

    $ticket_range .= tribe_format_currency( $minprice );

    } elseif ( $minprice == 0 ) {

    $ticket_range .= __( "Free", ‘tribe-events-calendar’ );

    }

    if ( $ticket_prices_array_count > 1 && $minprice != $maxprice && is_numeric( str_replace( array( ‘,’, ‘.’ ), ”, $maxprice ) ) ) {
    $ticket_range .= __( " to ", ‘tribe-events-calendar’ ) . tribe_format_currency( $maxprice );
    }

    }

    return $ticket_range;

    }
    [/php]

    I was able to get the full price range when following these steps. Let me know if you’re still hitting any issues here and I’d be happy to help.

    Cheers,
    Geoff

    in reply to: Events in month view display same title #967953
    Geoff
    Member

    Hey there, Bo! I see this is your first post with us, so welcome to the forums. 🙂

    Sorry for the trouble here. I see exactly what you mean–all the event titles are indeed the wame in Month View.

    First off, will you please update The Events Calendar PRO to 3.9.3? I see you’re using the latest version of The Events Calendar, but PRO hasn’t been updated yet and that could certainly lead to unexpected issues like this.

    I also noticed that the following error comes up when inspecting the site:

    You have included the Google Maps API multiple times on this page. This may cause unexpected errors. main.js:60

    It’s possible that your theme or another installed plugin is calling the Google Maps API an additional time when The Events Calendar already calls it for the calendar’s map features, which can trigger errors like this as well. I would recommend following these troubleshooting steps to identify where that additional API call is coming from and removing it from there.

    Hopefully one or both of these routes will solve the original issue at hand here–please let me know.

    Cheers!
    Geoff

    in reply to: List View & Next Month Button #967950
    Geoff
    Member

    Hello Akesh,

    Thanks for getting in touch and welcome to the forums. Sorry for the trouble here with List View, but I cab help out. 🙂

    First off, I notice that I get this error when inspecting the the:

    You have included the Google Maps API multiple times on this page. This may cause unexpected errors. main.js:60

    Is it possible for you to resolve that error? It’s possible that your theme or another plugin is adding the Google Maps API there when The Events Calendar already calls on it for the calendar’s mapping functionality.

    Let’s start there and see what we find.

    Cheers!
    Geoff

    in reply to: Make the calendar buddypress compatible #967858
    Geoff
    Member

    Hey Varun! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to open a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

    in reply to: How To Embed Calendar on a Page #967857
    Geoff
    Member

    Hey Stacey–this thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to open a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

    in reply to: Error on Google Calendar export mobile #967856
    Geoff
    Member

    Hey there–this thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to open a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

    in reply to: Pending Community Events are Blank #967853
    Geoff
    Member

    Hey Michael–This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to open a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

    in reply to: upcomming events link not working #967852
    Geoff
    Member

    Hey Merijn! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to open a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 15 posts - 7,111 through 7,125 (of 10,150 total)