https://www.spryker.com logo
Join Slack
Powered by
# help
  • c

    careful-country-34175

    10/06/2022, 6:54 AM
    I want to extend the view
    suggestion-results
    and overwrite the content so that an organism is loaded there. The whole thing (suggestion-results) is loaded via the SuggestionController using AJAX and it seems that in this case the javascript of the organism is not loaded. Is there a trick here, or does the Webpack Magic comment, for example, have to look different? Currently the registration of that specific organisms uses the
    lazy
    -tag of webpack.
    i
    • 2
    • 1
  • l

    late-tiger-76201

    10/06/2022, 8:14 AM
    I’m getting this error during installation:
    Copy code
    > [2/3] RUN /usr/bin/install -d -m 777 /var/run/opcache/debug:
    #7 0.158 /usr/bin/install: cannot create directory '/var/run/opcache': Permission denied
    ------
    executor failed running [/bin/sh -c /usr/bin/install -d -m 777 /var/run/opcache/debug]: exit code: 1
  • c

    clean-painter-47981

    10/06/2022, 9:24 AM
    Hello Everyone, I have integrated the Avalara module. For existing products the TaxCodes are imported. Now our customer asked me how he can add the Avalara TaxCodes for new products. Unfortunately I can't find a way to enter them in the backoffice. In the description https://docs.spryker.com/docs/pbc/all/tax-management/tax-management.html#international-tax-rates-and-sets it says that the TaxCodes can only be imported and that there is no possibility in the backoffice or storefront. How can my customer now enter the TaxCodes for the products without working on the import files and importing them?
  • s

    stocky-architect-18877

    10/06/2022, 12:51 PM
    Hi Team I want to remove column from glossary grid in backoffice. What is the best way to do
    w
    • 2
    • 1
  • m

    modern-cpu-62347

    10/06/2022, 5:03 PM
    is there a way to run a bunch of update SQL statements inside of Spryker after the migration has already run? Or do I have to run the SQL script manually?
    b
    • 2
    • 2
  • d

    dry-australia-16821

    10/11/2022, 7:33 AM
    Hey everyone, is it possible to increase maximum execution time of ActiveQuery? The CSV download of orders is taking to long and fails.
    a
    • 2
    • 2
  • r

    ripe-table-11062

    10/11/2022, 7:41 AM
    Hi everyone ,can a merchant can also login in merchant portal without creating merchant user ?
    b
    • 2
    • 2
  • j

    jolly-solstice-36678

    10/11/2022, 9:48 AM
    Hello together, I have a question, when would the upgrade from Elasticsearch 7 to 8 in Spryker happen according to the plan? Thanks in advance for answering.
    a
    • 2
    • 3
  • f

    full-chef-58489

    10/11/2022, 9:48 AM
    @full-chef-58489 has left the channel
  • b

    bright-librarian-29390

    10/12/2022, 11:58 AM
    Hi everyone, is there any doc/tutorial how to make custom relationship for Glue (I mean glue_endpoint?include=custom_data)? I found something in the documentation, but it has some rudimentary information.
    w
    • 2
    • 2
  • q

    quiet-ram-72134

    10/13/2022, 9:25 AM
    Hello together, i am trying to install the Spryker b2b demo shop now for the second time and encounter some strange errors i didn´t met the first time. Now when i want to bootstrap with deploy.dev.yml the application i get the messge: 'docker-sync' is not found. Please, make sure this application is installed and added to PATH. I am on Win10 system with wsl2 ubuntu? Does someone else has some advice for me?
    ✅ 1
    p
    • 2
    • 11
  • g

    green-engine-89301

    10/14/2022, 11:24 AM
    Hi , Team I want to Customize Design of this search bar Pop-up . Please Provide me the path of this pop-up twig file and CSS file.
    ✅ 1
    m
    • 2
    • 2
  • p

    plain-pharmacist-44109

    10/15/2022, 7:03 PM
    just wondering. is it possible to use sth like sentry (or custom logger, I've implemented one) for exceptions handling in spryker? I believe it would be a great source of info for QA
    q
    • 2
    • 1
  • p

    prehistoric-carpenter-29430

    10/16/2022, 10:54 AM
    Hello Team, Newbie here. I am trying to do Docker + Ubuntu Spryker B2B demo setup. Followed the spryker documentation. - https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installing-spryker-with-docker.html I am getting the below mount error for "spryker_b2b_dev_cli_ssh_relay_1" this container. Can somehelp guide me on this. Thanks in Advance.
  • e

    early-army-90039

    10/17/2022, 7:10 AM
    Hi Team Please give reference for test cases for Communication, Presentation and Persistence Layer. I am trying to create test cases taking reference from customer module. Like this
    <?php
    /**
    * Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
    * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
    */
    namespace PyzTest\Zed\SeoTemplates\Communication\Controller;
    use Codeception\Test\Unit;
    use SeoTemplatesCommunicationTester;
    /**
    * Auto-generated group annotations
    *
    * @group PyzTest
    * @group Zed
    * @group Customer
    * @group Communication
    * @group Controller
    * @group SeoTemplatesIndexTest
    *
    */
    class SeoTemplatesIndexTest extends Unit
    {
    protected const TEMPLATES_PAGE = '/seo-templates';
    /**
    * @param SeoTemplatesCommunicationTester $test
    *
    * @return void
    */
    public function testBreadCrumbIsVisible(SeoTemplatesCommunicationTester $test): void
    {
    $test->amOnPage(static::TEMPLATES_PAGE);
    $test->seeBreadcrumbNavigation('Merchandising / SEO Templates');
    }
    }
    But I am getting following error:
    [ArgumentCountError] Too few arguments to function PyzTest\Zed\SeoTemplates\Communication\Controller\SeoTemplatesIndexTest::testBreadCrumbIsVisible(), 0 passed in /data/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1527 and exactly 1 expected
    Please give reference for test cases from where I can take help for same.
    m
    • 2
    • 4
  • f

    fast-activity-30172

    10/17/2022, 7:54 AM
    Hello Everyone, If I want to get the data of logged-in users in the back office which class or helper function can help me?? Thanks
    w
    • 2
    • 2
  • l

    little-island-16971

    10/17/2022, 10:03 AM
    Hi everybody, I am upgrading spryker from 202009 to 202108. The
    docker/sdk up
    is working well, the
    zed backend
    is ok, but in Yves, when we need to communicate with Zed it always failing with an error as:
    Copy code
    Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for &quot;POST <https://zed.de.shop-b2b.local/customer/gateway/customer&quot>; in file /data/vendor/symfony/http-kernel/EventListener/RouterListener.php on line 135 ◀
    
    Caused by
    Symfony\Component\Routing\Exception\ResourceNotFoundException: None of the routers in the chain matched this request POST /customer/gateway/customer HTTP/1.1
    The
    RouterDependencyProvider
    in
    Zed
    has updated as in the b2b-demo-shop:
    Copy code
    /**
     * @return \Spryker\Zed\RouterExtension\Dependency\Plugin\RouterPluginInterface[]
     */
    protected function getBackofficeRouterPlugins(): array
    {
        return [
            new BackofficeRouterPlugin(),
        ];
    }
    
    /**
     * @return \Spryker\Zed\RouterExtension\Dependency\Plugin\RouterPluginInterface[]
     */
    protected function getBackendGatewayRouterPlugins(): array
    {
        return [
            new BackendGatewayRouterPlugin(),
        ];
    }
    And even I have tested with the old one:
    Copy code
    protected function getRouterPlugins(): array
    {
        return [
            new ZedRouterPlugin(),
            // This router will only be hit, when no other router is able to match/generate
            new ZedDevelopmentRouterPlugin(),
        ];
    }
    But nothing works. Running the console command
    vendor/bin/console router:debug:backend-gateway
    the route is showed. Has anybody any clue about what would be wrong?
    p
    • 2
    • 10
  • a

    ancient-apartment-59274

    10/17/2022, 2:31 PM
    Hello, does somebody ever handled “multiple attributes” for one abstract/concrete in Spryker successfully? We currently need to represent a scenario where a product variant can have for example multiple colors like green, black and white but are not limited to just one of those colors. The user should get displayed a “multi-value” filter where he can select any of those colors. as long as he matches any color being in the variant, the product should be visible. First idea was to set up multiple color attributes like color_1, color_2, color_3 etc. … but since we don’t know how many colors a product might have, we cannot declare it in advance. Also it makes no sense if the order of color changes … because if color_1 = red and color_2=white, it should be the same as color_1 = white and color_2 = red. Technically it feels like it should behave more like a tag which can be filtered in elasticsearch also, but spryker seems not to be capable to handle this. Any ideas/suggestions and or experience from your projects? Is there anything planned in future? Best regards
    c
    a
    • 3
    • 27
  • n

    numerous-kitchen-79937

    10/17/2022, 9:31 PM
    Hi herd… I’m trying to access the Glue Api from a parallel PHP application running in a separate Docker instance, but it looks like Glue won’t accept the connection. I’m using Symfony’s HttpClient:
    Fatal error: Uncaught Symfony\Component\HttpClient\Exception\ClientException: HTTP/1.1 404 Not Found returned for "<http://glue.pricecoshop.local/catalog-search?q=Cabbage>". in /var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php:174 Stack trace: #0 /var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php(48): Symfony\Component\HttpClient\Response\CurlResponse->checkStatusCode() #1 /var/www/html/vendor/symfony/http-client/Response/CurlResponse.php(247): Symfony\Component\HttpClient\Response\CurlResponse->doGetContent(true) #2 /var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php(83): Symfony\Component\HttpClient\Response\CurlResponse->getContent(true) ...
    When I access the same endpoint via Postman it works fine. When I simply type the endpoint URL into the browser, it works fine. Also when I run the PHP script from the CLI it works too… But it errors only when I try to access via the docker PHP application. I’ve tried doing a simple CURL request from the application and this doesn’t work either. My Spryker config is:
    $config[GlueApplicationConstants::GLUE_APPLICATION_CORS_ALLOW_ORIGIN] = '*';
    so it’s not a CORS thing… Any help would be much appreciated! :)
    w
    • 2
    • 4
  • e

    early-army-90039

    10/18/2022, 7:08 AM
    Hi Please let me know whether there is any way in spryker to seed data in database. Like I need to add some data in database master table. Is there any way to add that without manually adding data in table?
    w
    • 2
    • 10
  • e

    eager-island-84229

    10/18/2022, 8:21 AM
    Hi! I would like to extract a Spryker module I created into another Git repo and to require it through composer. It looks like Sprkyer is not looking into vendor/foobar/src/Pyz/... but only into "Spryker" directories (especially thinking about Zed controller and routes). Is there any way to achieve this?
    a
    • 2
    • 9
  • b

    bright-cat-24225

    10/18/2022, 9:52 AM
    Hi! Is there a branch for spryker b2b/b2c/marketplace with PHP8 compatibility available? With updated composer.json/lock files?
    a
    • 2
    • 1
  • g

    glamorous-book-96870

    10/18/2022, 1:43 PM
    Hi everyone! I'm looking to prevent users from resetting and using their current password as their new password as well as preventing their username from being used as a password. What would be the best way to accomplish this? Is it possible to retrieve the current password and username and somehow add it to the deny list found in
    CustomerConfig.php
    .
    w
    • 2
    • 3
  • a

    acceptable-sundown-99280

    10/18/2022, 2:20 PM
    In stores.php we have locales like this: Here in this array, key 'en' and 'de', what does it represent?
    Copy code
    'locales' => [
                // first entry is default
                'en' => 'en_US',
                'de' => 'de_DE',
            ],
    Is it used for country? or we can add anything as key and key is not used anywhere? I have 5+ locales available for multiple countries like fr_CA, en_CA and es_CA.
    d
    • 2
    • 6
  • s

    stocky-architect-18877

    10/19/2022, 9:12 AM
    Hi Team When i running test case with command vendor/bin/codecept run -c tests/PyzTest/Zed/ModuleName I getting below error [PHPUnit\Framework\Exception] Use of undefined constant APPLICATION_ENV - assumed 'APPLICATION_ENV' (this will throw an Error in a future version of PHP) at ../../../../vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/ClassInfo.php:127 Anybody knows why this error is given from Spryker ? did i miss something ?
    w
    • 2
    • 1
  • e

    enough-byte-77557

    10/19/2022, 9:57 AM
    Is there a module which lets users add a product option with a free text field? For example, a bracelet with a custom message inscribed in it, and that message is typed in by the user when they add the item to their cart
    w
    • 2
    • 3
  • e

    early-army-90039

    10/19/2022, 11:24 AM
    Hi team Can you please give some referece how mocking works in spryker test cases?
    w
    • 2
    • 3
  • g

    green-engine-89301

    10/19/2022, 1:06 PM
    Hi team we are working on elastic search . Can you provide me the way how we break to default elastic search functionality and add custom elastic search functionality on project level.
    w
    • 2
    • 1
  • m

    mysterious-ambulance-11183

    10/20/2022, 7:02 AM
    Hi guys, I have a question regarding guest customers: How is it possible to retrieve the SalesOrder for a guest user in Yves? The SalesClient always wants to have a CustomerId as a parameter, since under the hood Zed uses the methods getCustomerOrder, which requires CustomerId and SalesOrderId to be set. BUT as far as I can see, for a guest user there is no customer...
    • 1
    • 1
  • b

    bright-librarian-29390

    10/20/2022, 10:59 AM
    Hi guys, I have a problem with Elasticsearch. In postman, after executing the query, i've got 3 matching records to my attribute, but after doing this in code i've got only one (first) matching record. Is there any way to solve this? In answer to my question there's my query in postman and below method from my QueryPlugin.
    w
    • 2
    • 4
1...686970...102Latest