cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how can to override widgetModelValueHandlerFactor?

Former Member
0 Likes
171

hello, In customer support, when I select a customer, in summary it shows all the orders of the customer. I want to show how recent orders top the list

So, I'm trying to overwrite this class -> widgetModelValueHandlerFactory.. how can I override a class?

or, what is the best solution for my problem?

Accepted Solutions (1)

Accepted Solutions (1)

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

A quick (but maybe dirty) solution would be to introduce a new dynamic attribute on the customer that returns the orders for a customer in the sort order you want, and use the new attribute for the customer support backoffice.

Former Member
0 Likes

Thanks for the sugestion. I did it and it worked. in the next few days, I will research other solutions

Answers (0)