zabadak
Forum Replies Created
-
Forum: Plugins
In reply to: [Events Manager and WPML Compatibility] events – manager – wpml recurring?Hi, I have the same problem. I also added that line to wp-config.php
What should I do now?Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Macro #_BOOKINGFORMI’ll take a look,
thanks caimin_nwl.Hi Marcus,
I will code a primitive label until you include it on the plugin. I hope it will be soon ??
I do have the Pro version, but I haven’t test the MB functionality deeply, I am with the basics.Thanks Marcus and agelonwl for your answers.
Hi caimin_nwl, instead of spaces we use weeks to reserve.
So, when the user changes the weeks, I want he could see how much it costs in the SAME place when he changes/see prices.Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Macro #_BOOKINGFORMHi caimin_nwl, I mean, where is defined in the code.
Or, What does it contains/replaces really.Regards.
So fast, thanks Marcus!
Any idea?
Hi, I tried with this code code and do nothing. The formula I’m using is y=3x+10
function my_em_booking_price($EM_Ticket){ return 3*$EM_Ticket->price + 10; } add_action('em_booking_get_price', 'my_em_booking_price', 1, 1);
I didn’t include $format and $EM_Booking variables, but added $EM_Ticket.
Thanks in advance.
Yeah, thanks again!
Another doubt, how do I restrict spaces to 2 as minimum?
I mean, you can only reserve from 2 to 10 ‘spaces’.I’ll take a look agelonwl, thank you very much for your help ??
Hi agelonwl, I used the info in the previous post to edit the ‘spaces’ and it works, great!
..about the prices, how do I use the variables in the em_booking_get_price filter?
I modified this brief example but I don’t know how to access to the data price ??function my_em_booking_get_price($content){ $content .= "Hello!"; return $content; } add_filter('em_booking_get_price','my_em_booking_get_price');
Thanks.