What this solution does
The Demo Data Generator module populates existing information blocks with test data to verify layout, filter functionality, and site demonstration. The tool creates sections, elements, text blocks, images, and files. It supports multiple properties, lists, dates, and bindings to elements, sections, and existing dictionaries. In the trade catalog, it generates simple products and products with offers, setting base prices and total available quantities.
Features include a preview mode, settings validation, and a run history log. The cleanup function removes objects created during a specific run. However, sections with manual content, products with user-defined offers, and files used by other objects are preserved.
Limits per run: up to 300 sections with a depth of up to 10 levels, up to 1,000 elements, and up to 3,000 offers. The history displays the 20 most recent runs.
The structure of information blocks and existing elements remains unchanged. The module does not create new information blocks, properties, list values, users, orders, or dictionary records. Text in Russian or English is generated from an internal dictionary and carries no semantic meaning. In the catalog, only the base price and total quantity are populated; sets, kits, and warehouse stock levels are not created.
The Demo Data Generator supports creating images in PNG and JPG formats with a resolution up to 4000 × 4000 pixels. Generating JPG files requires the PHP GD library; if it is unavailable, PNG files are created automatically. Supported output file formats are txt, pdf, csv, json, and xml. File type restrictions defined for specific fields are respected during data generation.
Unsupported fields are skipped, and the reason for skipping is displayed before the generation starts.
Generation occurs within a single request. Large-scale runs may be interrupted due to hosting time limits. Interrupted tasks remain available for cleanup 30 minutes after the interruption.
For the “Demo Data Generator” module, General iT can perform installation, configuration and a functional check in your project.