Support

Home Forums Event Espresso Premium Promotion code with minimum spend requirement

Promotion code with minimum spend requirement

Posted: January 23, 2020 at 1:13 pm


devonto

January 23, 2020 at 1:13 pm

I note the question was asked in 2015 and the answer was “not at this moment in time” (https://eventespresso.com/topic/ee4-promotions-and-discount-codes-minimum-spend/, but can a filter now be applied to the system to check for a minimum cart value before a promo code can be used?

e.g. 5% off when you spend at least £100

Thanks


Tony

  • Support Staff

January 24, 2020 at 6:45 am

Hi there,

We have not added this feature into the EE4 Promotions add-on as of yet, so no, not officially.

However, the Promotions input can be removed through a filter so for your use case of preventing the user of a promotion code you could add some custom code to do this.

I’ve previously created a snippet that does something similar based on which tickets were in the cart:

https://gist.github.com/Pebblo/c09ff7a1ee5ac618a41771a901661814

You can build something from that to remove the input based on some criteria, where you set that criteria will depend on the various types of restrictions you want to use but you may be able to use a custom field on one or more events.

The support post ‘Promotion code with minimum spend requirement’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 3 weeks, 2 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!