Hi , I need a help of making the following - I have a webinars (wc products) on my site & I want managers to check attendees (wc customers) orders and payments via report via front-end View (1 product many orders).
I've created an View "sht-adm_orders-prod_list" - shows all products, and subsidary View "sht-adm_orders-list" which needs to be filtered by 'prodid' shortcode attribute
It looks like the issue is from the custom shortcode you added.
you are returning the results as given under - but it seems the $result variable contains the array.
return $results;
Can you please change the above line of code as given under - where we are joining the array elements with comma and generating the comma-separated string.
return join(",",$results);
Can you please make above check and let me know if that works or not.
I need access details and problem URL so I can check whats going wrong.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I checked the code you wrote now and I see it needs to pass order_status and prodids to the shortcode you added.
I think you are using the shortcode wrongly as you do not pass the shortcode attribute order_status and prodids to the shortcode.
I would like to know first, what orders you would like to display?
- do you want to display all orders? or
- do you want to display orders belongs to current logged in user?
So, your concern here is to display all orders with those status (wc-pending wc-on-hold wc-cancelled wc-failed wc-processing wc-completed wc-refunded) irrespective of any user - correct?