Posted: November 29, 2018 at 3:56 am
I have some questions: When adding an event to your cart, you see a button ‘return to events list’. When clicking on this button, you go to the archives page. I would like to change the link behind the button, so that the link goes back to a page with a custom overview of courses. When signing up for an event, the client will not have the opportunity to pay online for these events. We will later get an email with specifications concerning the payment (different prices, depending on a lot of specifications). How or what add-on or settings do I use to accomplish this? Thanks in advanced |
|
This reply has been marked as private. | |
The sidebar output is controlled by your theme, assuming you created the The link you included that does contain a sidebar is a page so it seems your theme is set to display a sidebar on pages, but not posts?
For that you can use this snippet: https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40 Change the URL in the quotes on line 2 to whatever URL you prefer and then add that snippet to a custom functions plugin, we have documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/
EE doesn’t allow you to change the price of a registration after it has been made, so it depends how you are expecting this to work. You can ‘move’ registrations onto new tickets using the attendee mover which will change the price, but that will need to be manually for each single registration. If the price is already known, you can create a ticket on the event and set the ‘Default registration status’ for that event to ‘Not Approved’. When the user registers onto the ticket they enter their details and then see a message stating the registration is awaiting Approval. You, the admin, can then change the status to ‘Pending Payment’ and trigger an email for them to pay at a later date. Will that work for you? |
|
Thanks for your clear answers.
|
|
No other suggestions, because the code does work if it’s properly added to the site. May I ask exactly what code did you add, and where? |
|
This reply has been marked as private. | |
May I ask did you put your plugin file into the wp-content/plugins directory? |
|
I sure did, Josh. |
|
at the top level of that folder? If you did, then if you go to your site’s WP > Plugins page, your plugin should be listed there along with a link to activate. If it’s not listed there, maybe you can doublecheck your FTP settings to make sure you’re uploading code to the intended site. |
|
Hi Josh, I did exactly as you told me, but it didn’t work. So I deleted the map with the code from the plugins on the ftp-server. I then made a zip-file from the map I deleted earlier and upload the code as a new plugin in the back-end of the website. That worked! |
|
The support post ‘adding widget single-event.php + change url 'return to events list' + payments’ 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.