• Resolved strika

    (@strika)


    Hey Franky,
    the fix with #_SEATS works really well. thank you!!

    1. now im haveing some issues with the discount. and the multiprice multiseat event.
    What i need would be something like this:
    Seats 200||100
    Price 20||15|||20||15
    means 2 price categorys for seats of 200 and 2 price categorys for seats of 100.
    i know i could create 2 events and this would work but the customer have to book 2 times than when he wanna buy 2 tickes 1 of each seat category. Thats not so user-friendly.

    2. I tryed to customize the discount (code) with your function my_eme_discount_function($booking) php example. That works really well and i asked me what kind of variables i could use inside the “$booking”. And is there a variable to get the value of each category of #_SEATS{1} and #_SEATS{2} [#_SEATS{xx}].

    3. Is it possible to show in the booking form the correct totalprice (total – discount)? actually im using #_DYNAMICPRICE. i just can see the correct total price after the submit when the payment page loads and i can select paypal but not inside the booking form.

    4. function my_eme_discount_function($booking) is just triggered when discount is used right? so is there another function i could override and add some logigs which is triggered by submit button or earlyer when the user do changes in the bookingform.
    The idea was to do some calculations an fill some hidden fields in the background. This wouldnt be necessary when 1. would work.

    You do really great work with this plugin. EME is really powerfull and you can do many thinks and i love it to customize alot and this works well. i know its hard to do some good documentation but sometimes i would like to get some more informations of it.

    Just a question to the doku:
    do im right that the documentation isnt correct here (https://www.e-dynamics.be/wordpress/registration-form-formatting/):
    #_SEATS{xx} (**)
    the ** mean this can only be used in the “list entry” template right? but its not possible for me. Just works fine for me in the header (footer not tested).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Franky

    (@liedekef)

    1: that is not possible: how can there be 1 seat category with multiple prices assigned to it? In your example it would become impossible to know which price to take for a specific seat category at the moment of booking.
    2: which my_eme_discount_function example? You can have a discount of type “code” or a filter eme_insert_rsvp_action …
    Anyway, in both cases: do a print_r of $booking and see what is being produced as output (this is beyond the scope of EME itself in fact). The different seats (and the total) are both present in the array.
    3: the discount is being taken into account, if you use discounts of type “code”. If you use the filter eme_insert_rsvp_action, then it is not possible since that filter runs just before the booking is inserted in the DB.
    Based on this question, I think you’re using eme_insert_rsvp_action as filter to calculate some discount, which is not the recommended way (as indicated in the doc). Read up on discounts here: https://www.e-dynamics.be/wordpress/category/documentation/17-discounts/
    4: again depending on which filter you use to call that function. For all filters: https://www.e-dynamics.be/wordpress/category/documentation/17-discounts/
    5: SEATS{xx} (**) ==> the “**” is only relevant for a multibooking form (where you combine bookings for multiple events in 1 form to start with).

    Plugin Author Franky

    (@liedekef)

    No reply, marking resolved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiseat/Muliprice Event’ is closed to new replies.