Major update for compatibility, security, and user experience
— Expanded PHP version support
The module is now fully compatible with PHP 5.6, 7.4, 8.0, 8.1, 8.2, and 8.3.
You can use the solution on any hosting environment — from legacy servers
to the most modern setups.
— Enhanced security (XSS protection)
• All data from the database is automatically escaped on output
• Protection against XSS attacks when displaying related entities
• Safe data deserialization with object creation disabled (PHP 7.0+)
• Strict validation of input data and column settings
— Improved date handling and regional settings
• Added support for date and time formats based on the interface language (RU/EN)
• Automatic adaptation to the site's regional settings (date and time format)
• Support for 12-hour format with AM/PM for English
• Universal date storage in the database (YYYY-MM-DD HH:MI:SS) with localization on output
• Strengthened control over the correctness of entered discount validity periods
— Increased reliability and informativeness
• Added check for the presence of the required "Online Store" (sale) module
• If the sale module is missing or corrupted, the user receives a clear
message indicating the reason, instead of an empty settings page
• Improved handling of edge cases (empty values, incorrect dates)
• Added strict validation of input data
— Technical improvements
• Increased module stability across all PHP versions
• Optimized work with static arrays
• Removed excessive global variables
• Added full PHPDoc documentation
— Compatibility
• 1C-Bitrix: all current editions
• PHP: 5.6, 7.4, 8.0, 8.1, 8.2, 8.3
• Required modules: sale (Online Store), iblock (Information Blocks), catalog (Product Catalog), currency (Currencies)