Events Made Easy Forums How do I … Multiprice event selective discounts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #60342
    Anonymous
    Inactive

    I can’t wrap my head around how to set up a discount on specific ‘seats’ and I’m not sure where to look in the documentation.

    What I’d like to do is have discount code that selectively applies to only 2 of 6 prices. I can’t figure out if I need to have a separate field to enter a discount code or if I can use the #_DISCOUNT field to selectively apply the discount based on, e.g., #_SEATS{5}.

    From what I can tell, the Code-Type discount isn’t applied using an actual ‘coupon code’, is that correct?

    I set up coupons for a multiprice event a long time ago using $fields['booking_seats'] = eme_convert_array2multi($seats);, so I know how to get to specific #_SEATS{xx} but that was before “DISCOUNTS” was implemented, I think.

    I’m afraid I’ve hopelessly confused myself with this one. . .

    #60344
    Franky
    Keymaster

    #_DISCOUNT is used with a coupon code and currently works based on the total number of seats (or a fixed price). Unfortunately not yet on a specific seat category …
    So for now I’d suggest you use discount type “code”, assign that discount to your event and create the required function for it (see the doc).

    #60349
    Anonymous
    Inactive

    Thanks!

    I thought I could use $seats=eme_convert_multi2array($booking['booking_seats']); to selectively apply the discounts but I can only get $seats[0] – not $seats[1], etc.

    The docs say “$seats is now an array for the different seat categories defined”. Do I need to do something else besides just defining different prices, i.e., “85||90||65||70” and using #_SEATS{1}, etc. so that I can apply the discount to only the last two prices?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top