LokiCheckout_StockValidityPolling

PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
PHPStan 1
Magento PHPCS 8

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.

Installation

Install this package via composer:

composer require loki-checkout/magento2-stock-validity-polling

Next, enable this module:

bin/magento module:enable LokiCheckout_StockValidityPolling
WARNING: This module has no releases yet. If you want to use it, make sure to add the version @dev to the composer command.

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/LokiCheckout_StockValidityPolling.git

Module Dependencies

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
Composer details
Magento module name
LokiCheckout_StockValidityPolling
Composer name
loki-checkout/magento2-stock-validity-polling
Composer version
No release yet
Default branch
main
Requirements
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
Releases
Changelog

Last modified: April 5, 2026