This Magento 2 module is an add-on package to the LokiCheckout. It allows for a periodic AJAX poll back to the Magento backend to check if the cart items are still available in stock. If not, the customer is redirected back to the cart.
Install this package via composer:
composer require loki-checkout/magento2-stock-validity-polling
Next, enable this module:
bin/magento module:enable LokiCheckout_StockValidityPolling
@dev
to the composer command.
For getting support, create an Issue under the following project URL:
https://gitlab.yireo.com/loki-checkout/LokiCheckout_StockValidityPolling.git
The following dependencies are declared in the module its `etc/module.xml` file:
LokiCheckout_Core
Loki_Base
Loki_Components
Loki_CssUtils
Loki_FieldComponents
Loki_MapComponents
Magento_Backend
Magento_Catalog
Magento_Checkout
Magento_CheckoutAgreements
Magento_Config
Magento_Customer
Magento_Directory
Magento_Eav
Magento_InventorySalesApi
Magento_Newsletter
Magento_Payment
Magento_Quote
Magento_Sales
Magento_Shipping
Magento_Store
Magento_Tax
Magento_Vault
Yireo_CspUtilities
LokiCheckout_StockValidityPollingloki-checkout/magento2-stock-validity-polling
loki-checkout/magento2-core: ^2.3
loki/magento2-components: ^2.2
magento/framework: ^103.0
magento/module-inventory-sales-api: ^1.2
magento/module-store: ^101.1