Home › Forums › Ticket Products › Event Tickets Plus › Tickets Plus Hijjack Url
- This topic has 5 replies, 3 voices, and was last updated 9 years, 7 months ago by
Scott Nielsen.
-
AuthorPosts
-
September 25, 2016 at 9:39 pm #1168585
Scott Nielsen
ParticipantHi,
As per Andra’s suggestion, I’m posting the question I previously posted here:
in this forum. Here’s my original question:
“I’m working on a client website who uses event calendar, event tickets and event tickets plus and to cut a long story short, I’m trying to setup an event page where the ticket “buy” option at the bottom links through to the product page (not the event page). I’ve followed the advice here:but the event url is still hijacked. Is that code still valid for the latest releases of event ticket and event ticket plus given it still references the old name (wooTix)?
To see what I mean, you can visit this page:
http://dev.apata.com.au/event/test-event/
Thanks,
Stacey”Andras had a look and suggested that perhaps a ticket hadn’t been added to the system but I can confirm that it indeed has. You can tell that it has because right at the bottom of the page shown on the above link it shows a “Table of 10 Free! Buy!” line at the bottom. The code to generate is the one linked to from the article mentioned here:
Thanks!
StaceySeptember 27, 2016 at 1:56 am #1169088Andras
KeymasterHello again Stacey,
It looks like I’m going to help you out with this. 🙂 Thanks for posting it as a new topic, much appreciated! It helps us keep the support forums a bit more clean and organized.
I see that your Events Calendar plugins are a bit outdated. I would like to ask you to run an update on them, and possibly on the other plugins as well.
I have tested the code you reference in your post on a local test site and for me all works fine, also with Divi. So we will need to dig a bit deeper to find out the source of the problem.
As a first, it would be great if you could run a conflict test. For this please deactivate all the plugins except for the Modern Tribe ones and WooCommerce (as these are needed for the functionality), remove / disable any custom code in your functions.php file (except for the one needed for this customization) and check if the issue still exists. This can help us eliminate any issues with other plugins.
If the problem still exists, then I would like to ask you to share with me the following things in some form:
- The content of your functions.php file (you can use bitbucket or gist or a similar service)
- The content of your wp-content\themes\{your-theme}\tribe-events\wootickets\tickets.php file
- A screenshot of your ticket settings which is set up at the event
- A screenshot of your ticket settings which is the WooCommerce product
Thanks and cheers,
AndrasSeptember 27, 2016 at 2:12 am #1169093Andras
KeymasterHey Stacy,
By chance I now discovered something. Check if you have properly pasted this code to your functions.php file.
https://gist.github.com/theeventscalendar/180aac35016f667d5d51
That is needed so that the page redirects to the WooCommerce ticket product page.
Cheers,
AndrasSeptember 28, 2016 at 10:50 pm #1170224Scott Nielsen
ParticipantHi Andras,
Thanks for getting back to me. Found the issue. The functions.php file wasn’t labelled correctly – it was missing the “s” for some reason and consequently the file wasn’t reading and the code never executed.
Was scratching my head there for a bit as I tried everything you asked and the problem persisted. Was about to send you the contents of the file via gist when I realised the file wasn’t named correctly. Can’t believe I missed it though it was setup by someone else.
Anyway, thank you for all your help with this!
Stacey-
This reply was modified 9 years, 7 months ago by
Scott Nielsen. Reason: typoe
September 29, 2016 at 3:48 am #1170277Andras
KeymasterHey Stacy,
You’re welcome and I am glad to see you were able to figure it out.
I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.
Cheers,
AndrasPS: If you like our plugin, we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendarPS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!
-
AuthorPosts
- The topic ‘Tickets Plus Hijjack Url’ is closed to new replies.
