Comments John started the conversation23 hours agoHi,Where in woocommerce admin can i see if a ticket has been scanned? I was expecting to see a status update in the line order, or something.The attached image is from a single order with many tickets.All the best,/JohnAttached files: image_2025-04-25_133622004.png 923Zhivko replied15 hours agoHi, At the moment the scanned status is displayed only during the scan. Here's a custom hook that will display a message if the ticket was scanned in the edit order details page. add_action('woocommerce_after_order_itemmeta', function ($item_id, $item) { $seat_data = $item->get_meta('seat_data'); if ($seat_data) { $was_scanned = $seat_data->qr_code_scanned ?? false; if ($was_scanned) { echo '<div style="padding: 10px; background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; border-radius: 5px; margin-top: 10px;">'; echo '<p style="margin: 0; font-weight: bold;">' . esc_html__('This ticket has already been scanned.', 'stachethemes-seat-planner') . '</p>'; echo '</div>'; } } }, 11, 2); This hook will produce something like this: Stachethemes Developer Sign in to reply ...
Hi,
Where in woocommerce admin can i see if a ticket has been scanned? I was expecting to see a status update in the line order, or something.
The attached image is from a single order with many tickets.
All the best,
/John
Attached files: image_2025-04-25_133622004.png
Hi,
At the moment the scanned status is displayed only during the scan.
Here's a custom hook that will display a message if the ticket was scanned in the edit order details page.
This hook will produce something like this:
Stachethemes Developer