• Resolved jules22

    (@jules22)


    I have the following loop:

     $order = wc_get_order( $order_id );
       // Iterating through each order items
        foreach ( $order->get_items() as $item_id => $order_item )

    How can I check to see if one of the items in the order is an event ?

    • This topic was modified 2 years, 10 months ago by jules22.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Determine if item in cart is an event’ is closed to new replies.