Sample data provides a storefront based on the Luma theme outfitted with products, categories, customer registration, and so on. It functions just like a Commerce storefront and you can manipulate prices, inventory, and promotional pricing rules using the Admin.
To review and analyze database and various features, consider using real data instead of sample data. Sample data is designed as a pre-generated store simulation, to demonstrate theme design and basic storefront behavior. All sample data entities are written directly into the database tables, while sample data is installed.
You can install sample data either before or after installing the Commerce software. When you’re done with the sample data, you can either remove it or you can install it fresh as discussed in Remove sample data modules or update sample data.
You cannot uninstall sample data. Use sample data only to learn about how Adobe Commerce and Magento Open Source work. Avoid doing any development in a system in which you installed sample data.
You can install optional sample data in any of the following ways:
|Required skill level
magento sampledata:deploy to modify the application’s root
composer.json to enable sample data modules.
|Requires Composer knowledge and access to the Commerce file system.
|Clone the GitHub repository and the sample data repository, then link them together.
|For contributing developers only. Everyone else should use one of the preceding methods.