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

    green-engine-89301

    07/12/2022, 8:26 AM
    Hello Everyone! Could you guys instruct me? When I am trying to create "ProductCountry module (Zed)" then frontend is breaking and it's giving me this error :
    t
    • 2
    • 2
  • g

    green-engine-89301

    07/12/2022, 8:28 AM
    I am following this documentation for create ProductCountry module in ZED :
  • g

    great-byte-99546

    07/12/2022, 8:56 AM
    Is there full implementation of Zed API ? https://docs.spryker.com/docs/scos/dev/sdk/zed-api/zed-api-project-implementation.html
    p
    • 2
    • 2
  • c

    clever-jelly-54786

    07/12/2022, 11:17 AM
    Hi All, Facing this issue in docker up command. Any suggestions on this?
    a
    • 2
    • 2
  • a

    ancient-apartment-59274

    07/12/2022, 12:42 PM
    Hello, what migrations have to be done to move from “old” zed login to the “new” backoffice? I am pretty sure i did https://docs.spryker.com/docs/scos/dev/feature-integration-guides/202108.0/spryker-core-back-office-feature-integration.html#prerequisites But it seems i got a redirect loop for the backoffice login since AccessControlEventDispatcherPlugin catches the request and notices that there is no logged in user … as far as i remember before there was also a dispatcher plugin that fired before the accesscontrol plugin and handled the login. How does it work now? Best
    a
    • 2
    • 5
  • f

    faint-teacher-33864

    07/13/2022, 2:19 AM
    Hello, I want to extend the customer profile/account fields. Can anyone guide me to add new zed to extend functionality ?
    p
    • 2
    • 6
  • p

    purple-coat-90835

    07/13/2022, 2:36 PM
    Hi there, I also have a question regarding the migration from "one" ZED to Backoffice, BackendGateway and BackendApi. In the latest docker-sdk version, `SPRYKER_BE_HOST`env variable is set to
    <http://backoffice.de|backoffice.de>.my-project.local
    . Shouldn't this rather point to the new BackendGateway (e.g.
    <http://backend-gateway.de|backend-gateway.de>.my-project.local
    ) instead? I could not find any explicit documentation on the intended use, but for my understanding it should be something like Backoffice = "ZED UI" Backend Gateway = processes requests from Yves/Glue Backend API = individual "ZED API" for external calls
    m
    • 2
    • 2
  • f

    fresh-tent-43300

    07/13/2022, 3:03 PM
    Hey all, we are using a Backend Api to create and update orders and their items, so all orders from all channels are accessable in the shop. With that, items could be changed or removed from the order (changed in our ERP). Ofc deleting orderItems is a pain because of the references in the OMS, etc. I´ve have tried all functions from
    SpySalesOrderItem
    like
    $salesOrderItemEntity->clearTransitionLogs();
    but it never triggers the deletion of the fk-data entities. What do I miss? Thanks!
    a
    • 2
    • 2
  • g

    great-byte-99546

    07/14/2022, 10:30 AM
    How true is this atm?
    Basically, almost every Spryker module provides one or more helpers. The helpers can be found in the tests/Organization/Application/Module/_support/Helper/* directory.
    There is no such directory for helpers
    a
    • 2
    • 1
  • g

    great-byte-99546

    07/14/2022, 1:40 PM
    How to sync data to redis for test? Using
    \SprykerTest\Shared\Product\Helper\ProductDataHelper::haveProductAbstract
    in test to get and insert the product in DB
    a
    • 2
    • 1
  • c

    chilly-rainbow-75540

    07/15/2022, 8:35 AM
    Hi everyone! I would like to ask how to refresh tokens while using
    /backoffice-access-tokens
    ? Looks like
    /refresh-tokens
    is not working for BE users. Any help will be appreciated
  • a

    acoustic-motherboard-16553

    07/15/2022, 10:20 AM
    Hi, is there anyone who can point me to the correct spot where 'PaymentSelection' would be set? I have atm the problem that in the fallback the deprecated getPayment() will be used and the payment selection is an object and a string is expected
  • a

    able-train-56624

    07/18/2022, 11:43 AM
    Hello! Is anyone using browser language detection with Spryker to set the default Yves display language? Could you hint where to look at if this is already available in Spryker?
    a
    • 2
    • 2
  • d

    damp-area-26048

    07/18/2022, 1:52 PM
    Hey guys, wondering if anyone has ever needed to search for multiple category nodes in one search ? As the docs show only one category node can be supplied per catalog search?
  • a

    acceptable-sundown-99280

    07/18/2022, 6:28 PM
    Hello, I installed Kibana UI service for Spryker docker installation. I am using ubuntu 20.4 and b2b development shop. Kibana service has been setup properly but noticed one issue. when I access Kibana service: I can see following issue: I installed it to see if we can monitor elastic search queries from kibana ui. could you please guide how to resolve that?
    b
    a
    • 3
    • 11
  • f

    faint-teacher-33864

    07/19/2022, 10:39 AM
    Hello Guys , Is there any list of commands to create new module or extend current modules ?
    c
    f
    • 3
    • 4
  • a

    ancient-apartment-59274

    07/19/2022, 11:35 AM
    Hello, currently having some trouble creating/updating categories in via import. It seems that in the CategoryRepository the getCategoryNodeUrlPathParts() method has a problem with $nodeQuery->find()->toArray() … while $nodeQuery->find() returns a result (4 in this case), the toArray runs into memory exception after a while … any known issues here? Might this be a propel related issue? Best regards
    w
    • 2
    • 8
  • b

    broad-grass-11904

    07/20/2022, 4:29 AM
    Team need a suggestion I created a custom console command like this vendor/bin/console calculateNumbers:additionAction -f -3 -s -3 here I am trying to add to negative numbers and landing in issue that command cannot be executed can you help me here
    b
    • 2
    • 2
  • b

    broad-grass-11904

    07/20/2022, 4:30 AM
    I also tried vendor/bin/console calculateNumbers:additionAction f "-3" s "-3"
  • b

    broad-grass-11904

    07/20/2022, 4:30 AM
    vendor/bin/console calculateNumbers:additionAction -f "-3" -s "-3"
  • b

    broad-grass-11904

    07/20/2022, 4:30 AM
    vendor/bin/console calculateNumbers:additionAction -f -3 s -3"
  • b

    broad-grass-11904

    07/20/2022, 4:31 AM
    This below option usage any suggestions welcome vendor/bin/console calculateNumbers:additionAction -f =-3 s=-3
  • e

    early-jelly-70954

    07/20/2022, 11:58 AM
    Hello, I managed to extend the Elasticsearch results with the attributes for the product concretes (attributes show up in the
    search-result-data
    section). But I would also like to use the facets for the concrete products (just like by the abstract products). I noticed that the
    string-facet
    ,
    integer-facet
    sections are missing for the concretes in Elasticsearch. Can you help me out here, how to include these data for the concretes in Elasticsearch?
  • g

    glamorous-belgium-69956

    07/20/2022, 4:51 PM
    Hi, I am trying to run this command console codesniffarchitecture -m '/data/src/Pyz/Zed/Config' . I have made my module in src/Pyz/Zed and module name is Config. I am trying to tun the code sniffer command but I am getting No paths found for checking. Any help would be highly appreciated.
    f
    • 2
    • 1
  • o

    orange-analyst-340

    07/21/2022, 12:08 PM
    Hi everyone, I'm trying to upgrade elasticsearch to version 7.6. I was reading from documentation of elastic search(this) and from spryker's documentation (this) I was able to upgrade modules using this command.
    composer require ruflin/elastica "spryker/elastica:6.0.0" spryker/product-review spryker/search spryker/search-elasticsearch spryker/synchronization spryker/collector spryker-eco/fact-finder-ng spryker-feature/search spryker/key-builder spryker/propel-orm propel/propel spryker/synchronization-extension "elasticsearch/elasticsearch:7.1.1" spryker/kernel guzzlehttp/guzzle aws/aws-sdk-php guzzlehttp/psr7 guzzlehttp/promises
    After update almost every command i try in Spryker CLI fails with error.
    Copy code
    ArgumentCountError - Exception: Too few arguments to function Propel\Runtime\Connection\ConnectionManagerPrimaryReplica::__construct(), 0 passed in /data/vendor/spryker/propel/src/Spryker/Zed/Propel/Communication/Plugin/Application/PropelApplicationPlugin.php on line 39 and exactly 1 expected 
    in /data/vendor/propel/propel/src/Propel/Runtime/Connection/ConnectionManagerPrimaryReplica.php (51)
    In file src/Spryker/Zed/Propel/Communication/Plugin/Application/PropelApplicationPlugin.php which is core file in function "provide" on line 39 we call constructor.
    $manager = new ConnectionManagerMasterSlave();
    (Picture 1) This constructor firstly calls class by name ConnectionManagerMasterSlave.php. That class is deprecated and it says to use class
    Copy code
    ConnectionManagerPrimaryReplica
    which it extends (Picture 2). Since ConnectionManagerMasterSlave.php doesn't have it's own defined constructor it uses constructor from class it extends. But here is where problem occurs. Class
    ConnectionManagerPrimaryReplica
    has an overridden constructor which takes exactly 1 argument. Since there is overridden constructor, and no default constructor is defined, calling constructor with empty arguments will always result in error. (Picture 3) From my point of view this is OOTB bug. Can maybe someone confirm that ? What is procedure to open ticket for this to Spryker if what i'm saying is right?
  • b

    bulky-helicopter-87316

    07/21/2022, 1:10 PM
    Hello, I am trying to deactivate a concrete product by calling the
    productFacade->deactivateProductConcrete
    function in a console command. However, the corresponding unpublish events are not triggered, so the product is still visible in Yves. Manually deactivating the product in the zed gui triggers the same function call, but leads to additional events that correctly remove the product from Yves. It seems like deactivating in the zed gui causes two
    SpyEventBehaviorEntityChange
    instances to be created, which are then handled by
    eventBehaviorFacade->triggerRuntimeEvents
    . This doesn’t seem to happen when I call the function myself. What do I need to do to trigger the correct events after deactivating a product? I don’t want to trigger them all manually with loads of
    ->unpublish
    calls.
    k
    • 2
    • 2
  • a

    able-train-56624

    07/22/2022, 7:22 AM
    Hello! I have a quick question regarding the OMS: How to enable new versions in acceptance/production? I added a new version, and in order to use it, updated the config/Shared/common/config_oms-development.php (which obviously works in my dev environment):
    Copy code
    $config[OmsConstants::ACTIVE_PROCESSES] = array_merge([
        'Nopayment01',
        'MyPayment05',
    ], $config[OmsConstants::ACTIVE_PROCESSES]);
    
    $config[SalesConstants::PAYMENT_METHOD_STATEMACHINE_MAPPING] = array_replace(
        $config[SalesConstants::PAYMENT_METHOD_STATEMACHINE_MAPPING],
        [
            MyPaymentConfig::PAYMENT_METHOD_CREDIT_CARD => 'MyPayment05',
            NopaymentConfig::PAYMENT_PROVIDER_NAME => 'Nopayment01',
            GiftCardConfig::PROVIDER_NAME => 'MyPayment05',
        ]
    );
    Where to add this configuration in acc/prod?
    b
    • 2
    • 5
  • a

    able-shoe-67344

    07/22/2022, 8:00 AM
    Hi all, does somebody have experience with videos as additional product assets? So I mean adding and assigning a video to a product in the backoffice, and displaying it in Yves on the product details page. Thanx for ideas, hints, links, code 🙂 ...
    k
    • 2
    • 2
  • m

    mysterious-ambulance-11183

    07/25/2022, 11:00 AM
    Hi all, I have a short question: When using export feature for exporting order data, it exports the data out of the box onto a local directory. If I want to export the data to s3 I need to create a new DataExportConnectionPlugin that implements DataExportConnectionPluginInterface, and that is applicable to a new connection type? Or is there already anything readymade?
    • 1
    • 1
  • a

    acceptable-sundown-99280

    07/25/2022, 1:44 PM
    Hello, I am looking for an example how can we utilise middleware Writer stage to use default category importer to import data. I have already created reader and translator for that. Not sure how can I utilise writer to use default data importer to import category data.
    k
    • 2
    • 3
1...606162...102Latest