Linux 软件免费装
Banner图

EasyCommerce FakerPress

开发者 mralaminahamed
更新时间 2025年10月30日 00:27
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPL v2 or later
版权网址: 版权信息

标签

development ecommerce testing faker data-generation

下载

1.0.3 1.0.0 1.0.1 1.0.2

详情介绍:

EasyCommerce FakerPress is a robust WordPress plugin designed to generate realistic test data for the EasyCommerce e-commerce platform. It supports developers, agencies, and store owners in creating sophisticated datasets for testing, demonstrations, and performance evaluation. Key features include: This plugin is ideal for enterprise development, QA testing, integration validation, and scalable performance assessments in non-production environments. Extensibility & Customization: The plugin provides a comprehensive hook system allowing developers to customize every aspect of data generation:

安装:

Automatic Installation
  1. Navigate to Plugins → Add New in your WordPress admin dashboard.
  2. Search for "EasyCommerce FakerPress".
  3. Click Install Now, then Activate.
  4. Access the plugin via the new EC FakerPress menu item.
Manual Installation
  1. Download the plugin ZIP file.
  2. Upload it to /wp-content/plugins/easycommerce-fakerpress/.
  3. Run composer install in the plugin directory.
  4. Activate via the Plugins screen.
  5. Access via the EC FakerPress menu.
Development Setup
  1. Clone the repository: git clone https://github.com/mralaminahamed/easycommerce-fakerpress.git.
  2. Install dependencies: composer install && yarn install.
  3. Build assets: yarn build.
  4. Activate the plugin. Requirements:
  5. WordPress 5.0+
  6. PHP 7.4+ (8.0+ recommended)
  7. EasyCommerce plugin (latest version required)
  8. Minimum 256MB memory (512MB for large datasets)
  9. 100MB disk space for files and data

屏幕截图:

  • Product Generator: Controls for attributes, variations, categories, and inventory.
  • Customer Generator: Profile creation with demographics and loyalty tracking.
  • Order Generator: Workflow simulation including payments and shipping.
  • Coupon Generator: Rule configuration for discounts and restrictions.
  • Product Variation Generator: Attribute-based variation and stock management.
  • Shipping Plan Generator: Regional methods and cost calculations.
  • Tax Generator: Jurisdiction-based rates and rules.
  • Transaction Generator: Gateway history and status distributions.
  • Cart Session Generator: Abandonment and recovery simulations.
  • Location Generator: Geographic hierarchy with coordinates.

升级注意事项:

1.0.2 Performance improvements and bug fixes. Recommended upgrade for all users. No data migration required. 1.0.0 This version includes significant architectural updates for improved stability and validation. Upgrade recommended for all users; test in staging first, especially if using custom hooks. No data migration required.

其他记录:

Privacy & Data Handling:

常见问题:

What's new in version 1.0.2?

This release includes bug fixes, performance improvements, and enhanced compatibility with the latest EasyCommerce version. Key updates include optimized data generation algorithms, improved error handling, and refined user interface components.

How does EasyCommerce integration work?

The plugin utilizes native EasyCommerce models (e.g., Product, Customer, Order) for generation, ensuring data validation, relationship integrity, and compatibility with future updates. Direct database queries are avoided to maintain business logic enforcement.

Can I generate data with complex relationships?

Yes. Examples include linking orders to existing customers/products with inventory adjustments, modeling purchase history for loyalty progression, and validating coupon rules against categories and user data.

How realistic is the generated data?

Data is crafted using Faker for authentic details (e.g., addresses, names) combined with e-commerce-specific logic, such as seasonal pricing, geographic accuracy, and customer lifecycle patterns.

Is it safe for production use?

Caution: Use exclusively in development or staging environments. Always back up your database prior to generation, start with small datasets, and avoid live sites without thorough testing.

Can I customize generation?

Yes, extensively! The plugin includes a comprehensive hook system with 15+ filters and actions for complete customization. Use easycommerce_fakerpress_*_data_before_create filters to modify data before creation, easycommerce_fakerpress_*_generation_result filters for result customization, and easycommerce_fakerpress_after_*_created actions for workflow integration. Configuration panels support quantities/patterns, and abstract classes enable extending generators.

What about performance for large datasets?

Optimizations include batch processing, memory-efficient algorithms, and resumable progress tracking to handle extensive datasets without timeouts.

How do I remove generated data?

Employ WordPress deletion tools for items, bulk cleanup plugins, or targeted database queries (for advanced users). Back up data before any removal.

更新日志:

1.0.3 - October 29, 2025 1.0.2 - October 29, 2025 1.0.0 - October 15, 2025 0.9.0 - September 15, 2025 (Initial Release)