Posted: August 16, 2019 at 3:02 pm
|
Hello. We’ve deployed some new features on our site involving Multiple Event Registration Add-On. The MER add-on is working fine but in the users cart in the sidebar as they add events a large amount of errant code is displaying. Can you please take a deeper look and see if you can determine the root cause and remove? |
Hi, We received your priority support token. While we generally do not do code reviews on code not developed by Event Espresso staff, we can take a look at it and give you some suggestions (within the allowed time). First, where is the code for these new features? Also, can you outline the steps to replicate the error? The reason I ask is because I’m not seeing any large amounts of errant code displaying in the sidebar cart widget. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Hi Nathan, Screenshots can be uploaded to your site’s media gallery, then you post a link here. Or you can use a service like https://snag.gy/ I’ll take a guess though. Is the “followed by 30 or so lines of code” you’re describing actually the name of the ticket that they’ve added to the cart? The Multi Event Registration add-on does list the name of each ticket added to the cart, that could be removed with some CSS if that’s what you’re going for. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Ok I see now, the code is the content from the events in the cart. I’m not sure how that’s getting injected into the subtotal line, and since the FTP connection times out, I’m not going to be able to add any debug code in order to investigate further. What I’ve done for now is add some CSS to hide the cart’s subtotal lines, which hides all the event description’s shortcodes getting spit out into the cart widget. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Hi Nathan, It says Authentication failed when I try to FTP in with the credentials you sent. Please advise. |
|
|
This reply has been marked as private. |
No impact whatsoever. The temporary fix would not cause those elements to disappear. The following CSS was added to hide the extra content being added to the mini cart widget list:
It’s simply hiding the totals from displaying within the mini cart list. |
|
Hi again, The above CSS has been removed as it’s no longer needed. The latest version of the Multi Event Registration add-on (2.0.17) removes any possibility of the event content getting appended to the mini cart widget’s list. Your site has been updated to have the latest version of Multi Event Registration add-on. |
|
|
Thank you Josh. Appreciate the Support Teams quick attention and resolution to the issue. |
The support post ‘Continuing issue with Errant Programming Code Appearing In Event Cart’ 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.