Posted: February 9, 2019 at 11:40 am
|
Hi There I have just set up a new site with EE4 and have purchased the Everything license however i have a big problem I have used the embed ticket selector iframe code from the event page and added it to a custom template page. When you click the register (I have changed this to Book Now) button it opens a new browser tab i cannot figure out why this is happening. It is working on the default page but not the custom page. I have made the event live today and im having customers tell me on iphone they are unable to book as the new tab is not working Id rather not share the URLs or details here is there any way i can contact you to solve this problem please? Thanks Dean |
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Hi there, May I ask why you are using the embed code rather than the ticket selector shortcode directly? The reason the above is opening in a new window is the embed code is designed to be used on another site other than where your events are hosted. Rather than using the embed code, switch it out for the ticket selector:
Where xxxx is the id of the event. Do you not want EE to automatically inject the event details (including the ticket selector) for you? |
|
|
Hi Tony What a stupid mistake haha thanks its working. I have a couple more questions i cant find the answers to in the knowledge base and forums i will get back to you with those as soon as i have time to formulate the questions. Thanks! |
Sure, any questions/issues just let us know. Something to note is that EE can automatically inject the event details into the page for you, it stops doing so when you use a custom template file but it can be enabled again via a filter. It depends on what you are doing with your template is that useful or not but rather having manually add all the details into the template EE manages it for you. |
|
|
Hi Tony That sounds great, I would like to use the custom templates on the checkout process so i can use the theme CSS and add more content if needed can you give me an idea how i can achieve this please? |
|
Hi I am getting feedback from customers that the ticket selector is still not working on iPhones or safari when they press the “book now” button the page just refreshes instead of going to the checkout steps. Please help, the credials I gave you are still in place. |
Hi, I checked with both a mac using safari and an iOS device (also using Safari) and had no issues with the book now button. In each case it went to the checkout steps. Here’s a screenshot: https://slack-files.com/T02SY781D-FG4GTDHTN-32f8134b1f Do you have any additional steps to replicate the issue? |
|
|
Hi Josh Thanks i’m not going mad then! I cant replicate the problem either could the users phones be using the old version in cache? One said he tried many times and the page refreshed every time he pressed the book Now button on an iphone 10x. I will see if i can get more details from the other users. |
Browser cache could be an issue if they’ve visited the same page before. In which case they can clear their browser’s cache. |
|
|
Thanks Josh I just got a message and he has managed to get it working after clearing the cache. I will inform the others and I think we can call this solved thanks! One last question, is there a way to display the cart pages within the custom templates, I understand there are no shortcodes for this but is there any way to override the cart pages by adding them to wordpress pages or my child theme? |
The cart page is actually dynamically generated by the [ESPRESSO_CHECKOUT] shortcode. So if you want to add content before or after the cart, you could make edits to the page that has that shortcode. Please note anything you add to that page will display on every step of the single page checkout. |
|
|
Of course it is! Great thanks. |
The support post ‘Ticket selector register button opening in new tab and not fuctioning in Safari’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.