Skip to content

Issue with inconsistent salable quantities in Magento store, specifically with manual_compensation event type

I am encountering an issue with inconsistent salable quantities, which is leading to inventory mismanagement problems in my Magento 2 store. To address this issue, I have installed the AmpersandHQ/magento2-disable-stock-reservation module from GitHub (link: AmpersandHQ/magento2-disable-stock-reservation) to prevent stock reservation. However,… Read More »Issue with inconsistent salable quantities in Magento store, specifically with manual_compensation event type

Magento2.4 How to override MagentoCheckoutControllerCart?

Even if I simply copy the file without changes, it does not work as a preference. Any idea why? I created a preference in di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <preference for=”MagentoCheckoutControllerCartAdd” type=”MycompanyMyappControllerCartAdd” /> </config> I am simply trying to… Read More »Magento2.4 How to override MagentoCheckoutControllerCart?

Error on setup:install at creating database schema

Do you knows the trouble origin? In adittion, there is this error report from php at acessing the app root directory Fatal error: Uncaught Zend_Cache_Exception: cache_dir “/var/www/var/cache/” is not writable in /var/www/vendor/magento/zend-cache/library/Zend/Cache.php:209 Stack trace: #0 /var/www/vendor/magento/zend-cache/library/Zend/Cache/Backend/File.php(180): Zend_Cache::throwException(‘cache_dir “/var…’) #1 /var/www/vendor/colinmollenhour/cache-backend-file/File.php(86):… Read More »Error on setup:install at creating database schema