Posted: August 30, 2024 at 10:57 am
Hello, |
|
Hi Laura, I’m not sure if I’m getting the point you want to achieve. Can you please give us some more information for better understanding? |
|
Hello, |
|
You may want to check the EE expert. Check them here. thanks |
|
Thank you. Do you know of any other work around for us to do a membership type of system? I can’t imagine we are the only company that wants to offer a membership/discount card. Thank you for your assistance. |
|
Hi there, I need to prefix this to make sure it’s clear that that isn’t something we officially support and it’s not a feature within Event Espresso. So whilst I’m happy to send you what I have, it won’t work for all use cases and was originally intended as a proof of concept for a developer to work on custom code. So we don’t have promotions that retain value, they are either accepted, or not, an then once accepted that usage counts towards the promotions ‘uses’ values as a whole. However, it’s possible to use some custom code to do what I think you are requesting above: https://gist.github.com/Pebblo/c2dd51d7b5e117810d9b5b70b9366b87 Add that to a custom functions plugin: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ That snippet will reduce the ‘value’ of a dollar discount code based on the amount of the transaction ($100 discount code, purchase 2 x $10 tickets, reduces the promotion to $80), once it reaches 0 it sets the expiry date of the promotion code to be ‘now’ so that its then considered expired. — It sounds like that’s what you are looking for here and your welcome to use the above, as long as you are aware that it’s not officially supported by Event Espresso. There isn’t any crazy hackery going on with the above, all it does is reduce the value of a promotion and set its expiration date so it’s not risky as such, just not an official feature. |
|
Thank you very much! I really appreciate the help! We will try it. Thanks again and have a great day! |
|
We are glad we could help. Please feel free to ask if you have any other questions. |
|
You must be logged in to reply to this support post. Sign In or Register for an Account