Hi,
Nothing is impossible, but in its current state, there would be quite a bit of “hacking” involved.
Where would you see this search box?
Ideally, how would you implement the solution? With shortcode?
Is there an existing search bar of the orders list page in the frontend?
Note that one very important aspect here is security, as we would have to generate user scoped secured API keys on the fly to make sure 1 customer can not access orders of another customer.
Cheers.
Hi @rayrutjes
I want to put the search box in the order page from my-account page.
It can be shortcode. I have no existing search bar of the orders in front end.
Thanks.
OK
To be transparent, I don’t think I’ll be able to allocate time to this.
It’s quite some work, and even then, implementation would be very tied to the theme and frontend.
The reason this plugin works well today is because we control the appearance of the search because in the admin, everyone has the same theme.
I’m afraid un the frontend it’s gonna cause a lot more troubles.
Don’t get me wrong though, I think it is a very interesting use case. I just don’t think I’ll be able to allocate the time needed to get this done and iterate on it.
@rayrutjes that’s ok. You might added (i hope) in the future either with paid or free.
I just think this on the fly because right now there is no other plugins available for frontend search of orders.
Thank you.
The problem I see, is that there is no existing search box in the frontend for the orders.
What it means is that this plugin needs to add a searchbox that will not be designed, so it would need work on your end at least for the styling aspect.
Then we would also need to define exactly what search fields are searchable, because it makes no sense for example to make the email searchable if there is only the email of the user.
Happy to have your thoughts on that.
@rayrutjes
Shortcode will be fine. And don’t worry about css for search box, i can do it.
And about to define exactly the search field, it will searchable for order number only. So the customer will type the order number in the search box, if they type the email address or something else there will be no results found.
Thanks.
Ideally I would love any feature making its way into the plugin to be plug & play.
If the feature needs coding, even for the styling, I’d tend to not implement it.
Maybe there would be a way to provide a default search UI just for orders on the frontend.
Then every user will probably want different fields to be searchable.
Thanks again for suggesting this feature. I think I’ll need more input from other users before considering dedicating the time it needs.