Close

Search Products Method not updating

bsgcraft
7 years ago
#13949 Quote
Avatar
  • 49
We are using Pavilion theme and we have made some customizations which include 2 fields on the product screen which allow us to add custom text into them. One is unitofconversion and the other is conversionfactor.

For some reason, this plugin is throwing errors now because of this modification. Here is what we have done.

1>     I have modified the IProductservice interface method in nop.services module.
2>     Search Products Method signature is changed as we have added new attribute unitofconversion.
3>     The plugin smart product collections is still looking for the search product method with old signature. Hence it is throwing an error. Method not found.

How can we get the plugin to use the updated signature rather than the old one?
Nate Kindom
SDobrev
7 years ago
#13963 Quote
Avatar
  • 283
Hi,

Unfortunately, it is not possible to modify the plugin to use your updated version of the methods because the plugin is closed for modifications.

You can create a new method and use it where you need it but changing the signature of the existing method is breaking change.

Best Regards,
Stoyan Dobrev
Nop-Templates.com