Home › Forums › Ticket Products › Event Tickets Plus › Events showing on shop page after recent update.
- This topic has 5 replies, 2 voices, and was last updated 8 years, 10 months ago by
Brendan Sands.
-
AuthorPosts
-
May 9, 2017 at 9:47 am #1281036
Brendan Sands
ParticipantI 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.
May 9, 2017 at 9:07 pm #1281414Geoff B.
MemberGood 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.
May 10, 2017 at 8:46 am #1281682Brendan Sands
ParticipantHi @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.
May 10, 2017 at 9:20 am #1281704Geoff B.
MemberGood 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.
June 1, 2017 at 9:35 am #1291856Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Events showing on shop page after recent update.’ is closed to new replies.
