NVision-Commerce-Solutions / module-customer-price

Commerce 365 for Magento - Magento 2 Extension - Customer Price Module
https://n.vision/products/commerce-365-for-magento-b2b/
2 stars 4 forks source link

Bugfix/28 fix lt 2.4.5 compatibility #29

Closed ldrooij closed 11 months ago

ldrooij commented 11 months ago

Fix for https://github.com/NVision-Commerce-Solutions/module-customer-price/issues/28

Create a factory to determine if the original Magento class exists. If not it will use a local class. I did not want to load the product. This should be removed at some point if you drop support for certain versions, but composer.json should force magento module version if you decide to do that.

soloma88 commented 11 months ago

We already have this class inside module so lets use it