Download the PHP package shopgate/magento2-website-sample-data without Composer
On this page you can find all versions of the php package shopgate/magento2-website-sample-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shopgate/magento2-website-sample-data
More information about shopgate/magento2-website-sample-data
Files in shopgate/magento2-website-sample-data
Package magento2-website-sample-data
Short Description Sample data that provides multiple websites and stores to use for various work
License Apache-2.0
Informations about the package magento2-website-sample-data
Purpose
The default M2 sample data does not contain a multi-site solution, this introduces some data to work with when developing tests. Ideally we would also create other sample data modules which would introduce categories, products, etc. to the websites here. It would be bare minimum to increase speed of installation and running.
Structure
- web_computer - default, USD
- grp_desktop
- store_desktop_en - English, lbs
- store_desktop_ru - Russian, kgs
- store_desktop_de - German, kgs, default
- store_desktop_dis - English, lbs, disabled
- grp_laptop - default
- store_laptop_en - English, lbs, default
- store_laptop_ru - Russian, kgs
- store_laptop_de - German, kgs
- store_laptop_dis - English, lbs, disabled
- grp_desktop
- web_phone - RUB
- grp_tablet - default
- store_tablet_en - English, lbs
- store_tablet_ru - Russian, kgs default
- store_tablet_de - German, kgs
- store_tablet_dis - English, lbs, disabled
- grp_accessory - disabled
- store_accessory_en - English, lbs, default, disabled
- store_accessory_ru - Russian, kgs, disabled
- store_accessory_de - German, kgs, disabled
- grp_tablet - default
Installation
Can be installed manually by including the package via composer:
If you have any other magento 2 plugin that suggests this sample data, e.g. shopgate/connect-integration-magento2
the sample data will be installed via regular magento command bin/magento sampledata:deploy
Tests
Run tests the same way you do normally. You may also adjust your integration phpunit.xml to include the tests in the run.
Uninstall
The best way to remove the module fully is manually:
You could also use the standard removal, but unlike the previous solution there is no hook that will remove the websites, groups, stores and configs from the database. Just the module.
Todo's
We'll need to populate these entities with proper data to do tests on.
- Create categories
- Create products
All versions of magento2-website-sample-data with dependencies
magento/module-directory Version 100.3.*
magento/module-sample-data Version 100.3.*
magento/module-store Version 101.0.*