Perf. specific delivery method restricted online

Has anyone developed a method to restrict a specific delivery method, online from a specific performance?

Parents
  • Hi Darrell,

    We've currently got 2 delivery methods Collect at Box Office and Post. We've got a few customisations where depending what is in the cart you either have a choice of delivery option. If a performance is less than 7 days away or the customers address is outside of the UK Post is removed as an option and on some performances, for example our secret seats scheme, you only have Collect at Box Office as an option because we don't want to ruin the surprise of where you will be sitting on the night ahead of time.

    We do this with an API call to check the basket and then a simple set of IF statements on performance date and type to display appropriate options and messaging. This works with SOAP or REST.

    Example snippet:

    $performances_in_cart = $tessitura->getCart();

    $seven_day_warning = false;
    foreach($performances_in_cart as $performance) {
      if(strtotime("+7 day") > $performance) {
        $seven_day_warning = true;
      }
    }
    if($seven_day_warning == true) {
      // Set to collect at box office & display messaging
    }

  • Thank you William.  More or less just what we have set up already but for one singular performance I don't want a post out option, ONLY Cobo and from what I can determine there isn't an option to do this simply.   I was being lazy and just didn't have time to search through all the documentation so i thought I would ask - it looked to me that similar questions were be asked 6 - 8 years ago too but without a simply solution to help right now.

  • Hi Darrell, are you familiar with TNEW's Dynamic Shipping feature? You can add a row to LTR_TNEW_DYN_SHIPPING_METHOD to limit which shipping method(s) displays for a specific performance, an entire Production, a Package, or even a certain Price Type. Just make sure to clear TNEW Site cache before testing (as it's a system table change).

    https://www.tessituranetwork.com/TNEW_6/TNEW.htm#Topics/LTR_TNEW_DYN_SHIPPING_METHOD.htm

    Hope that helps!
    Karyn

  • Karyn, thank you!!!  EXACTLY what I need and it works beautifully!   I thought there HAD to be a solution evolve in the past 6 years lol!!!

    Once again thank you that has made things SO much easier!

  • Karyn,  by any chance is there a way to remove the "don't leave a single ticket" option for a specific performance?

Reply Children