• 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 5 years, 5 months 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)
  • The topic ‘Save parcel terminal name to variable in script’ is closed to new replies.