Events Made Easy Forums How do I … …have to understand the discount placeholders?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #62831
    Anonymous
    Inactive

    Hello,

    I am experimenting with some placeholders concerning the discount. So I put in the contact person’s mail code like:
    `[eme_if tag='#ESC_APPLIEDDISCOUNTNAMES']Possibles words: #_APPLIEDDISCOUNTNAMES[/eme_if]
    [eme_if tag='#ESC_DISCOUNTCODES_ENTERED']Tried words: #_DISCOUNTCODES_ENTERED[/eme_if]
    [eme_if tag='#ESC_DISCOUNTCODES_VALID']Used words: #_DISCOUNTCODES_VALID[/eme_if]

    I am not sure if I didn’t understand the explanation (https://www.e-dynamics.be/wordpress/rsvp-mail-formatting/) correctly, but what I expected was
    that #_APPLIEDDISCOUNTNAMES would list the discounts that can be used for this event.
    that #_DISCOUNTCODES_ENTERED would list the words that someone entered, try to book and get refused with the message that it isn’t valid.

    Instead as far as I can see #_DISCOUNTCODES_ENTERED and #_DISCOUNTCODES_VALID have the same results and #_APPLIEDDISCOUNTNAMES also but in the way that it shows the discount name and not the discount word.

    #62832
    Franky
    Keymaster

    I corrected the doc on #_DISCOUNTCODES_VALID a bit:

    #_APPLIEDDISCOUNTNAMES returns a comma-seperated list of discount names applied to this booking
    #_DISCOUNTCODES_ENTERED returns a comma-seperated list of discount names entered for this booking (just entered, not necessarily valid)
    #_DISCOUNTCODES_VALID (or #_DISCOUNTCODES_USED) returns a comma-seperated list of the valid discount codes entered for this booking

    All are post-booking info (with the #_APPLIEDDISCOUNTNAMES being the names of the discounts you defined and that were applied, but not the actual discount code used)

    #62833
    Anonymous
    Inactive

    Hmm, sorry, I still don’t fully get it.

    Applied means what? Not the code or group that I connected as administrator to the event? It is what the booker is entering into the discount field? Or even all bookers together? If I have a discount group with three discounts and the first is used then #_APPLIEDDISCOUNTNAMES contains only that name, but when the next booker is using the second code, it contains both?

    And what means entered? I experienced that when I enter a code that isn’t valid, I can’t continue/finish the booking. After replacing it with a valid one, #_DISCOUNTCODES_ENTERED only contains the valid one.

    #62834
    Franky
    Keymaster

    #_APPLIEDDISCOUNTNAMES is per booking. One booking has nothing to do with another, so #_APPLIEDDISCOUNTNAMES will return a name (or names, if multiple discounts are applied) in the second booking (and that name can be the same as in the first booking, if the configured discount can be used multiple times).
    Concerning #_DISCOUNTCODES_ENTERED and #_DISCOUNTCODES_VALID: indeed, it used to be the case that the discount wasn’t checked before being entered but now it is. So these 2 now return the same result.

    #62838
    Anonymous
    Inactive

    Weird. To me it sounds like no change. But okay, I am fine so far concerning this subject.

    Thanks for taking the time.

    #62839
    Franky
    Keymaster

    The name of the discount code is what you configured in the discount menu, the code entered is well … the code entered (the “coupon code”). So you could have a discount named “5% off for everyone” and a code that can be reused unlimited for 2 weeks. The name is then “5% off for everyone” and the code is what they actually enter in the discount field.

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