• Resolved norover

    (@norover)


    Hi there,

    We are using a PDF invoice plugin where the order ID tag is {{id}}
    Does your plugin provide a similar approach? We tried {{order_number}} but with no luck.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @norover,

    Thanks for reaching out.

    Here is the sample code which returns the sequential order number in the variable $order_no.

    $order_no=$order->get_order_number();

    Hope this helps. Feel free to revert if any queries.

    We are using the same PDF invoice plugin, and the variable $order_no does not work.

    If we use order ID tag {{id}}, it shows the product post ID, not the new order number.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pull invoice # in PDF invoice’ is closed to new replies.