Developer forum

Forum » Feature requests » Smart search with custom order fields

Smart search with custom order fields

Mikkel Ulstrup
Reply

Hi,

 

I would like to create a smart search based on the value of a custom order field. I can't find this anywhere, so I supose it is not possible at the moment. I am in need of both boolean and date values.

 

Kind regards

Mikkel Ulstrup


Replies

 
Nicolai Pedersen
Reply

Hi Mikkel

That is not possible as you say. Also a user can have multiple orders. A solution is to create some custom fields on the user and create a subscriber that will add the values from an order when it is made to the custom fields of the user. Then they can be queried.

BR Nicolai

 
Mikkel Ulstrup
Reply

Hi Nicolai,

 

Multiple orders would work like the smart searches today. It is allready possible to check for purchase of certain products, order total amounts and order dates. 

Any chance you will look into this? I would prefer not to write custom code to solve this.

 

Kind regards

Mikkel Ulstrup

 
Nicolai Pedersen
Reply

Hi Mikkel

Currently no - so it will not be 'just around the corner'.

BR Nicolai

 
Mikkel Ulstrup
Reply

Thanks for getting back!

- Mikkel