07-19-2023, 06:46 PM
I'm searching and trying it for 2 days with no success, please help.
I want to filter woocommerce orders to add additional details from db to order details page based on product attribute but I can't find the right woocommerce action/filter hook for this task.
Here suppose I've variable `$is_customized = false`;
If `$is_customized == true` then I need to add custom data from database to orders detail page.
**NOTE: I don't want to add additional meta box instead I want to change order detail table for:**
- Replacing the default Product image with the image stored in database
and,
- Adding a div containing custom attributes below product name.
I've all these values in my variables but I can't figure out which action hook should I use.
I've attached an image for clarification.
[![enter image description here][1]][1]
[1]:
**Just need to know if I can change / filter these order results and how ?**
I appreciate for your time and help.
Thanks
I want to filter woocommerce orders to add additional details from db to order details page based on product attribute but I can't find the right woocommerce action/filter hook for this task.
Here suppose I've variable `$is_customized = false`;
If `$is_customized == true` then I need to add custom data from database to orders detail page.
**NOTE: I don't want to add additional meta box instead I want to change order detail table for:**
- Replacing the default Product image with the image stored in database
and,
- Adding a div containing custom attributes below product name.
I've all these values in my variables but I can't figure out which action hook should I use.
I've attached an image for clarification.
[![enter image description here][1]][1]
[1]:
**Just need to know if I can change / filter these order results and how ?**
I appreciate for your time and help.
Thanks