Support » Plugin: Estonian Shipping Methods for WooCommerce » Save parcel terminal name to variable in script

  • Hello,

    In my page, I’m using do_action( ‘wc_estonian_shipping_method_show_terminal’, $order_id ) to display parcel terminal in e-mail template and it works.

    Additionally, this page is using an outside script to send orders to the ERP system. I can send all order data to ERP except parcel terminal name because I can’t find a way how to save parcel terminal name to a variable.

    • This topic was modified 1 month, 4 weeks ago by  jaak69.
Viewing 1 replies (of 1 total)
  • Plugin Author Risto Niinemets

    (@ristoniinemets)

    If you’re using latest version of this plugin, you could also try

    $terminal_name = apply_filters( 'wc_estonian_shipping_method_order_terminal_name', '', $order );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.