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

    flaky-cpu-76260

    09/23/2021, 3:41 PM
    hello! is someone using amazon MQ instead of rabbit MQ? we're having a hard time connecting to it, not sure if it's because of our configuration or spryker's ConnectionBuilder. any experience?
    • 1
    • 1
  • n

    nutritious-daybreak-34090

    09/23/2021, 7:14 PM
    Hello! I have one question, which is the best way to upload cvs files and run imports and staging or production environment? Is necessary run a NormalDeploy only for this? Or Is there any way to upload only the cvs files and run a Jenkins command for the import? Thanks for your help.
    • 1
    • 1
  • a

    acoustic-painter-45206

    09/27/2021, 9:51 AM
    Hello everyone! After switching from 2020.01 release to 2020.09 I'm getting plenty of errors in my ShopUI organism/molecule twig templates, they all have the same pattern:
    Copy code
    {% block body %}
        <div class="{{ config.name }}__overlay {{ attributes['trigger-selector'] }}"></div>
    
        <aside class="{{ component.renderClass(config.name ~ '__drawer', modifiers) }}">
    Copy code
    Twig \ Error \ RuntimeError
    Variable "component" does not exist.
    So for me it looks like some part of API was updated, so we have no access to component anymore, and we have to use something else instead of
    component.renderClass
    . But what function I should call from now?
    a
    • 2
    • 4
  • g

    gentle-exabyte-1757

    09/27/2021, 10:42 AM
    Hey guys I'm trying to get the current 202108.0-release working, here is what i do:
    Copy code
    git clone <https://github.com/spryker/docker-sdk.git> -b 1.22.0 --single-branch
    git clone <https://github.com/spryker-shop/b2c-demo-shop.git> -b 202108.0-release --single-branch
    cd b2c-demo-shop
    ../docker-sdk/sdk boot deploy.dev.yml
    
    ┌────┐           ┌─┐            ┌────┬────┬─┬─┐
    │ ───┼───┬─┬─┬─┬─┤ ├─┬───┬─┬─┐  │ ───┼─┐ ┐│ ┌─┘
    ├─── │ ┼ │ ┌─┤ │ │───┤ ┼─┤ ┌─┘  ├─── ├─┴─┘│ └─┐
    └────┤  ┌┴─┘ ├─┐ ├─┴─┴───┴─┘    └────┴────┴─┴─┘
         └──┘    └───┘
    
    
    Using deploy.dev.yml 
    
    Running generator 
    PHP Fatal error:  Uncaught Twig\Error\LoaderError: Template "env/application/backoffice.env.twig" is not defined. 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('env/application...')
    #1 /data/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('env/application...')
    #2 /data/vendor/twig/twig/src/Environment.php(359): Twig\Environment->loadTemplate('env/application...')
    #3 /data/vendor/twig/twig/src/Environment.php(318): Twig\Environment->load('env/application...')
    #4 /data/index.php(201): Twig\Environment->render('env/application...', Array)
    #5 {main}
      thrown in /data/vendor/twig/twig/src/Loader/ChainLoader.php on line 98
    Same goes for
    Copy code
    ../docker-sdk/sdk boot
    And also happens when the sdk folder is inside the b2c-demo-shop folder. Master on seems to be working, am I doing anything wrong?
    ✅ 1
    a
    • 2
    • 4
  • i

    incalculable-van-2330

    09/27/2021, 5:22 PM
    Hello guys, we have an issue with image-sets for products. Prodcut images - Currently se upload via files and we need to add the image sets to specific stores the glu api when we search a category products returns the "Default" image set which we cant upload vie files - do you know how we could add this images via file or how we can point the glue to the Mx images . This is the call: .... .spryker.toys/abstract-products/90000000012200?include=concrete-products,concrete-product-availabilities,abstract-product-prices,concrete-product-image-sets,concrete-product-prices,product-labels,bundled-products&priceMode=GROSS_MODE
  • i

    incalculable-van-2330

    09/27/2021, 5:27 PM
    Another issue with images - Categories- We are setting up image sets for categories in zed and use glue to show the category tree on our mobile app- From this call - staging.cloud.spryker.toys/category-trees/ we get the category tree but there is no ingo related to the image. Does anyone know hos to add the info into the esponse?
  • w

    wide-easter-55589

    09/28/2021, 9:22 AM
    Hi Guys, i have the same problem as in https://sprykercommunity.slack.com/archives/CH2HA71C5/p1623750376116800. The QuoteValidatorPlugins are executed but the result is completely ignored in this line: https://github.com/spryker/cart/blob/master/src/Spryker/Zed/Cart/Business/Model/Operation.php#L327
    a
    • 2
    • 4
  • m

    mammoth-painting-63509

    09/28/2021, 9:56 AM
    Hi there, we use tideways for profiling in our project and we'd like to separate requests from the "admin area"-zed and zed-calls that are made via glue endpoints. I would use something like
    \Tideways\Profiler::setServiceName('zed-admin-area');
    and
    \Tideways\Profiler::setServiceName('zed-glue-requests');
    , but I'm not sure if there is a central place somewhere to hook into that. Does anyone know if this is possible?
    w
    • 2
    • 3
  • a

    able-train-88169

    09/29/2021, 11:57 AM
    Hi all! Going through the documentation noticed a broken link -> https://documentation.spryker.com/docs/about-user-guides It is referenced in https://documentation.spryker.com/docs/dev-getting-started Next Steps section for example. Anyone knows to where this has been moved?
  • m

    mysterious-pencil-76046

    09/30/2021, 6:07 AM
    Hi! I extended
    vendor/spryker/code-sniffer/Spryker/Sniffs/Commenting/FileDocBlockSniff.php
    on Pyz level what works as expected when i run
    console co:sn:st -f
    . Unfortunately
    vendor/bin/console code:constraint:modules -d
    now fails with
    Copy code
    Error - Exception: Interface 'PHP_CodeSniffer\Sniffs\Sniff' not found 
    in /data/vendor/spryker/code-sniffer/Spryker/Sniffs/AbstractSniffs/AbstractSprykerSniff.php (19)
    
    Command: vendor/bin/console code:constraint:modules -d
    Is someone able to help?
  • e

    echoing-action-91797

    09/30/2021, 6:36 AM
    Good morning! In our project, we are facing everyday with some stuck orders in the OMS. Usually:
    reservation removed
    ,
    unblocking address
    ,
    place order confirmed
    . The funny thing is that all of these has a transition event
    onEnter=true
    , so I am wondering how is this even possible 🤔 We got an idea about changing the onEnter transition to a timeout, so it will retry anyway in case of failing, but before starting doing that maybe somebody else got the same issue and figure out a possible solution for it? Any ideas? Thanks for your time! 🙂
    s
    m
    +2
    • 5
    • 9
  • f

    fresh-family-51844

    09/30/2021, 10:13 AM
    Hi, I got a situation. When I set a breakpoint in file index.php.
    Copy code
    public/Yves/index.php
    After 4 seconds it will pop up another request and I will have 2 debug tab in PHPstorm. Does anyone know why this happen?
    p
    • 2
    • 15
  • m

    mysterious-spring-57104

    10/05/2021, 10:18 AM
    Hey guys, I am trying to get category filter from glue but I can not find an existing endpoint that does the trick. Do you know if there is anything pre build I can use? Or do I have to implement it myself? Here is the zed documentation for what I am looking for: https://documentation.spryker.com/docs/managing-category-filters
  • i

    incalculable-van-2330

    10/05/2021, 5:51 PM
    Hello guys, is there a possibility to add terms to products that can help the search capabilities. Sort of a term cloud we can associate to products to help search. We are trying to do this to account for common typos on some product names.
    b
    • 2
    • 2
  • c

    crooked-house-89121

    10/06/2021, 6:22 AM
    Hey all, I’m trying to extend the ProductAbstractListContentTermForm with two additional inputs to add a link. I’ve added the fields but I can’t get the data to save. I’ve debugged through the submit of the form but can’t make out when the data should be written in the localizedcontent of the ContentForm. Can anyone help me how I can better troubleshoot this error?
  • l

    lemon-magazine-17731

    10/06/2021, 10:54 AM
    Hello All, Am trying to create a transfer object based on the spryker documentation to establish communication between zed and yves but am getting this error, can anyone help me Posted in #docker
    p
    i
    • 3
    • 16
  • l

    lemon-magazine-17731

    10/07/2021, 4:18 AM
    Hi All, I am trying to create a blog project in Spryker, want to confirm whether the approach which I am doing is correct. Creating a page in the zed which has an option to create a post with the fields like title, content, URL. Once this has been submitted successfully content will be saved in the db and should be displayed in the zed. Will create a module in Yves with the same name which I have created in the zed, redirecting to the module need to display all the post which created and saved in the zed. - How to achieve this?
    c
    • 2
    • 4
  • i

    incalculable-van-2330

    10/07/2021, 8:22 PM
    Hello guys - Bundle Availability
  • i

    incalculable-van-2330

    10/07/2021, 8:25 PM
    Hello guys - Bundle Availability We currently have bundles on our catalog, but for some reason we are not able to assign a stock availability to those products. This is an example bundle, we have a bundle and the product associated to it does have stock but "quantity" variable is always set to 0. How can we change this?
    p
    n
    • 3
    • 19
  • c

    colossal-alligator-85110

    10/11/2021, 7:49 AM
    Hi All, I am getting this error while refresh the zed backend page.. how to resolve this issue can anyone help?
    ✅ 1
    p
    • 2
    • 1
  • m

    mammoth-autumn-37948

    10/11/2021, 3:21 PM
    Hi guys, I have, after upgrade to 202180.0, always the error about the loaderScriptDir from propel
    Copy code
    Zed.CRITICAL: Propel\Runtime\Exception\PropelException - Database map was not initialized. Please check the database loader script included by your conf.
    After propel:install is problem gone. After
    docker/sdk up
    i have again the problem.... How can solve the problem? Standard configuration used!
    l
    p
    • 3
    • 20
  • p

    polite-lunch-97479

    10/12/2021, 1:42 PM
    When running the code style sniffer upon commit, I'm getting errors like this:
    Copy code
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------
     173 | ERROR | [x] @throw annotation `\Exception` superfluous and
         |       |     needs to be removed
    ----------------------------------------------------------------------
    Indeed, my code might throw an exception at this very place. Thus, having a @throws annotation in the function's docblock should be fully correct. How would the calling function know that it needs to catch it otherwise? Am I missing something here or is the code sniffer behaving wrongly here?
    p
    f
    b
    • 4
    • 20
  • a

    average-continent-3379

    10/13/2021, 7:37 AM
    Hi all, a question regarding synchronization: how can I force the regeneration of data for the
    spy_product_abstract_image_storage
    table? I tried using
    console event:trigger -r product_abstract_image
    , but that didn't seem to help. The core issue is that I'm deleting duplicated image assignments from the
    spy_product_image_set_to_product_image
    table via plain SQL (as the query for it is a bit complex for propel) and or course I'd like to synchronize the changes to the FE too. Still,
    spy_product_abstract_image_storage
    still has the old data, with the duplicated images and so FE doesn't get updated correctly. How can I force a recheck of what's actually in the DB and recompilation of data for the storage table according to that?
    p
    f
    m
    • 4
    • 15
  • m

    mammoth-painting-63509

    10/13/2021, 12:36 PM
    Do you know if it's possible to configure propel to create an index for every foreign-key automatically when using Postgres?
    • 1
    • 3
  • b

    bumpy-football-42265

    10/13/2021, 12:50 PM
    Hello I try to generate / migrate demo data: docker/sdk up --build --assets --data and receive an error: ´´´ Command propel-migrate [vendor/bin/console propel:migrate] (In progress...)  Clean schema directory  Copy and merge schema files  Adjust propel config for PostgreSQL and missing functions (group_concat)  Delete migration files directory.  Dropping all database tables.  All database tables have been dropped.  Generate diff for Propel2  No table found in all databases  Comparing models...  Structure of database was modified in datasource "zed": 278 added tables  "/data/src/Orm/Propel/Migration_pgsql/PropelMigration_1634115975.php" file successfully created.  Please review the generated SQL statements, and add data migration code if necessary.  Once the migration class is valid, call the "migrate" task to execute it.  Store: DE | Environment: docker.dev  Migrate database  Executing migration PropelMigration_1634115975 up  Propel\Runtime\Exception\RuntimeException - Exception: Failed to execute SQL "CREATE TABLE "spy_point_of_sale_availability"  (  "id_point_of_sale_availability" INTEGER NOT NULL,  "fk_point_of_sale_availability_abstract" INTEGER NOT NULL,  "fk_store" INTEGER,  "fk_point_of_sale" INTEGER NOT NULL,  "is_never_out_of_stock" BOOLEAN DEFAULT 'f',  "quantity" NUMERIC(20,10) NOT NULL,  "sku" VARCHAR(255) NOT NULL,  PRIMARY KEY ("id_point_of_sale_availability"),  CONSTRAINT "spy_point_of_sale_availability-sku" UNIQUE ("sku","fk_store","fk_point_of_sale")  )". Aborting migration.  in /data/vendor/propel/propel/src/Propel/Generator/Command/MigrationMigrateCommand.php (149) Command: vendor/bin/console propel:migrate ´´´ do anyone have any hint to solve that issue ?
    p
    • 2
    • 2
  • s

    strong-laptop-16773

    10/13/2021, 2:23 PM
    I have a component, this component has it's data defined e.g.
    Copy code
    {% define data = {
        neededInfo: required,
    } %}
    Can I somehow get access that data in my ts component class? Currently I know that I can pass it through custom attributes, but maybe there is a better way to do that.
    q
    • 2
    • 1
  • c

    colossal-pizza-27096

    10/14/2021, 8:38 AM
    Hi, I need some Help, I try to extend the Checkout with help of the documentation: https://documentation.spryker.com/docs/t-checkout-and-step-engine-spryker-commerce-os but when Everything is Implemented I run in this error:
    p
    • 2
    • 1
  • h

    hundreds-apple-96667

    10/14/2021, 9:14 AM
    Google Tag Manager Integration Hihi, who has experience with the integration of Google Tag Manager in Spryker? We had planned to use the repo here, only it is almost 2 years old: https://github.com/fond-of/spryker-google-tagmanager Do any of you have experience with the repo or can recommend another one which works? Kind regards Stefan cc @prehistoric-portugal-43494
    a
    • 2
    • 1
  • a

    ancient-apartment-59274

    10/18/2021, 3:03 PM
    Hello, i just started to update our b2b 202009 based project starting with all the minor updates. Seems the most updates has been applied and composer does not complain about an invalid package state. However, when i run the shop there is immediately an error when entering the login page.
    ErrorException - FATAL ERROR - Declaration of Spryker\Zed\SecurityOauthUser\Communication\Plugin\Security\Provider\OauthUserProvider::loadUserByUsername(string $username) must be compatible with Symfony\Component\Security\Core\User\UserProviderInterface::loadUserByUsername($username)
    So, no error on project level. There is an error, because spryker has declared the params type in the function extension, but the interface does not. So its incompatible now. I was wondering what changed and it worked before but it seems something strange happened: The minor update seemed to downgrade some modules like
    symfony/security-core
    … before it was v5.2.5 … now its v4.4.31 … also, none of the advanced composer update commands does solve the problem (e.g. -W, ignore plaform deps etc.) Looking at the current spryker/symfony:3.7.0 (before update 3.5.1)there are some deps like
    …
    “symfony/security-core”: “^4.4.13 || ^5.2.8",
    “symfony/security-guard”: “^4.4.13 || ^5.2.8",
    “symfony/security-http”: “^4.4.13 || ^5.2.8",
    …
    It feels like composer favours on of the 4.x.xx version over the 5.x.x but i cant figure out why. With the previous 3.5.1 version of spryker/symfony there where just the depdency with
    …
    “symfony/security-core”: “^4.4.13 || ^5.0.0",
    “symfony/security-guard”: “^4.4.13 || ^5.0.0",
    “symfony/security-http”: “^4.4.13 || ^5.0.7",
    …
    which resulted in
    core:v5.2.5
    ,
    guard:v5.2.4
    and
    http:v5.1.11
    Tracing the dependencies of the
    core
    guard
    and
    http
    modules i am running in circles
    composer why-not symfony/security-core:v5.2.8
    symfony/security-http v4.4.30 requires symfony/security-core (^4.4.8)
    composer why-not symfony/security-http:v5.2.8
    symfony/security-guard   v4.4.27 requires     symfony/security-http (^4.4.1)
    composer why-not symfony/security-guard:v5.2.8
    symfony/security-guard   v5.2.8 requires     symfony/security-core (^5.0)
    I guess there is somewhere a broken dep between the modules since composer does not complain but the interface is broken … any idea what to do? What do i miss? Best
    m
    l
    • 3
    • 4
  • i

    icy-sundown-8018

    10/20/2021, 1:11 PM
    Hi all, we are experiencing some issues with shop-ui release (v1.54.0). https://github.com/spryker-shop/shop-ui/compare/1.53.1...1.54.0 We are unable to modify the “isVisible” property of the defined data object in an inherit template. “data.isVisible” keeps always true. Any ideas?
    {% extends template('widget') %}
    {% define data = {
       
    isVisible: false,
    } %}
    {% block template %}
    {{ dump(data.isVisible) }} {# shows true, should be false #}
    {% endblock body %}
    m
    d
    • 3
    • 17
1...464748...102Latest