Posted: February 5, 2014 at 11:15 pm
|
The discount codes at the events nog working. The discount percentage not be collected from the total price? |
Hi rgroot, When you say not working, in what way? Are the discounts not being applied to the event at all or is an error message displayed? Are these Global promo codes or non global? |
|
|
Hi, When we make a promotion code for 10% and try to use this for a event of 100,00 the price still 100,00 and nog 90,00 We try % and fixed but both without success. |
|
It looks like you are on a really old version of EE, 3.1.29.1P. Please upgrade to the latest version, it will make the task of trying to find the problem much easier. |
|
Updates to Event Espresso – 3.1.36.4 Still the same, hope you guy’s find the problem much easier. |
Hi, I’ve responded via email as I currently can not get access to the site, we are awaiting your reply to investigate this further. |
|
|
Hi Tony, Don’t have any e-mail. Please re-send again and send you again the logins |
Hi, The email should have gone to the address linked to your account. The login details provided previously seem incorrect. Could you re-check and re-send using https://eventespresso.com/send-login-details/ once more please |
|
Hi rgroot, It seems you are not receiving my emails. Can you check your spam folder to see if they are there please? Currently there are two issue I can see. I believe the issue is with outdated files within wp-conent/uploads/espresso/ The problem is that it would appear you have a virtual directory linking event-espresso/templates to what I assume is wp-content/uploads/espresso/templates. Within that directory the templates have been modified. Because of the ‘link’ between those directories we can not revert to stock templates (by renaming the uploads/espresso/templates/ directory) and investigate the issue further. You would need to remove this link between the directories on the server in order for us to investigate this further. If you are unsure how to do to this I would recommend contacting your host and ask them to remove it. Just so you know, once that link is removed the site will likely lose the customization’s you have made within the templates. Some of those are text strings, which can be altered within the language files or through a plugin/function. There are others which may be there for a purpose, I would recommend backing up your sites files first if you do not wish to lose these. We have a guide posted here https://eventespresso.com/wiki/how-to-back-up-your-site/ |
|
|
Hi Tony, The “virtual directory” or symlink you’re talking about does not exists. Your plugin checks if the directory “espresso” exists under “uploads” so there can be stored the custom template files. If the files does not exists there your plugin will read them from the default directory under your plugin files. It has always been like this. I copied the website to a development server where you can update the templates and check why the discount module is’nt working. If the templates will be overwritten, and our customized style will be gone, we can fix this and then copy the site back to the production server. The login information for the development site will be send to you by the “Send login details” form on your site. |
Hi, I replied via email but will also add it here due to previous problems receiving my replies.
Whilst that is the default behavior of Event Espresso, it is basically a file_exists() check, if it returns true, use the file within uploads/espresso/templates, else use event-espresso/templates/ Your sever setup is different and has been customised, when logging in via FTP (using FileZilla), navigating to plugins/event-espresso/ we see this: http://take.ms/les8W Notice the @ symbol at the end of the directory. I had assumed this was FileZilla indicating a Symlink (some servers will show the @ symbol at the end of a directory indicating a Symbolic link), I now know that’s not the case, it has simply been re-named to templates@ effectively making it unusable to Event Espresso so renaming uploads/espresso/templates/ to template-temp (which should then force EE to use the templates within event-espresso/templates/) threw this error.
Due to the fact that event-espresso/templates/ doesn’t exist… event-espresso/templates@/ does. So then also removing the @ symbol allowed us to use the default templates provided by EE. Once this had been done I retested the Promo codes and they now worked, so this is either due to outdated templates used in uploads/espresso/templates/ or due to the customisations made to those templates. I would recommend using a program such as DiffMerge to view the differences between your templates and the default templates. Then either transfer the updated code to your custom templates or redo them on the latest templates. One thing I did notice was some of the customisations made where simply string translations/changes hard-coded into the templates, I would advise using the methods described within the guide here: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/ As it is much more update friendly. Hope that helps 🙂 |
|
The support post ‘Discount code at the events not working’ 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.