LokiCheckout_SampleData

This module is available free of charge as part of the Loki Checkout Open Source plan. Please note that support for this module is not to be taken for granted though. If you want our dedicated help, opt for a paid plan instead.
module.plan-free
Professional
Standard
Trial
Development
PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
PHPStan 1
Magento PHPCS 8
License OSL-3.0
Latest Release none

This Magento 2 module is an add-on package to the LokiCheckout.

Installation

Install this package via composer:

composer require loki-checkout/magento2-sample-data

Next, enable this module:

bin/magento module:enable LokiCheckout_SampleData

Usage

Install the sample data:

bin/magento loki-checkout:sample-data:install

This creates:

  • A Marvel-themed sample catalog, covering all product types (simple, virtual, downloadable, configurable, bundle and grouped), in a single category Sample Data;
  • The demo customer Veronica Costello (login roni_cost@example.com, password roni_cost3@example.com) with a default US address;
  • A cart price rule with coupon code TEST that gives 10% discount (all websites, all customer groups, no usage limits);

Existing sample data is skipped. Use --force to remove and recreate everything.

To remove all sample products (SKUs starting with loki-sample-), the category, the attributes loki_sample_size and loki_sample_color, the demo customer and the TEST coupon:

bin/magento loki-checkout:sample-data:remove

The product images and downloadable files are fan-made placeholders. Marvel and all related character names are trademarks of Marvel Entertainment, LLC.

Current status

pipeline success
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-dev/LokiCheckout_SampleData.git

Composer details
Magento module name
LokiCheckout_SampleData
Composer name
loki-checkout/magento2-sample-data
Composer version
No release yet
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-bundle: ^101.0
magento/module-catalog: ^103.0 | ^104.0
magento/module-configurable-product: ^100.4
magento/module-customer: ^103.0
magento/module-directory: ^100.4
magento/module-downloadable: ^100.4
magento/module-eav: ^102.1
magento/module-grouped-product: ^100.4
magento/module-sales-rule: ^101.2
magento/module-store: ^101.1
php: >=8.2 <8.6
Releases
Changelog

Last modified: June 1, 2026