Access Item Meta from New Order hook and thank-you hook

Home – SaaS Forums Presale questions Woo Price Calculator Access Item Meta from New Order hook and thank-you hook

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4464
    Mike Whant
    Participant

    Hello.

    How do I access calculator values (e.g. wooprice calculator fields values) from woocommerce new order hook and thank-you hook?

    In other words, I need to access the customers field selections when a new order is created and when the order completes payment.

    I have tried everything I can find online such as:

    add_action( ‘woocommerce_new_order’, ‘action_woocommerce_new_order’, 10, 3 );

    function action_woocommerce_new_order( $order_id ) {
    $order = wc_get_order($order_id);
    $order_items = $order->get_items();
    $item_dump = implode($order_items);
    };

    However the above and everything else I’ve tried returns empty. Can I access the cart session or anything like that?

    Thanks in advance.

    Do I have to re-purchase to receive support?

    #4465
    david
    Participant

    Dear Mike Whant,
    Sorry, but our information says that your last purchase was some days before 2017 July 17.
    That means that your annual subscription is surely expired and this is the reason why your credentials to grant access in our forum are revoked.

    The other effect of this situation is that you are not able to download new versions anymore and we can give you pre-sales support, only.
    Sorry again for that.

    Anyway we opened a ticket so that you will receive some support from one of our specialists

    David
    At1323

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.