Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Composer install directory #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gruhn
Copy link

@gruhn gruhn commented Sep 13, 2019

When installing the plugin with Composer, all files end up in:

Plugin/Local/Frontend/QuickPay_Shopware

Shopware is not able to detect the new plugin though because the
directory doesn't match the plugin name (QuickPayPayment).
Fixing this by defining a custom install directory using the
installer-name field in composer.json.

Also, according to the installation page, the plugin files should be
moved to custom/plugins instead of Plugin/Local/Frontend/. See:

https://learn.quickpay.net/helpdesk/en/articles/integrations/shopware/

Not a technical problem but I guess it makes sense to keep this consistent.
Doing this by changing the package type to shopware-plugin in composer.json.

When installing the plugin with Composer, all files end up in:

`Plugin/Local/Frontend/QuickPay_Shopware`

Shopware is not able to detect the new plugin though because the
directory doesn't match the plugin name (`QuickPayPayment`).
Fixing this by defining a custom install directory using the
`installer-name` field in `composer.json`.

Also, according to the installation page, the plugin files should be
moved to `custom/plugins` instead of `Plugin/Local/Frontend/`. See:

https://learn.quickpay.net/helpdesk/en/articles/integrations/shopware/

This is done by setting the package type to `shopware-plugin` in
`composer.json`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant