Posted: June 15, 2015 at 12:09 pm
|
On my site when you add an event to the cart it shows up 4 times in the cart, every item that is added. I am current on all updates for Event Espresso and all my plug-ins. I saw something on the Forum about it but it was 2 years ago and the solution was emailed to the person by you all so I’m not sure how to fix this. |
Hi Stacey, Is this EE3 or EE4? |
|
|
Version 3.1.37.4.P |
Hi Stacey, could you provide a link to any event on your site so we can take a look? Also, have you tried deactivating other plugins to rule out a conflict? — |
|
|
Here is a link to a page with some of the events listed, just add a few to the cart and then when you view the cart you will see. http://gbump.com/goosebump-upcoming-events/exhibitor-opportunities/ Everything was working last fall when I first set it up and I have only added 2 plug-ins since then which I tried disabling and that didn’t help. |
|
Hi, Via FTP or your hosting control panel’s file manager, can you rename the templates folder found in wp-content/uploads/espresso/templates e.g. wp-content/uploads/espresso/templates_OLD This will disable the two template files in that folder. Then clear any cache and try the cart again. Also, are you using Volume Discounts addon? Have you tried disabling ALL plugins except EE and Multiple Event Registration? |
|
I am using volume discounts addon, I have tried disabling all plugins that are not EE plug-ins. I made the change to templates, still no luck. Are you wanting me to try disabling all EE plug-ins/addons except multiple events? I have not tried that yet. One think I noticed too is that the discount only works in the last of each of the duplicate listings. I’m not sure if that tells you anything??? |
|
Hi, Yes, please disable the EE addons (except Multiple Event Registration and of course EE itself) just as a test. Are the addon plugins all the latest versions? |
|
OK, when I disabled Volume Discounts addon it eliminated the duplication in the cart, however when I get to the Payment Overview page it is duplicating in there but apparently not all the events. I’m thinking that maybe in testing it somehow stored the events in the cart but I’m not seeing them because I asked someone else to try it on their computer and it didn’t do it. But they had a different problem, when they entered the promotional code “3 Events” it applied the discount but when they went to pay in paypal, it lost the discount. It doesn’t do that for me in Safari they are on chrome so I don’t know if that would make a difference. The other thing that has happened in our event listing, we have several price options that are not showing up, it only shows one price. Once you add them to your cart you can see the other prices but when someone is shopping most are showing the highest price so that will deter them. It used to show me all the prices. |
|
Hi, Go to http://www.yoursite.com/registration-cancelled/ (obviously change yoursite.com to your actual domain), and this will clear your session and wipe the cart clean. Are all of your Event Espresso plugins up to date? Please compare the version numbers to the ones on your account page to be sure. Can you provide a link to your event list so I can test this promotional code issue? Regarding the prices, go to the WP Dashboard, then Event Espresso > Template Settings > Change the “Display prices in the event list as:” setting to either Price Range (e..g $10 – $100) or Price List (list of all the prices). |
|
All EE plugins are up to date, did the registration cancelled step and I’m still getting the events duplicated when I get to the payment overview. My friend who tested it on her computer is still not getting the discount to carry over. I tested it on my iPad, a mac with safari and a pc computer with chrome and it does the same duplication issue on all of them but I get the discount to carry over to paypal. It’s weird. Price issues is fixed though, thanks. Here is the url for the event list: http://gbump.com/goosebump-upcoming-events/exhibitor-opportunities/ Any help is appreciated, next week I’m going to have a lot of traffic with people trying to purchase this stuff, I have to get it fixed. |
Hi Stacey, there is currently an issue with your caching plugin: WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! Could you please reactivate WP Super Cache, then enable the cache and save? Then disable caching and deactivate the plugin. These steps will refresh the cache and then turn it back off. If you are wanting to use WP Super Cache, then please ensure that your Event Espresso pages are excluded from the cache. You can find them by going to Event Espresso –> General Settings and you’ll want to use the slugs for the Event Espresso pages for your site. For example, one of your slugs would be: /event-oppurtunities/ — |
|
|
I have never used WP-Super Cache, don’t have it on the site, are you suggesting that I get it? Since I don’t have it I would be surprised if it was causing the problem. |
Hi Stacey, my prior comment was filtered out so I’ve adjusted it. This appears at the end of your pages when viewing the page source: WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! Do you have a team member that is helping you with the site? — |
|
|
No team member helping me I just have the feedback on this forum. I’m not exactly clear what I need to do. |
Alright, I wasn’t sure if someone was helping you with changes. WP Super Cache was previously installed and was running and it doesn’t appear to be running anymore but may be installed. When I view your page source and look at the bottom, then this messaging shows: WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! Could you please try these steps? 1) Login to your WP dashboard and then go to Plugins. 2) Look for WP super cache in the list. If it appears there, then please activate it. If it doesn’t, then please click on Add New (button at top). Next search for it and then install and activate it. 3) Turn the caching option on for WP super cache and save. 4) Turn the caching option off for WP super cache and save once more. The steps above should clear out any old caching files that may still be in place. The reason that we would like you to complete the steps above is that deactivating a caching plugin does not necessarily turn off caching services on a WordPress site. — |
|
|
Crap! I added new the plugin WP Super cache, installed it and it took me to a screen with the following errors and now I can’t get into the admin of my site at all to uninstall it. Should I remove the folder for it through FTP or will that mess it up more? I didn’t know if it needs to uninstall itself. w Warning: Cannot modify header information – headers already sent by (output started at /home/content/57/8006757/html/wp-content/wp-cache-config.php:111) in /home/content/57/8006757/html/wp-includes/pluggable.php on line 1196 Warning: Cannot modify header information – headers already sent by (output started at /home/content/57/8006757/html/wp-content/wp-cache-config.php:111) in /home/content/57/8006757/html/wp-includes/pluggable.php on line 1196 |
Hi Stacey, could you rename the folder using your preferred SFTP or FTP client here: wp-content/plugins/wp-super-cache You could rename it by adding a number to the end of the folder name: wp-super-cache –> wp-super-cache1 Then go to wp-content/ and removed the advanced_cache and/or cache_ related files. That should deactivate any caching on your site. — |
|
|
OK I can log into my site now and the WP Super Cache is deactivated but I am still having the same issues where the events are duplicating on the payment overview page. And for some people the promotional discount doesn’t transfer to paypal. |
You can follow the steps outlined here to completely disable and remove WP Super Cache: |
|
|
OK, I have followed the directions on that link except of course I couldn’t Deactivate the plug in because it has to be activated first and when we activate it we can’t get into the system. This still has not fixed the problem. However, I discovered by playing with it a little that if I change the settings in the event so that it doesn’t allow a promo code it then does not duplicate. It only duplicates in the purchase overview when the event allows promotional codes, I tried all the different options for promotional codes, Global only, Global and specific, all promo codes and it duplicates for each option except when no promo codes is selected. We really need to use the promo code option but I’m hoping that helps to identify the problem better. Please advise. |
Hi Stacey, Can you take a look in the /wp-content/uploads/espresso/ folder on your server and check to see if there is a file named custom_functions.php there? If there is, it may help to rename that file to something like custom_functions_disabled.php so that it does not load. I suspect there may be a customized function loading that’s causing the duplicated events in the cart when promo codes are active. |
|
|
No file by that name there. There are 4 folders in the Espresso folder (Gateway, Languages, logos, templates_old) Gateway is empty; languages has index.php; logos has .htaccess, espresso_log.txt, & paypal.ipn_results.log; and templates_old has event_list.php and event_list_display.php and that’s it in that folder. |
Can you check to see if there are any functions that were added to the WP theme’s functions.php file that override Event Espresso functions? The reason I ask is because I’m having trouble reproducing the same issue on our testing servers. |
|
|
The only custom thing we did was something I found on this forum to fix an issue I was having with the payment options. I did an update and then it wouldn’t allow me to click on any of the payment options to edit them. I searched the tech support site and found the following suggestion posted in October 2014 and we set up a child theme and made the changes, Here is a link to the post I am referring to: https://eventespresso.com/topic/payment-gateway-options-wont-open/ That is the only change we have made and it fixed the problem with the payment options. When you go to my site you see the problem correct? I’m not real tech savvy so I’m not sure how to check if there were any changes to the WP Theme’s functions.php that override Event Espresso functions. Since I am not tech savvy I don’t make customizations to the site if I can help it. |
|
I just had a friend of mine who is more tech savvy check the theme functions and he sent them to me as an attachment. How can I send that to you? |
|
OK, here is what my friend found for me in the theme functions. Let me know if this helps… —————————————– function event_espresso_price_list($event_id) { foreach ($results as $result) { $surcharge = ”; if ($result->surcharge > 0 && $result->event_cost > 0.00) { ‘; |
|
Hi, That function should be obsolete now, as the feature to change the way the prices are displayed is now built into the plugin. As such you can remove that code, and instead in the WordPress admin go to Event Espresso > Template Settings > and change the “Display prices in the event list as:” to Price List. Removing that code may also resolve the issue, please advise if it does/does not. |
|
We can try but we just put that fix on there in May and I made sure everything was updated before we did that fix. The problem with the shopping cart happened after I updated the site. I’ll try it and let you know. I just updated the EE3 contract but do you think I would have less issues if I switched to EE4? Is that an easy switch to do? I’m stressed out, these events are suppose to go live to my customers in 2 days and I don’t know what I’m going to do. |
Hi Stacey, If you need promo code functionality, then EE4 isn’t recommended because it doesn’t have the promo code feature yet. Please let us know if removing the custom code from your theme does not help. |
|
|
I did as you asked, it did not fix the duplication problem or the promo code problem and now the payment options are not working, when you click on them the options don’t open for you to select anything. I’m going to have about 100 people coming to my site tomorrow to purchase this stuff, this is now causing a huge problem for me. Is ther any way someone on staff could get on my site and help me with this instead of this back and forth stuff? |
Hi Stacey, It sounds like someone should do an audit of all of the customizations that were made on this site. This is something that EE staff can do, and we generally ask for a priority support token to be purchased to help cover the time to do the code review. |
|
The support post ‘multiple events in 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.