Support forumCategory: QuestionsWhere to upload custom code for EA and some questions
jordan_rumman asked 5 years ago

Hi, I have a site running Easy Appointments + Paid Memberships Pro with some custom code to join the two. I needed to make very minor modifications to EA to allow this, and I’m wondering where best to share this code (I’m new to the WordPress plugin coding scene). It adds a new filter “ea_custom_fields” to $meta and $settings[‘MetaFields’] in frontend.php, as well as new properties item.readonly and item.default_value to bootstrap templates–this allows me to hide/show fields and auto-fill values from a logged-in user.
 
Also the staff are having a bit of trouble figuring out how to best block out a time range, as our appointments blocks are only estimates and can vary too much to have everything fall under just a couple blocks. If you’re busy can you direct me where to add in the code the ability to set the time range manually when editing the appointment from the Dashboard?
 
Alternatively we could clone appointments to reserve blocks but I’ve found just the act of cloning makes Twilio send out a SMS notification for each clone (not even edited, just when cloning). That should probably at least be a setting under Twilio; I can’t think of a reason why someone would want to send a notification for the Clone action (I understand after editing). I would add a new property to each reservation whether it should receive any notifications, email or SMS, and have it default on except for Cloning. Again I can add this if you point me in the right direction.

1 Answers
Nikola Loncar Staff answered 5 years ago

Hi,

you want to add value to meta field? It can be done but it will take some time.

Regarding SMS notification it will be triggered any time new appointment it created.

Regarding dashboard and admin panel can you please give me more details on how to improve that part?

Best regards,
Nikola