LokiCheckout_SampleData
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, passwordroni_cost3@example.com) with a default US address; - A cart price rule with coupon code
TESTthat 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
@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
LokiCheckout_SampleDataloki-checkout/magento2-sample-data
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