Auto Default Combination automatically keeps your PrestaShop products updated with an available default combination, helping customers see and purchase products that are actually in stock.When a product's default combination becomes unavailable, the module automatically selects a replacement according to your chosen strategy. If your preferred default combination is later restocked, the module can automatically restore it.Unlike simple stock scanners, the module is designed to work alongside normal PrestaShop inventory management. Customer orders and back-office stock updates are handled automatically, while an optional cron task provides additional protection for stores that use ERP systems, imports, APIs, or third-party inventory tools.
Features
- Automatically replaces out-of-stock default combinations.
- Restores your preferred default combination when it is back in stock.
- Multiple replacement methods:
- -First available combination
- -Highest quantity available
- -Next closest price
- Manual Scan and Fix Products tool to update existing products.
- Optional cron endpoint for imports and external inventory systems.
- Lightweight product queue prevents delays during stock updates.
- Optional developer/debug mode with detailed activity logging.
- Automatic debug log size management.
- Optional offline management for products with no available stock.
- Supports both products with combinations and simple products.
- Multi-language support.
- Compatible with PrestaShop 8.2.x.
Benefits
Auto Default Combination prevents customers from landing on unavailable default combinations, reduces confusion, and improves the shopping experience for combination-heavy catalogs.
It is useful for clothing, fishing tackle, automotive parts, sporting goods, and any store that sells products with multiple variations.
Typical Workflow
- Your preferred combination is selected as the product default.
- The combination sells out.
- Auto Default Combination temporarily selects another available combination.
- Customers continue to see an in-stock option by default.
- When your preferred combination is restocked, it is automatically restored as the default.
Optional Offline Product Management
The module can also help identify products that have no remaining stock.
Products that are taken offline by the module are listed on the configuration page where you can:
- Edit the product.
- Remove it from the tracking list.
- Permanently delete the product (with confirmation).
This provides a convenient way to keep your catalog clean while preventing customers from viewing products that are completely unavailable.
Changelog
v1.3.x
- Added preferred default combination tracking.
- Automatically restores preferred defaults when back in stock.
- Added multiple replacement methods:
- First Available
- Highest Quantity
- Next Closest Price
- Added developer/debug mode.
- Added automatic debug log cleanup.
- Improved stock detection for PrestaShop 8.2.x.
- Added product processing queue to avoid stock update delays.
- Improved cron processing.
- Added optional offline product management.
- Added offline product management page.
- Added multilingual translations.
- Improved compatibility with combination stock updates.
v1.2.x
- Added manual Scan and Fix Products tool.
- Added optional cron URL and token regeneration.
- Improved stock detection.
- Fixed shop-specific combination handling.
- Improved reporting after manual scans.
- Fixed compatibility issues with PrestaShop 8.2 database schema.
v1.1.x
- Added automatic replacement logic.
- Added preferred default storage.
- Added replacement strategy options.
- Improved module configuration.
v1.0.0
- Initial release.
- Automatically changes out-of-stock default combinations to available combinations.
- Supports products with combinations.
- Manual product scan and repair utility.
- PrestaShop 8.2.x compatibility.