Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 24 06:41
    larsbo edited #2416
  • Feb 24 05:26
    larsbo opened #2417
  • Feb 24 05:10
    larsbo opened #2416
  • Feb 22 12:43

    shopwareBot on 5.7

    NTR - Increase PHPStan level an… Merge branch 'ntr/increase-phps… (compare)

  • Feb 21 12:22
    JoshuaBehrens synchronize #2415
  • Feb 20 19:46
    JoshuaBehrens opened #2415
  • Feb 19 09:22
    shyim unlabeled #2402
  • Feb 19 09:22
    shyim labeled #2402
  • Feb 19 09:22
    shyim unlabeled #2402
  • Feb 19 09:22
    shyim closed #2402
  • Feb 19 09:21

    shopwareBot on 5.6

    SW-25949 - use major version op… Merge branch 'sw-25949/5.7/auto… (compare)

  • Feb 19 08:45

    shopwareBot on 5.7

    NTR - Update PHPStan and introd… NTR - Update cs-fixer NTR - Remove unnecessary cs-fix… and 2 more (compare)

  • Feb 18 16:08

    shopwareBot on 5.6

    SW-18275 - Close off canvas ele… Merge branch 'sw-18275/5.6/clos… (compare)

  • Feb 18 15:57
    shopwareBot labeled #2412
  • Feb 18 15:57
    shopwareBot labeled #2412
  • Feb 18 15:50

    shopwareBot on 5.7

    NTR - fix all defect migrations… NTR - fix unit tests SW-25897 - Fix wrong demo data and 2 more (compare)

  • Feb 18 15:41
    shopwareBot labeled #2402
  • Feb 18 15:28
    shyim unlabeled #2409
  • Feb 18 15:28
    shyim labeled #2409
  • Feb 18 15:28
    shyim unlabeled #2409
istgin
@istgin
i run from docker SSH: bin/console scheduled-task:run
i run from docker SSH: bin/console messenger:consume -vv
I cant see any messages there
why?
Michael Telgmann
@mitelg
we do not use gitter anymore. please have a look at the channel description
Tanveer Hussain
@TanveerBalti123
Hello guys..what is the checkout event in shopware 6 please any one give some information????
YAAS QUEEN SLAY
@pure_enrichment_twitter
shopware 5: when i call a controller/action that is set csfrwhitelistaware, how can i get the generated csfr token? so i can do a second request or redirect from there to somewhere else
$this->Response()->headers->all() has two unrelated items and $this->Response()->getCookies() is empty at that point
Tanveer Hussain
@TanveerBalti123
Shopware\Core\Checkout\Cart\Event\CheckoutOrderPlacedEvent;
CheckoutOrderPlacedEvent::class=>'onCheckoutOrderPlacedEvent',
this event is not working on checkout page ..any one guide what the right event for checkout page...
Clovis-lgw
@Clovis-lgw
Hello there, can someone tell me how to add png img in the adminstration ? can only find how for the storefront
Lasantha Dharmasiri
@lasanthaa
Do you have documentation on how to edit files in phpstorm in dockerized container?
FrSeLo
@FrSeLo1_twitter

Hi, I tried to install Shopware 6.3.1.0 in debian and get the folloing error
Browser:
Type: TypeError
Message: openssl_pkey_get_details() expects parameter 1 to be resource, bool given
File: /var/customers/webs/customer/vendor/shopware/recovery/Common/src/Service/JwtCertificateService.php
Line: 30

Log File:
[Mon Sep 14 12:32:38.138939 2020] [php7:warn] [pid 30972] [client IP] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php
[Mon Sep 14 12:32:39.429400 2020] [php7:warn] [pid 30972] [client 84.62.197.236:42482] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php/requirements/?language=de
[Mon Sep 14 12:32:55.648274 2020] [php7:warn] [pid 27855] [client 84.62.197.236:42486] PHP Warning: openssl_pkey_export_to_file(): cannot get key from parameter 1 in /var/customers/webs/customer/vendor/shopware/recovery/Common/src/Service/JwtCertificateService.php on line 27, referer: https://messerundloeffel.de/recovery/install/index.php/database-configuration/
[Mon Sep 14 12:35:00.644248 2020] [php7:warn] [pid 27865] [client 84.62.197.236:42516] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php
[Mon Sep 14 12:35:02.010283 2020] [php7:warn] [pid 27865] [client 84.62.197.236:42516] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php/requirements/?language=de

Yogesh
@Yogesh-Makwana

Hi Guys,
need your help.. I have tried to access API authentication but all time i am getting 301 moved Permanently.. or resource not found with below code.. Could you pleaes support..

$url = 'https://shopware.shirtee.cloud';
$username = 'XXXXXXX';
$api_key = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx';

$url = rtrim($url, '/').'/api';
$curl = curl_init();
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt(
$curl,
CURLOPT_HTTPHEADER,
['Content-Type: application/json; charset=utf-8',
'Authorization: Basic '. base64_encode($username.':'.$api_key)
]
);
$res = curl_exec($curl);
echo "<pre>";
print_r($res);

Kevin
@kvonspiczak
hey, i'm trying to display the captcha code image always (not just on focus of the input field). i made it work by changing line 102 in jquery.shopware-responsive.js & adding .addPlugin('div.captcha--placeholder[data-src]', 'swCaptcha', { autoLoad: true }) now if i'd update shopware that change would be lost, how can I make this change update safe?
Kevin
@kvonspiczak
nervermind, i figured it out. I added a new js file in my Theme.php, in there I call removePlugin, followed by addPlugin with my autoLoad : true option
ritesh-zestard
@ritesh-zestard
Hi Guys, can anyone guide me in shopware 5 ?
ritesh-zestard
@ritesh-zestard
I need to apply "sArticles::getLegacyProduct::after" but not sure how to apply hook in shopware
Steffen
@steffen1337
Hey I wanted to develop SW6 locally (MAMP). If everything works! Can I also install local plugins even if I don't have a domain? Or do I have to verify the domain?
Jennifer Eberlei
@jennifer.eberlei_gitlab

Hi, I have setup a local vm (ubuntu 18.04) to mirror a server environment for sw5 and I have migrated the db and everything works fine - my job is to do some performance improvments and I installed the webp support plugin - I cleared the cache and wanted to move on with regenerating the thumbnails but when I try to do the php bin/console command I get the following output:

jenny@jenny-VirtualBox:/var/www/deuba.local$ php bin/console
PHP Fatal error:  Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141

Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
jenny@jenny-VirtualBox:/var/www/deuba.local$ php bin/console frosh:webp:status
PHP Fatal error:  Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141

Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141

I was wondering if it had to do with file permissions but even afte rsetting everything to 777 its still not working. anybody may has a hint?

Benji Zhai
@benjizhai
Hi, I'm trying out the master branch docker build.
./psh.phar docker:start runs fine, but ./psh.phar docker:ssh gives the following error
Using .psh.yaml.dist

Starting Execution of 'docker:ssh' ('/home/benji/git/shopware/development/dev-ops/docker/actions/ssh.sh')


(1/1) Starting
> docker exec -i --env COLUMNS=`tput cols` --env LINES=`tput lines` -u 1000:998 -t  bash
    "docker exec" requires at least 2 arguments.
See 'docker exec --help'.

Usage:  docker exec [OPTIONS] CONTAINER COMMAND [ARG...]

Run a command in a running container

Execution aborted, a subcommand failed!
$docker -v
Docker version 19.03.13, build 4484c46d9d
$docker-compose -v 
docker-compose version 1.27.1, build 509cfb99
Benji Zhai
@benjizhai
any ideas?
Jennifer Eberlei
@jennifer.eberlei_gitlab
Hi, I have the issue in SW5 that I can't see themes in my ThemeManager. I cleared the shop cache multiple times, checked file and folder permissions and the owner and I still don't get anywhere. For some reason the correct theme is displayed in the frontend though.
Yogesh
@Yogesh-Makwana
Hi,
I would like to authenticate API with the api credentials.. is there any way to do it with CURL in shopware 6 ?
Daniel
@panconjugo
Hello everyone, does anyone know why I am having problems trying to upload images into the media? I am getting an "Error while uploading file" message (SW6). I have a local virtualhost on Ubuntu 20 and I am not sure if this is a permission problem or something else. I was also cheking the dev.log under /var/log and it is updating with more errors every X seconds.
[2020-10-16 14:04:21] php.INFO: User Deprecated: The "Symfony\Component\Debug\DebugClassLoader" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Symfony\\Component\\Debug\\DebugClassLoader\" class is deprecated since Symfony 4.4, use \"Symfony\\Component\\ErrorHandler\\DebugClassLoader\" instead. at /var/www/html/shopware6.test/vendor/symfony/debug/DebugClassLoader.php:16)"} []
[2020-10-16 14:04:21] request.INFO: Matched route "api.media.create". {"route":"api.media.create","route_parameters":{"_route":"api.media.create","_controller":"Shopware\\Core\\Framework\\Api\\Controller\\ApiController::create","entityName":"media","version":"3","path":""},"request_uri":"http://shopware6.test/api/v3/media","method":"POST"} []
[2020-10-16 14:04:21] php.INFO: User Deprecated: The "Symfony\Component\Debug\DebugClassLoader" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Symfony\\Component\\Debug\\DebugClassLoader\" class is deprecated since Symfony 4.4, use \"Symfony\\Component\\ErrorHandler\\DebugClassLoader\" instead. at /var/www/html/shopware6.test/vendor/symfony/debug/DebugClassLoader.php:16)"} []
[2020-10-16 14:04:21] request.INFO: Matched route "api.action.media.upload". {"route":"api.action.media.upload","route_parameters":{"_route":"api.action.media.upload","_controller":"Shopware\\Core\\Content\\Media\\Api\\MediaUploadController::upload","version":"2","mediaId":"4968e4a206634cb6b2939d4e925b2341"},"request_uri":"http://shopware6.test/api/v2/_action/media/4968e4a206634cb6b2939d4e925b2341/upload?extension=png&fileName=zaqq_logo_new-desk","method":"POST"} []
[2020-10-16 14:04:21] php.DEBUG: Warning: mkdir(): Permission denied {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/var/www/html/shopware6.test/vendor/league/flysystem/src/Adapter/Local.php\",\"line\":103,\"trace\":[{\"file\":\"/var/www/html/shopware6.test/vendor/league/flysystem/src/Adapter/Local.php\",\"line\":156,\"function\":\"ensureDirectory\",\"class\":\"League\\\\Flysystem\\\\Adapter\\\\Local\",\"type\":\"->\"}],\"count\":1})"} []
Daniel
@panconjugo
Fixed, just a permission problem ;)
Daniel
@panconjugo
Hello everyone, I have a question. The only way to develop a custom theme in SW6 is working with the development git from SW6? I have an normal SW6 installation locally and I was creating a custom theme with custom sass files but couldn't manage to compile it.
Yogesh
@Yogesh-Makwana
Hi,
I would like to authenticate API with the api credentials.. is there any way to do it with CURL in shopware 6 ?
Avoidbc
@Avoidbc
Hello, I have a quick question. So I got my Shopware 5 plugin and I would like to port it to Shopware 6. Do I need to build my own view or can I just do some kind of Ext frame thing?
Yogesh
@Yogesh-Makwana

Hi Guys,

Is there any change from the shopware end in the API connection? anyone has any idea.. Please suggest?

Arjan Weurding
@DrowningElysium
Hi, where can I find documentation about all the error responses the API can throw? I currently am looking for the response that you get when you use an old API version. For example V1
Arjan Weurding
@DrowningElysium
No help needed anymore, I found out by digging in the code
veera0011
@veera0011
I need to change the value of core function sAdmin..Can anyone tell how to write hook for this?
veera0011
@veera0011
'Shopware_Modules_Admin::GetPremiumShippingcosts::after' => 'onShippingCostChange', is this correct?
karan-webkul
@karan-webkul
Hello Everyone,
I want to use PHP-XMLRPC in shopware 6 plugin in the AbstractController class's saveConfig Method to send data from shopware end to odoo end. Can anyone help me with this.
Thanks
stoyanpopov4
@stoyanpopov4
Hello, guys! Is there a possible way to add more than 1 voucher in basket? Or if the voucher is percental to add it to more than one order? In SW5.
schultercrem
@schultercrem

Hello there :),

I'm experiencing the following error when trying to update to 6.3.4.0

Error


Please try to fix this error and restart the update.
Response
"
\nFatal error:  Class 'Symfony\\Component\\HttpKernel\\Exception\\HttpException' not found in /home/<placeholder>/www.<placeholder>.de/dev/vendor/shopware/platform/src/Core/Framework/ShopwareHttpException.php on line 8
\n"

The HttpException class exists in the symfony vendor folder.

Anyone else having this problem at the moment?

Thank you!

ghaeusler
@ghaeusler

Hello there. I want to edit an order-line-item in an exisitng order via API. Actually i am able to edit the price of the order-line-item but the whole order amount is not affected. I know that i have to recalculate the order like this:

http://shopware6.test.de/api/v2/_action/order/cdff5f32d8484c4f811d65343bf1bbfe/recalculate

But when i try via Postman, i got the following answer:

{
"errors": [
{
"status": "400",
"code": "CHECKOUT__ORDER_RECALCULATION_FAILED",
"title": "Bad Request",
"detail": "Order with id \"cdff5f32d8484c4f811d65343bf1bbfe\" could not be recalculated. Live versions can't be recalculated. Please create a new version.",
"meta": {
"parameters": {
"orderId": "cdff5f32d8484c4f811d65343bf1bbfe",
"details": "Live versions can't be recalculated. Please create a new version."
}
}
}
]
}
Does anyone have any idea what needs to be done to get the order recalculated?

Hendrik Legge
@ThemePoint
Hey everybody. Hope somebody can help me with my problem. I had created a custom entity and would like to read the entries with into a sw-entity-single-select in administration. I created the form and the request is running to the endpoint http://domain.com/api/v3/search/custom-entity ... But this endpoint return a error 500 and nothing is printed to the log. Hase somebody an idea how to solve?
karan-webkul
@karan-webkul
Hello Everyone,
I want to use PHP-XMLRPC in shopware 6 plugin in the AbstractController class's saveConfig Method to send data from shopware end to odoo end. Can anyone help me with this.
Thanks
Jan Van der Taelen
@jannemoonvx_twitter
Does anybody now what the exclusive column in the promotions table means?
dev-ster
@dev-ster
What’s this error about?
Serialization error in custom facet Dekor: Value "(object Object)" is not an integer or a number castable to integer.
Roman Fesko
@romandinarys
Hello! Does anybody know how to override or extend JS classes from utility folder of storefront (sw6)? I want to change structure of loader component (static method getTemplate)
fredyg
@fredyg55999852_twitter
@shyim I 'm just trying to run the test script composer run-script test after installing the git version of the FroshProfiler but I still get
Fatal error: Uncaught RuntimeException: No autoloader found in /develop/frosh-profiler/FroshProfiler/vendor/frosh/shopware-classic-phpunit-bridge/src/Bootstrap/Functional/bootstrap.php on line 12
Alexey Palamar
@shopwarrior

hello guys, for shopware6 I need to make listing order like

  1. article inStock(not order by MAX(product.availableStock), just if product has inStock)
  2. date of creation

So at the end of the show order by should looks like
Order by IF(MAX(product.availableStock)>0,1,0) desc,product.createdAt DESC
But I'm stock how to add IF(MAX(product.availableStock)>0,1,0), maybe anyone can advice how to do it?

Lukas Kahwe Smith
@lsmith77
we have a customer that wants to do some content and products for specific groups of people, ie. a member only section. how much of this is available out of the box in the professional edition?
fredyg
@fredyg55999852_twitter
Hi guys, any one to help me to get this query running with DAL in shopware 6?
```SELECT
    od.articleordernumber
  , cc.countryname
  , SUM(od.quantity)
FROM s_order_details AS od
  JOIN s_order AS o
    ON o.id = od.orderID
  JOIN s_order_shippingaddress AS os
    ON os.orderID = od.orderID
  JOIN s_core_countries AS cc
    ON cc.id = os.countryID
WHERE DATE(o.ordertime) BETWEEN DATE_FORMAT(NOW() - INTERVAL 1 MONTH, '%Y-%m-01') AND LAST_DAY(NOW() - INTERVAL 1 MONTH)
GROUP BY od.articleordernumber, cc.id;    ```