Official Findologic plugin for Shopware 6.
Please see our Shopware 6 documentation.
Install the shopware-cli
Set up the test shop
shopware-cli project create [folder] [version]
Install dependencies for tests
composer require --dev symfony/test-pack
Configure test database within the .env.test file (Create file if not present)
docker-compose up -d
Navigate to the plugins folder
cd custom/plugins
Clone this repository
git clone git@github.com:findologic/plugin-shopware-6.git
Install dependencies
cd plugin-shopware-6 && composer install
Navigate back to the shop root
cd ../../..
Refresh plugin list
bin/console plugin:refresh --env="test"
Install and activate the plugin
bin/console plugin:install FinSearch --activate --clearCache --env="test"
The Makefile
includes commands for all relevant tasks:
make storefront-lint
make administration-lint
make storefront-fix
make administration-fix
There are different configurations for administration and storefront. Depending on the current project, use the corresponding configuration.
app
with the password app
, which should have permissions to create,
update and delete all databases../psh.phar init
cd custom/plugins/plugin-shopware-6 && composer test
Tests can also be run separately within the IDE. Simply ensure to set phpunit.xml.dist
as configuration file.
cd src/Resources/app/storefront
npm install
npm run test
After dependency installation all tests can also be run via the IDE without any additional configuration.
src/Resources/app/storefront/src/js/[your-plugin-name].plugin.js
./psh.phar storefront:dev
./psh.phar storefront:build
Please note:
src/Resources/app/storefront/dist/storefront/js/[plugin-name].js
.We are using some of our libraries that are especially relevant for this and other plugins. Note that these libraries already come with the plugin itself, so you do not need to install them yourself.
In some cases you may want to export additional, custom export data. To still provide you plugin updates, we have an extension plugin. It overrides logic of the base plugin to reflect your own logic.
Use the FINDOLOGIC Shopware 6 extension plugin to customize your export. There are already pre-defined examples, that guide you on how you can customize certain entities, like attributes or properties.
CHANGELOG_en-GB.md
and CHANGELOG_de-DE.md
.develop
branch.develop
branch locally and pull the most recent changes.
git checkout develop
git pull
composer release
Development/Plugins/Shopware/Shopware 6 DI & API Plugin
and move the old
version to alte Versionen
.#releases
Slack channel.