Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 06:18
    reConNico opened #2395
  • Dec 02 16:20
    JoshuaBehrens opened #2394
  • Nov 30 10:43
    shopwareBot labeled #2390
  • Nov 30 10:43
    shopwareBot unlabeled #2390
  • Nov 30 10:43
    shopwareBot closed #2390
  • Nov 30 10:42
    shopwareBot labeled #2392
  • Nov 30 10:42
    shopwareBot unlabeled #2392
  • Nov 30 10:41
    shopwareBot labeled #2391
  • Nov 30 10:41
    shopwareBot labeled #2382
  • Nov 30 10:41
    shopwareBot unlabeled #2382
  • Nov 30 10:41
    shopwareBot unlabeled #2382
  • Nov 30 10:41
    shopwareBot unlabeled #2382
  • Nov 30 10:41
    shopwareBot closed #2382
  • Nov 30 10:41
    shopwareBot closed #2392
  • Nov 26 10:51
    colinmurphy edited #2393
  • Nov 26 10:51
    colinmurphy edited #2393
  • Nov 26 10:51
    colinmurphy edited #2393
  • Nov 26 10:15
    colinmurphy opened #2393
  • Nov 24 07:58

    shopwareBot on v5.7.0-RC1

    (compare)

  • Nov 20 13:06
    mitelg labeled #2392
Mahmoud
@ma7moudat

is there a way to preview the document templates without having to create and download a document in the administration every time. I found the route
api.action.document.preview
/api/v{version}/_action/order/{orderId}/{deepLinkCode}/document/{documentTypeName}/preview
but whatever I use for the orderId I get an error saying:

The order with id EA8409F4237642F9B15D6A55FB648207 is invalid or could not be found.

Caesar2306
@Caesar2306
Hi is there a way to use colorpicker as Freetextfield? or somehow in Backend?
istgin
@istgin
Hi
I'm trying to add custom field in document repository. Shopware 6 php process eat maximum memory and die. Why this happens?
$update = [
'id' => $doc->getId(),
'customFields' => $customFields,
];
$documentepository = $this->container->get('document.repository');
$documentepository->update([$update], Context::createDefaultContext());
$documentepository->update will lead out of memory
i do it in 'document.written' event
any suggestions why this happens?
may be event called recursively?
any suggestions skip event?
istgin
@istgin
Hi
I want to configure scheduled task in shopware
I change
public static function getDefaultInterval(): int
{
return 1;
}
i run from docker SSH: bin/console scheduled-task:run
i run from docker SSH: bin/console messenger:consume -vv
istgin
@istgin
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.