doofinder / doofinder-magento2

Open Software License 3.0
10 stars 8 forks source link

PLUGINRANGERS-2316 | Added an if statement to check Magento version #314

Closed davidmolinacano closed 3 months ago

davidmolinacano commented 3 months ago

Required by:

In the image, the error is shown and then the result after applying this fix

image

Original parent constructor:

image

This time, an if statement was added to discern between v.2.4.7 or higher or the lower ones.

davidmolinacano commented 3 months ago

We're going to merge it since it's the only way to test it in composer AFAIK. The current master branch is not working for customers whose version is lower than 2.4.7