Sample Data Add-On
Sample data packages install demo entities (products/customers) and example pricing records so you can explore Pricesystem features quickly.
Packages
Core sample data (required base package):
- Composer package:
mageb2b/pricesystem-sample-data - Magento module:
MageB2B_PricesystemCoreSampleData
Sample data for price types (optional on top of core sample data):
mageb2b/pricesystem-customerprice-sample-data(MageB2B_PricesystemCustomerpriceSampleData)mageb2b/pricesystem-categoryprice-sample-data(MageB2B_PricesystemCategorypriceSampleData)mageb2b/pricesystem-pricelist-sample-data(MageB2B_PricesystemPricelistSampleData)mageb2b/pricesystem-productcustomermatrix-sample-data(MageB2B_PricesystemProductCustomerMatrixSampleData)
What Gets Installed (High Level)
Core sample data installs:
- categories
- customer groups
- customers (+ addresses)
- products
Each price type sample data installs example pricing rows for that module (for example: customer prices, category prices, pricelists, matrices).
Installation
composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/ composer require mageb2b/pricesystem-sample-data:* # Optional: add sample data for specific price types composer require mageb2b/pricesystem-customerprice-sample-data:* composer require mageb2b/pricesystem-categoryprice-sample-data:* composer require mageb2b/pricesystem-pricelist-sample-data:* composer require mageb2b/pricesystem-productcustomermatrix-sample-data:* php bin/magento setup:upgrade php bin/magento cache:flush Note: Sample data patches are applied once. If you want to reinstall sample data on an existing environment, do it in a fresh database or remove the sample data rows first.
