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

Special Price Configurable product issue #12

Closed soloma88 closed 11 months ago

soloma88 commented 1 year ago

image

Special price is showing for this product even if Special Price is off

ldrooij commented 1 year ago

This is not only an issue for configurable products. When there is no special price in BC, but a special price is set in Magento the Magento special price is still use. See permalink below. I think it should return null instead of $result.

https://github.com/NVision-Commerce-Solutions/module-customer-price/blob/6f946f70af23db468116b695ebcca76e8c96aeac/Plugin/ProductPrice.php#L79

Update: There was also a situation where there are no customer prices in BC for a customer, in that case we should return the original result. I created a PR.

soloma88 commented 11 months ago

Fixed