• MaximKettunen

    (@maximkettunen)


    Maybe someone can help me in this forum? So, i have to put on thank-you.php page pixel for tracking leads.

    Pixel is like in this format:
    <img src="https://domain.com/path/slug=*ORDERID*&slug=*TOTAL*" alt="" width="1" height="1" border="0" />

    There in *ORDERID* i need to get order id without “#” and in *TOTAL* i have to get order total without currency symbol.

    So it have to look like:
    <img src="https://domain.com/path/slug=123456&slug=125.00" alt="" width="1" height="1" border="0" />
    Order ID #123456 and order total amount 125.00€.

    Before updating WooCommerce to 3.0 it was working fine with this snippet:

    View post on imgur.com

    Now it’s now working.
    I would be very grateful for any help. Thanks! 🙂

Viewing 1 replies (of 1 total)
  • kursora

    (@kursora)

    What it means Now it’s now working.? Where you put this code? Where is thank-you.php file? In theme folder?

Viewing 1 replies (of 1 total)

The topic ‘How To Get Order ID & Total’ is closed to new replies.