Posted: February 3, 2015 at 5:00 am
|
Hi there, Regards |
|
Hi, If I understood correctly, you basically need a custom meta field for the venue (or maybe event)? If so you could use a custom function to add a custom meta field and use the WordPress capabilities to only show it if the user has Admin rights. This is something outside the scope of support, but a developer should be able to do this. The hard part would be making it usable by your payment gateway. |
|
Hi, I just figgered it out. $targetpay_settings = get_option('event_espresso_targetpay_settings'); /* MODIFICATION BY Stefan Verbeek on 4/2/2015 */ //Check for an alternate Sublayout if (!$rtlo) { /* END MODIFICATION */ This seems to work, i can now put an layoutcode (seller id) for each event in the metadata. |
|
Question: |
|
if not I have to write some extra instructions to each venue manager to put a layout code in each event they organise |
|
Hi, Can I put event meta to a venue manager? – Not sure what you mean here. Are you just trying to output the event meta when a venue is shown front end or in the admin? I’m also assuming this is EE3? |
|
I use this in the paymentgateway so every location has a different merchant id on the same paymentgateway, it works on the event page (see post before) but i want this code to be available to all events created on a location. So I want to create event_meta per location. |
|
Ok I see, well can you do it? Yes. However, I wouldn’t recommend it, as it would require several file edits, all of which are core files, so updates will wipe the changes. If you still want to check it out, have a look at the files here: /wp-content/plugins/event-espresso/includes/admin-files/venue-management |
The support post ‘Different payment seller-id per venue manager’ 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.