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

    handsome-church-15667

    02/28/2022, 10:00 AM
    Hello, does anyone have any experience with translating filter values on the yves page? The problem is that the values that need to be filtered are not set on the on the localized attribute table on a product in zed but it's just set on a product with no extra information about the locale. It's set as this on the product on zed (1st picture). On the yves page the filters look like this (2nd picture). As you can see on the english page the colors are in german but if we would switch to german the gender filters would be in english.
  • m

    mysterious-ambulance-11183

    02/28/2022, 4:41 PM
    Hey guys, quick question regarding phpstan: when using
    docker/sdk console code:phpstan -vvv
    I sometimes have locally the problem that the result cache is being used and stale results are being displayed. Running the phpstan command in PhpStanRunner.php itself in debug mode
    --debug
    is solving the problem, since no cache is being used there, but that can't be solution. Did I miss something here using this command?
    f
    • 2
    • 2
  • f

    fresh-family-51844

    03/01/2022, 2:01 AM
    Hi, anyone can help me?
    f
    • 2
    • 3
  • b

    brief-judge-68528

    03/01/2022, 2:50 PM
    Quick question on the CTE topic after migration to the new Spryker tech stack (MariaDB): are there any official suggestions on how to optimize the imports when we want to work with batches? In the past we took some reference from https://docs.spryker.com/docs/scos/dev/guidelines/data-processing-guidelines.html#common-table-expressions as especially the
    unnest
    feature in PgSQL was a great way to work with array structures. In MariaDB (or MySQL in general) these operations are not available anymore, CTE are still working but not in the array way. Any suggestions here how to approach it? Are there maybe any "update guides" on the CTE topic for MariaDB? Thanks in advance! Stay safe out there ✌️🇺🇦
    a
    • 2
    • 3
  • a

    acoustic-businessperson-27970

    03/03/2022, 1:23 PM
    Hi all, How can we increase command timeout? thanks
    n
    e
    • 3
    • 5
  • p

    polite-lunch-97479

    03/03/2022, 5:12 PM
    I'm getting this when calling the zed UI locally:
    Copy code
    Uncaught TypeError: $.fn.dataTable is undefined
        setTableErrorMode data-table.js:41
        js init.js:57
    Could anybody point me to the package missing, please?
    m
    • 2
    • 10
  • c

    careful-leather-48930

    03/03/2022, 5:45 PM
    Did anyone integrated Adyen payments lately? The documentation is outdated and I have some issues with the forms.
  • m

    mysterious-ambulance-11183

    03/03/2022, 6:55 PM
    Hey guys, does anyone have experience extending MerchantPortal GUI? What I would like to achieve is to add a simple field to the GUI of a concrete product. In Backoffice, that was easily achievable by using a
    ProductConcreteFormExpanderPluginInterface
    that was responsible for adding custom fields to the corresponding Symfony Form, but I could not find anything in the product-merchant-portal-gui.
    c
    • 2
    • 3
  • a

    acoustic-businessperson-27970

    03/04/2022, 1:31 PM
    Hi guys, anyone has any idea why I get this error when I call Yves homepage
    Copy code
    ErrorException - ini_set(): session.name cannot be a numeric or empty ''
    in /data/srv/yves/www/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php (392)
    c
    • 2
    • 7
  • f

    fast-manchester-61640

    03/07/2022, 8:18 AM
    Hey there! Is there any better way to get an order reference id before placeOrderAction?
  • c

    calm-furniture-47590

    03/07/2022, 8:39 AM
    Hey guys, Can any one help me with how to setup
    xdebug
    on B2C demo project. As I understand, we start the xdebug with
    ./docker/sdk start -x
    command . However when selecting Image for container in PHPStorm, there are a lots of image, so which one do we select, Any Idea?
    p
    w
    a
    • 4
    • 14
  • p

    plain-zoo-22177

    03/07/2022, 9:32 AM
    Hello Folks, I just started working on Spryker Systems and looking for the UML/Class Diagrams which can actually help me to understand the component level interactions and figure out the design patterns involved in the application. The reason I am asking for it is we are trying to extend the application with Rewards and Loyalty Solution and for this I need to understand what are all the interfaces or classes I need to implement and how to wire its communication with the application level layer. Any help will be appreciated. Thank You!
    🎯 1
    👍 1
    ❤️ 2
  • m

    mysterious-king-59256

    03/07/2022, 12:21 PM
    Hello, I am working with OMS right now and found something strange. Even if OMS command handler throws exception, I see “success” page in the checkout. In the
    vendor/spryker/oms/src/Spryker/Zed/Oms/Business/OmsFacadeInterface.php:380
    doc it’s written, that it should return
    null
    in case of error, but it always returns at least empty array. In the
    \Spryker\Zed\Oms\Business\OrderStateMachine\OrderStateMachine::runCommand
    I see that it just logs exception and goes further. Is it a bug, or feature? Can iI check somehow if there was any error in the OMS?
    ➕ 1
    p
    • 2
    • 1
  • h

    handsome-church-15667

    03/07/2022, 2:55 PM
    Hello, has anyone dealt with this problem in Zed in the Slots tab, when pressing on a certain Template and choosing a Slot which has many Blocks it takes a really long time to load or even goes to timeout. Does anyone have experience in speeding up this process?
  • b

    best-sundown-96727

    03/08/2022, 7:56 AM
    Hi, does anyone know a good way to add a locale to Zed, but not to Yves? (Use Case is the Store should only be available in German, but there are non german speaking people working in the project and in Zed - so meaning just the translations of Zed UI, no "real" store locale). It seems to be much more complicated then it should be
    b
    m
    m
    • 4
    • 11
  • c

    calm-france-15664

    03/09/2022, 7:32 AM
    Hi, I need to delete all locales and leave just "si". The problem is we have locales in config/Shared/stores.php. If i delete the 'en' locale the backoffice breaks with error that he can't find locale en. What else do I have to change that this works? But yves works fine with just one locale.
    Copy code
    'locales' => [
        // first entry is default
        'si' => 'sl_SI',
        'en' => 'en_US',
    ],
    b
    • 2
    • 2
  • a

    acceptable-sundown-99280

    03/09/2022, 5:12 PM
    Hello, I have spun up B2C marketplace. All containers are working properly and showing done status. When I open marketplace portal, it throws error 'False Whales'. It throws the same error for all three stores. Can anyone help to figure out what could be the issue? or Where can I look for possible errors? I am using Ubuntu 20.4 I tried both Development mode and production as well. but none are working. can anyone please guide?
    m
    b
    • 3
    • 6
  • p

    polite-lunch-97479

    03/10/2022, 11:16 AM
    I just switched from the deprecated
    spryker-shop/navigation-widget
    to
    spryker-shop/content-navigation-widget
    but now the navigation lookup in Redis is expecting the navigation to be in namespace
    content
    . Our navigation still is in namespace
    navigation
    , though. Already republished everything, but the namespace doesn't change in Redis. Does anybody know, why the namespace changed and how to fix the navigation lookup?
    c
    • 2
    • 4
  • f

    flaky-afternoon-98068

    03/10/2022, 11:25 AM
    Hi! Is there any migration guide to move from old Zed to Backoffice/BackendGateway implementations? I'm having trouble on the BackendGateway part... no routes seem to be found, although debugging the router is showing them...
    i
    p
    • 3
    • 11
  • q

    quaint-midnight-78937

    03/10/2022, 2:46 PM
    Hello! A colleague of mine has troubles setting up Spryker on his local machine. He's running Windows 10 with WSL2. He can setup everything and he added the local URLs like
    <http://yves.de|yves.de>.spryker.local
    the the hosts file but he is not able to open the website in a browser. He always gets a
    403 Unauthorized Access
    error (even when trying to access the page with Postman) Any suggestion why this is happening? Might this be related to Docker?
  • m

    mysterious-refrigerator-76811

    03/10/2022, 2:50 PM
    Hi help, I created a custom importer not in the Pyz folder. (see attachement) Command for importing does not get found. I've reset the app already and added my custom namespace to composer.json. Any ideas on how to make my custom data import command visible to the app?
    b
    g
    • 3
    • 2
  • c

    calm-france-15664

    03/11/2022, 8:35 AM
    Hi! I deleted en locale from the project, and deleted in all transaltions en_US. Now Backoffice works fine, but Yves has problems now with routing to cart, orders etc. Where can I fix this routing configuration that to route goes to for example http://yves.si.fng.local/sl/customer/overview. Now I have the EROR 404 No route found for "GET http://yves.si.fng.local/sl/customer/overview" And because of that routing all the Yves tests are failing on Travis with the same error No route found for
    p
    • 2
    • 2
  • b

    breezy-area-19002

    03/11/2022, 9:41 AM
    Hey there, where can I report a bug in a Spryker package?
    f
    l
    • 3
    • 10
  • r

    rough-scientist-68683

    03/15/2022, 7:43 AM
    Good morning everyone, I updated ElasticSearch according to the related migration guide to version 7.10. I get an error when bootstrapping the project:
    Copy code
    PHP Fatal error:  Uncaught Twig\Error\LoaderError: Template "service/elastic/7.10.2/elastic.yml.twig" is not defined in "docker-compose.yml.twig" at line 146. in /data/vendor/twig/twig/src/Loader/ChainLoader.php:98
    Stack trace:
    #0 /data/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ChainLoader->getCacheKey('service/elastic...')
    #1 /data/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('service/elastic...')
    #2 /data/vendor/twig/twig/src/Template.php(333): Twig\Environment->loadTemplate('service/elastic...', NULL)
    #3 /data/vendor/twig/twig/src/Environment.php(418) : eval()'d code(367): Twig\Template->loadTemplate('service/elastic...', 'docker-compose....', 146)
    #4 /data/vendor/twig/twig/src/Template.php(405): __TwigTemplate_35c0c1c7f67b01e3ca72d8db6e31f05a1a0853e01a24f098133b05794511207a->doDisplay(Array, Array)
    #5 /data/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
    #6 /data/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
     in /data/vendor/twig/twig/src/Loader/ChainLoader.php on line 98
    When I change version 7.10.2 in the deploy.yml file to version 7.10 the same error happens but then it complains about
    service/elastic/7.1/elastic.yml.twig
    is missing. Does anyone know how I can solve this? And, why is it looking for
    .../elastic/7.1/...
    instead of
    .../elastic/7.10/...
    ?
    a
    • 2
    • 7
  • a

    adventurous-plumber-71255

    03/15/2022, 9:48 AM
    Hey guys, I am trying to setup Spryker B2C demo shop on M1 Mac, and following the instructions here: https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installat[…]uides/installing-in-development-mode-on-macos-and-linux.html When I run the
    docker/sdk up
    I get the error:
    Copy code
    => ERROR [internal] load metadata for <http://docker.io/library/spryker_b2c_dev_base_app:dev|docker.io/library/spryker_b2c_dev_base_app:dev>                                                                                               1.2s
    ------
     > [internal] load metadata for <http://docker.io/library/spryker_b2c_dev_base_app:dev|docker.io/library/spryker_b2c_dev_base_app:dev>:
    ------
    failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
    any help would be cool, thanks!
    a
    • 2
    • 2
  • b

    brief-judge-68528

    03/15/2022, 11:55 AM
    Hey everybody, maybe someone already solved this or has an idea how to better approach it, but we have been puzzling for quite some time now. For our customer we are migrating to the most recent version of Spryker 2021.08. In this migration we also moved to MariaDB, after solving some custom queries and some issues that are caused by Propel (yay types are lost on queries), we now headed into the weird part of the update. Our shop runs on roughly 5k categories with nodes and two languages, hence 10k attributes. These categories are nested together in a closure table with roughly 23k records. When we now publish the tree or a single node, which updates the entire tree, we are invoking the default publisher (
    CategoryNodeWritePublishPlugin
    ). This publisher collects data and runs into the repository of the Category module (
    CategoryRepository
    ). The invoked query with multiple joins took on our old Postgres database about 1.5s to collect all joined records. After moving to MariaDB this query takes from 65 to 95 seconds. As this is invoked for each node that is getting published our queue for all 5k nodes is just not being processed. Question now: 1. is anyone aware of this topic? a. If yes, how did you solve it in the past? b. If no, any ideas how to approach this? 2. any ideas on how to optimize it from the infrastructure, as the query is build in the core? We already tried to optimize the query slightly and also added combined indexes, which either had no impact or reduced the collected data. Looking forward to any suggestion or insight 🙂
    g
    • 2
    • 7
  • b

    best-sundown-96727

    03/17/2022, 9:24 AM
    where can i activate Twig debug mode for yves? I tried to add debug => true to \Spryker\Shared\Twig\TwigConstants::YVES_TWIG_OPTIONS, but it does not work.
    d
    a
    • 3
    • 13
  • m

    mysterious-ambulance-11183

    03/17/2022, 10:23 AM
    Hey guys, I have a problem. that when I try to load the Slots for a template in the Backoffice I get the following error, does anybody know what this come from?
    Copy code
    Propel\Runtime\ActiveQuery\QueryExecutor\QueryExecutionException: Unable to execute statement [SELECT  FROM `spy_cms_slot` INNER JOIN spy_cms_slot_to_cms_slot_template ON (`spy_cms_slot`.`id_cms_slot`=spy_cms_slot_to_cms_slot_template.fk_cms_slot) WHERE spy_cms_slot_to_cms_slot_template.fk_cms_slot_template=:p1 ORDER BY `spy_cms_slot`.`id_cms_slot` ASC LIMIT 10] in file /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/QueryExecutor/AbstractQueryExecutor.php on line 136
    
    Caused by
    PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near &#039;FROM `spy_cms_slot` INNER JOIN spy_cms_slot_to_cms_slot_template ON (`spy_cms...&#039; at line 1 in file /data/vendor/propel/propel/src/Propel/Runtime/Connection/StatementWrapper.php on line 215
    Stack trace:
      1. Propel\Runtime\ActiveQuery\QueryExecutor\QueryExecutionException->() /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/QueryExecutor/AbstractQueryExecutor.php:136
      2. Propel\Runtime\ActiveQuery\QueryExecutor\AbstractQueryExecutor->handleStatementException() /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/QueryExecutor/AbstractQueryExecutor.php:105
      3. PDOException->() /data/vendor/propel/propel/src/Propel/Runtime/Connection/StatementWrapper.php:215
      4. PDOStatement->execute() /data/vendor/propel/propel/src/Propel/Runtime/Connection/StatementWrapper.php:215
      5. Propel\Runtime\Connection\StatementWrapper->execute() /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/QueryExecutor/AbstractQueryExecutor.php:103
      6. Propel\Runtime\ActiveQuery\QueryExecutor\AbstractQueryExecutor->executeStatement() /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/QueryExecutor/SelectQueryExecutor.php:49
      7. Propel\Runtime\ActiveQuery\QueryExecutor\SelectQueryExecutor->runSelect() /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/QueryExecutor/SelectQueryExecutor.php:37
      8. Propel\Runtime\ActiveQuery\QueryExecutor\SelectQueryExecutor->execute() /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/Criteria.php:2322
      9. Propel\Runtime\ActiveQuery\Criteria->doSelect() /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/ModelCriteria.php:2211
     10. Propel\Runtime\ActiveQuery\ModelCriteria->doSelect() /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/ModelCriteria.php:1243
     11. Propel\Runtime\ActiveQuery\ModelCriteria->find() /data/vendor/spryker/gui/src/Spryker/Zed/Gui/Communication/Table/AbstractTable.php:964
     12. Spryker\Zed\Gui\Communication\Table\AbstractTable->runQuery() /data/vendor/spryker/cms-slot-gui/src/Spryker/Zed/CmsSlotGui/Communication/Table/SlotTable.php:199
     13. Spryker\Zed\CmsSlotGui\Communication\Table\SlotTable->prepareData() /data/vendor/spryker/gui/src/Spryker/Zed/Gui/Communication/Table/AbstractTable.php:1026
     14. Spryker\Zed\Gui\Communication\Table\AbstractTable->fetchData() /data/vendor/spryker/cms-slot-gui/src/Spryker/Zed/CmsSlotGui/Communication/Controller/SlotListController.php:31
     15. Spryker\Zed\CmsSlotGui\Communication\Controller\SlotListController->tableAction() /data/vendor/symfony/http-kernel/HttpKernel.php:156
     16. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /data/vendor/symfony/http-kernel/HttpKernel.php:78
     17. Symfony\Component\HttpKernel\HttpKernel->handle() /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:132
     18. Spryker\Shared\Application\Application->handle() /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:110
     19. Spryker\Shared\Application\Application->run() /data/public/Backoffice/index.php:22
    m
    • 2
    • 4
  • b

    brainy-article-8040

    03/17/2022, 2:14 PM
    Hi guys, I recently started working with Spryker. My Task for the beginning is that I should update the User Modal form for ZedUI. My Problem now is, that my new fields are not displayed when I edit or create a User. I added the columns in the Schema and the Transfer Object. Do I need to add them also in the .twig file? If yes, how can I do it?
    w
    • 2
    • 2
  • a

    agreeable-forest-25716

    03/18/2022, 10:03 AM
    Hi there, Can anybody help me with this? I have to reload a drawer in merchant portal after i get response from an HTTP req. The problem is that i don't know how to access the actions.refresh.drawer from code. I can do this with an additional button that looks like this: `
    Copy code
    {% set actionConfig = '{
                            "type": "refresh-drawer",
                            "component": "ajax-form",
                            "options": {
                                "inputs": {
                                    "action": "/product-merchant-portal-gui/update-product-concrete?product-id=' ~ productConcrete.idProductConcrete ~ '"
                                }
                            }
                        }' %}
    <web-spy-button-action
        type="button"
        variant="primary"
        size="md"
        action="{{ actionConfig }}"
    >
        <web-spy-icon name="plus" icon></web-spy-icon>
        {{ 'Refresh' | trans }}
    </web-spy-button-action>
    ` This works, but main goal is how to do this on success from response without the additional button?
1...535455...102Latest