• For a purpose im passing woocommerce values to an array like this :

    ‘name’ => $_POST[‘billing_first_name’],
    ‘phone’ => $_POST[‘billing_phone’],
    ’email’ => $_POST[‘billing_email’],
    ‘note’ => $_POST[‘order_comments’],

    Now I’m stuck finding one of the values. The name of the ordered product.

    [1]: https://i.stack.imgur.com/LrZmv.png

    ‘subject’ => HERE GOES THE PRODUCT NAME VALUE,

    i have been looking everywhere, tried some stuff but nothing worked so far.

    I’m working in functions.php

    • This topic was modified 9 years, 5 months ago by adses.

The topic ‘Woocommerce product name’ is closed to new replies.