Posted: October 2, 2015 at 1:57 pm
|
Hello Instead of view receipt/invoice, it opens same event. |
Hey there, I just tested this out on EE 4.8.13.p and WP User Integration 2.0.6.p. I did not get the same results as you did. Try to rule out any plugin conflicts. Deactivate all non Event Espresso plugins and test to see if the issue is still occurring. If it is not, then we know it is a problem with another plugin. You can then find out which plugin it is by reactivating each plugin individually and testing to see if the problem starts happening after the activation. When it occurs after activating a plugin, then we know this is the culprit. |
|
|
I have deactivated all plugins except EE, EE WP user and EE UTF font fix. Problem still presist. I have created a user name for you on iai.lv page when you register go to your profile and press “mani rezervejumi” to see your reservations
|
Hi, That link is actually for the Receipt rather than the Invoice. It looks like you have the receipt messenger de-activated, so the receipt url is an empty string which means the link will then link to the same page. I have created a ticket to remove the Receipt link when the receipt messenger is de-activated. To display the invoice url within that section you will need to edit the template, do you have FTP access to the site? |
|
|
i know it’s disabled. i don;t need it. I need only invoice to show up instead of receipt. Yes, i have FTP |
You’ll need to copy the template /eea-wp-user-integration/templates/content-espresso_my_events-event_section_tickets.template.php Within that file you will find this code:
Change that to:
To use the invoice in place of the receipt link. Then place that template within /wp-content/uploads/espresso/templates/ to override the default template. |
|
|
Fantastic!! Work like a charm!! I hope it won’t be broken again after EE update? |
Copying the template to /wp-content/uploads/espresso/templates/ means that the EE4 User Integration Add-on will use that template in place of the default one. This means it should not break on updates, however if we add features to that template your install will continue to use the version you have within that templates directory so if you want the latest features you’ll need to pull the template and apply the same changes above to the newer version of the template. |
|
|
Ok. Thanks. You can evaluate to have both receipt and invoice showing up to avoid any future manipulations with templates. But it’s up to you. You can mark this one as solved. |
We’ve tried to keep the output as minimal as possible as to not overwhelm the end user. The receipt has the ‘switcher’ button that allows users to switch between invoice and receipt, although obviously that doesn’t work when not using the receipt 🙂 I’ve created a feature request ticket to include both the Receipt and Invoice within the output. |
|
The latest update to the WP Users add-on includes both the receipt and invoice (if the messengers are active). If you remove your custom template after you do the update you’ll get that change. |
|
|
excellent. That works. You can close this topic. |
The support post ‘View receipt button in user's profile does not work’ 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.