• Is there no easy way to display an order after checkout?

    The shortcode use to be [woocommerce_view_order], but since the latest releases that shortcode is no longer relevant. How can I show order details after checkout without having to write a bunch of code now?

    https://wordpress.org/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @setho, so what page you see after checkout success now? some shortcodes have been replaced by endpoints since WC 2.2, you can use url “/view-order/[order_number]” to show the order details page.

    more info you can refer here, hope it helps.

    Thread Starter SethO

    (@setho)

    Hi Terry,

    Thanks so much for your response. Right now I believe it just goes to “my-account”.

    I was thinking I could use the url you provided in your reply… but how do I pull the order number after the purchase has been made doesn’t it?

    I can’t just use “/view-order/[order_number]”??

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Display Order After Checkout’ is closed to new replies.