Events showing on shop page after recent update.

Home Forums Ticket Products Event Tickets Plus Events showing on shop page after recent update.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1281036
    Brendan Sands
    Participant

    I read there was going to be a fix for events by defualt not showing on the shop page for woocommerce. After the recent update our events are showing up on the shop page which was not previously. I suspect is has to do with the visibility of the product and the code

    // Ensure visibility
    if ( empty( $product ) || ! $product->is_visible() ) {
    	return;
    }

    By default should the shop page be listing or not listing events? And how can we revert this back to “not” showing any events on the shop query page? Thanks, look forward to hearing from you. Also note: I have the site local (the updated version) and the site info is for my local environment.

    #1281414
    Geoff B.
    Member

    Good evening Brendan and welcome back!

    Thank you for reaching out to us.

    We are sorry to hear that the glitch still seems present on your site. Yikes!
    I would love to help you with this topic.

    By default should the shop page be listing or not listing events?

    That is absolutely correct. I will get back to you shortly with our testing results.

    For now, as we investigate this further, you could apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/GeoffEW/dc504166ac629c226fa9b1f8988bf082

    More specifically, the edited version.

    Thank you for your understanding.

    Best regards,

    Geoff B.

    #1281682
    Brendan Sands
    Participant

    Hi @Geoff B.,

    Thanks for the response, I did make that update to functions file but it did not resolve the issue. I’ve disabled all of the plugins on the site as well to see if there were any conflicts. Once I change themes from the custom theme to 2016, it appears your software was interacting correctly. Thank you for you help but I Think we can close this ticket for now as we investigate our custom changes that resulted in this glitch.

    B.

    #1281704
    Geoff B.
    Member

    Good afternoon Brendan,

    I am super stoked that you found the cause of the issue.

    So, in all likelihood, this is caused by some template customization that require updating.
    I would recommend taking a look at any reference to “tribe” in the functions.php and the ones found under /tribe-events/

     

    You are welcome back in our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

    #1291856
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Events showing on shop page after recent update.’ is closed to new replies.