Shopware | Official Mollie extension for Shopware
kandi X-RAY | Shopware Summary
kandi X-RAY | Shopware Summary
Mollie offers various payment methods which can be easily integrated into your Shopware-powered webshop by using our official plugin. Mollie accepts all major payment methods such as Visa, Mastercard, American Express, PayPal, Apple Pay, iDEAL, SOFORT Banking, SEPA Bank Transfer, SEPA Direct Debit, KBC/CBC Payment Button, Bancontact, Belfius Pay Button, paysafecard, CartaSi, Cartes Bancaires and Gift cards. Once the onboarding process in your Mollie account is completed, start accepting payments. You’ll usually be up and running within one working day.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Ship a list of transactions .
- Finishes a transaction
- Start the Mollie Session
- Load services .
- start a checkout session
- Ship action .
- Start the payment action
- Returns true if PHP parse is safe .
- Restore the basket from the order
- build a transaction item
Shopware Key Features
Shopware Examples and Code Snippets
Community Discussions
Trending Discussions on Shopware
QUESTION
I wrote an extension to add data to the ProductEntity
in Shopware 6 and used the following tutorial:
https://developer.shopware.com/docs/guides/plugins/plugins/framework/data-handling/add-complex-data-to-existing-entities
I also used another tutorial (https://developer.shopware.com/docs/guides/plugins/plugins/administration/add-new-tab) to add a new tab to the product detail view. Everything works so far.
In the product detail view I added a text field in my custom tab. But my problem is: how to get my data into the view? I want to add my new association to the product when the detail view is loaded. Therefore I tried to override the component from Shopware as follows:
...ANSWER
Answered 2021-Jun-12 at 17:21I would suggest to overwrite the productCriteria method and call the parent to not need to fully copying the existing code, like this:
QUESTION
For some reason I do not fully understand how to get an simple instance of an custom service. Here is the documentation which I have followed so far:
https://developer.shopware.com/docs/guides/plugins/plugins/framework/data-handling
...ANSWER
Answered 2021-Jun-11 at 16:25You have to inject your custom service into your command service just like you injected the repositories into WritingData
. You can find more information about the container and dependency injection in the Symfony documentation.
For example if this is your command service:
QUESTION
We are using Shopware 6.3.5 and want to replace properties during import (update) of products.
We specifiy to product ID and the list or property UUIDs (in the column properties
)
Currently, those get added to the existing properties in the database.
This seems to be due to the behavior of the upsert
call during the import.
How can this be changed?
We tried this:
DI:
...ANSWER
Answered 2021-May-19 at 10:43The search method does not work on Mapping Definitions. You can use searchIds
to get the ids and call the delete like you have.
QUESTION
Shopware's development enviornment setup includes spinning up the shopware/development
image. Unfortunately, this image's Docker Hub Overview page is blank.
If I navigate down into the tags I can see the layers that make up this image, but they don't seem to correspond to this Dockerfile
in the repository.
Where does this shopware/development
image come from? What's its base image?
Asking because I'm having trouble getting this all to work on my M1 Mac and I'd like to track each Docker image to its source.
...ANSWER
Answered 2021-May-20 at 08:19Asking around in shopware slack reveals that this is a https://github.com/shopware/development/blob/trunk/dev-ops/docker/containers/app/Dockerfile
https://github.com/shopware/development/blob/trunk/.gitlab-ci.yml#L58-L69 thats the code that builds that
This is what they promote for their docker instances https://dockware.io/ > https://github.com/dockware/dockware
QUESTION
I have one custom module and I need to get properties list in this module as a multi-select.
How it's possible in shopware 6?
I did try below code, but I can't get it.
...custom/plugins/CustomProduct/src/Resources/app/administration/src/module/custom-product/page/custom-product-detail/custom-product-detail.html.twig
ANSWER
Answered 2021-May-20 at 05:54I got the solution.
custom/plugins/CustomProduct/src/Resources/app/administration/src/module/custom-product/page/custom-product-detail/custom-product-detail.html.twig
QUESTION
In a Shopware system, there's a main composer.json
file. This manages the main project dependencies. In addition to this, Shopware plugins require you to add a composer.json
file. If these plugins are added to the system via the main composer.json
file, then the dependencies in a plugin's composer.json
file will end up in the root level vendor/
folder. This I understand.
However, it appears that plugins can also be installed locally outside of the vendor
folder, in either
./custom/plugins
or./custom/static-plugins
When a plugin is installed locally, how should its dependencies be managed?
Is the intent that, when installing a plugin locally you'll also add its dependencies to the main composer.json
file? Or is there a way to tell shopware
Hey, install this plugin's dependencies
Also -- how do the ./custom/plugins/*/packages
folders enter into this? It's my vague understanding that these are for private plugin dependencies, but I'm not sure what that means or how that code should be managed
Or am I misunderstanding the intent behind these local folders, and the expectation in Shopware 6 is that all plugins should be installed via your main composer.json
file and the custom/
folders are just legacy?
Or some other thing?
...ANSWER
Answered 2021-May-19 at 05:55If your plugin lives within the custom/static-plugins
folder, you can just composer require my/plugin
from the root. So that's the way to use composer plugins within your project. Shopware is then searching for the composer plugin within the custom/static-plugins/* repository.
Take a look at the Require project plugins section within the Docs on how to deal with requiring composer plugins.
Within the custom/plugins
folder you have all your store plugins. That's also the reason why the content of the custom/plugins
folder is not committed to your git repo. Because plugins within custom/plugins
are coming from the Shopware store. However: You can still also just place your plugins within the custom/plugins
folder if you want to.
Regarding custom/plugins/*/packages
: You're right. Take a look at the adding private composer dependencies section within the docs.
QUESTION
In Shopware's development template project there's three composer path repositories listed. The
...ANSWER
Answered 2021-May-18 at 07:23The custom/plugins/*/packages/*
path repository enables you to ship private dependencies within your plugin.
So the plugin itself could require
those packages like every other package in its composer.json
file, but the source is provided by the plugin itself under this special path.
You can find the according PR here: https://github.com/shopware/development/pull/141
QUESTION
I would like to add select2 to a smarty template in a shopware 5 plugin, in order to be able to type and search for a value in the dropdown. I was searching for it but found nothing relevant. As I see, there is only a standard which is a html select, and {html_options} there is no way to type and search for what you are looking for in the dropdown, right? Is it possible to add select2 to smarty? If yes, could you please pont me to the rigth direction? If it's not possible or too complicated, what would be a better alternative? Is it possible in Shopware 6? (I wanted to ask this question actually on stack exchange, but I can't...)
ANSWER
Answered 2021-May-16 at 08:25Unfortunately you did not mention what you try so far.
I believe you have to add the Javascript resources as in https://select2.org/getting-started/installation and add the .select2()
call in the on ready.
The HTML of the select can stay the same - the select2 script will transform this.
QUESTION
FYI: Products is my cms element name.
As shown in shopware 6 guides, I have created a file
...ANSWER
Answered 2021-May-06 at 07:25I assume you haven't done any further handling of the product data in your config component, as you do not mention it.
I suggest having a look at the default cms components like for example shopware/administration/Resources/app/administration/src/module/sw-cms/elements/product-slider/config/index.js
where you can see how product data is handled :)
QUESTION
i have read many pages to find out howto create a simple endpoint into my simple WP-Plugin.
links of good articles i have read for that:https://developers.shopware.com/developers-guide/rest-api/plugin-api-extension/ , https://wptips.dev/custom-rest-api/ , https://torquemag.io/2016/07/adding-custom-endpoints-extra-touches/ , https://www.cloudways.com/blog/wordpress-rest-api-to-fetch-posts/#get-wp-v2-posts , https://www.cloudways.com/blog/wordpress-rest-api-to-fetch-posts/#wordpress-rest-api-using-json , https://developer.wordpress.org/rest-api/
this gives me most hope to get success with it and i used the source from here:https://stackoverflow.com/a/64331655/2891692
My URL i using in Web-Browser:http://localhost/wordpress/wp-json/a0plugin/v1/testing
htdocs/wp-content/plugins/a0plugin/a0plugin.php
...ANSWER
Answered 2021-May-05 at 08:04if the comments are left out, the error disappears. these are not listed in the so-called relevant source text excerpt. the cause is unknown to me.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Shopware
Install an official release by downloading it from https://github.com/mollie/Shopware/releases . Download a MollieShopware-vX.Y.Z.zip, upload it in your Shopware Backend and proceed as usual.
Install the development version from https://github.com/mollie/Shopware . Download the source code and place it in the folder custom/plugins/MollieShopware in your Shopware shop.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page