Extend search functionality during creating new order in Kentico CMS

Tomasz Czado asked on November 11, 2015 15:05

Hi,

is there a way to override \CMS\CMSModules\Ecommerce\FormControls\CustomerSelector.ascx to add AdditionalSearchColumn attribute? Without updating built-in control?

I need to extend search functionality during creating new order in Kentico CMS. Now this field search only in CustomerLastName (in my case), but I want to search customers in CustomerLastName and CustomerEmail too.

Correct Answer

Joshua Adams answered on November 12, 2015 19:46

What version of Kentico are you using? Usually the best practice here would be to clone their control, and then customize your cloned version. Then you can change the path of the module for the user interface to point to your page, but this also depends on if you are using 7 or 8. In 8, you could use some portal engine controls and templates.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.