Support

Home Forums Event Espresso Premium SET DEFAULT SALE START AND SALE ENDS BASED ON EVENT START TIME

SET DEFAULT SALE START AND SALE ENDS BASED ON EVENT START TIME

Posted: July 30, 2020 at 5:01 pm


wayne

July 30, 2020 at 5:01 pm

Hi
I could not find a snippet so assume this is custom but to speed up adding the event process is there a way to update the ticket sale times based on a set period of time for example if an event starts on the 14th of September the sale date for all ticket automatically starts 1 September. 14 days from the start date. Am i correct in thinking that tickets will not show/be on sale after the event finishes so the end sales time is less important?

Thanks

Wayne


Tony

  • Support Staff

August 7, 2020 at 4:49 am

Hi Wayne,

Yes, you’ll need something custom for this.

Assuming you want this to update as you change the date in the editor you’ll need some custom JavaScript to read that value and update the ticket sale dates.

You could also use PHP to update the values server-side.

Am i correct in thinking that tickets will not show/be on sale after the event finishes so the end sales time is less important?

Yes, that is correct. If all of the datetimes are expired (Event End has passed) then no tickets will show although if you’ve taken the time to create something to modify the start dates it would be trivial to also update the end dates.

You must be logged in to reply to this support post. Sign In or Register for an Account

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: publish

Updated by  Tony 4 days, 8 hours ago ago

Topic Tags

Tagged: ,

Notifications

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