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

    eager-island-84229

    10/20/2022, 2:13 PM
    Hi! I got a question regarding testing: is it possible (and senseful) to individually run tests of a module (which lays inside an own repository) when it's not included within some project? I tried e.g. to execute the tests for the sprkyer/cart module but I run into several issues.
    a
    • 2
    • 8
  • c

    clean-painter-47981

    10/24/2022, 8:48 AM
    Hello, is there someone here from Spryker who can turn off the Container for 30 minutes in our paas on development?
    w
    • 2
    • 1
  • d

    dry-manchester-23019

    10/24/2022, 3:51 PM
    Hello all, our boffice logs in PaaS environment are flooded with zed.Criticals which are triggered by symfonys deprecated notices. Anybody experience on how to deal with that properly in the spryker context? Some configuration I’m missing here?
    a
    • 2
    • 3
  • h

    handsome-microphone-93881

    10/24/2022, 7:02 PM
    Hi guys, I would like to implement two buttons in the side navigation bar of the merchant portal, does anyone know how to do this? Thanks!
  • s

    silly-fall-63008

    10/25/2022, 1:27 PM
    hello, is somebody know, how to add javascript in spryker backoffice? What is the best way to do it? I created new module, now I need to add javascript in table view. Of course, I can write it in twig templates, but it seems there are better way. I found this article - https://docs.spryker.com/docs/scos/dev/front-end-development/zed/overriding-webpack-js-scss-for-zed-on-project-level.html#webpack - as I understand, I need create new file src/Pyz/Zed/OrderApiLogging/assets/Zed/js/index.entry.js I did it with content “alert(‘test’);” - but it does not work after running npm run zed command
    e
    • 2
    • 9
  • s

    stocky-kilobyte-45277

    10/25/2022, 1:40 PM
    Hello, I'm trying to integrate React into Atomic Frontend by following this guide: https://docs.spryker.com/docs/scos/dev/front-end-development/yves/atomic-frontend/integrating-react-into-atomic-frontend.html#setup But at end, after running "npm run yves" in the /data/ directory of my container, it's nothing but error messages. It was missing ts-loader first which I installed (the guide didn't mention it), and now it's just "TypeError: loaderContext.getOptions is not a function" a hundred times. 😄 Any ideas what I might be doing wrong?
  • s

    stocky-kilobyte-45277

    10/25/2022, 1:42 PM
    Also the Yves documentation says "Web Components are used only for behavior management. No client-side rendering or logic is implemented in the frontend." But I guess it's only by defult, because this React integration seems to be doing exactly that - client-side rendering, right?#
    i
    • 2
    • 5
  • d

    dry-dawn-42072

    10/26/2022, 9:21 AM
    Hi all, First steps in Spryker, i'm trying to install the b2c-demo-shop on docker. I believe that the first two steps are to clone the b2c repo, and the sdk one. I’m following the readme.md in this link : https://github.com/spryker-shop/b2c-demo-shop#setting-up-a-development-environment
    Copy code
    When I do the git clone for : git@github.com:spryker/docker-sdk.git
    I get this :
    w
    b
    • 3
    • 5
  • p

    polite-lunch-97479

    10/26/2022, 12:34 PM
    We're still stuck with updating
    spryker/code-sniffer
    to anything > 0.17.5 since there's no way to configure the project namespace if other than Pyz. Latest version has this: https://github.com/spryker/code-sniffer/blob/0.17.6/Spryker/Sniffs/AbstractSniffs/AbstractMethodAnnotationSniff.php#L33 But that doesn't help a thing, since all hardcoded. Any plans to improve this?
    f
    m
    • 3
    • 3
  • e

    early-army-90039

    10/26/2022, 12:56 PM
    Hi Please let me know when we should use reader and writer classes as per spryker standards.
    p
    • 2
    • 13
  • a

    able-train-56624

    10/26/2022, 1:02 PM
    Hello fellow sprykers 🙂 I’m having troubles building zed’s frontend, in my project and the b2c demo shop as well: Running
    npm run zed
    will always result in an error because the sass module can’t find some libraries (I understand). Any help would be greatly appreciated! Here’s the console output for `npm run zed`:
    Copy code
    :aries:  @spryker/oryx 1.4.0
    :aries:  @spryker/oryx-for-zed 2.11.5
    
    find
    ● looking for entry points...
    :heavy_check_mark: 68 found
    
    find
    ● resolving core modules deps...
    :heavy_check_mark: 0 found
    
    build
    ● using webpack 4.46.0
    ● building assets...
    ● webpack output:
    
    ERROR in ./vendor/spryker/gui/assets/Zed/sass/main.scss
    Module build failed (from ./node_modules/@spryker/oryx-for-zed/node_modules/mini-css-extract-plugin/dist/loader.js):
    ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
    SassError: Can't find stylesheet to import.
       ╷
    11 │ @import '~bootstrap-sass/assets/stylesheets/bootstrap';
       │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       ╵
      vendor/spryker/gui/assets/Zed/sass/main.scss 11:9  root stylesheet
        at /Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/webpack/lib/NormalModule.js:316:20
        at /Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/loader-runner/lib/LoaderRunner.js:367:11
        at /Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/loader-runner/lib/LoaderRunner.js:233:18
        at context.callback (/Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
        at /Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/sass-loader/dist/index.js:62:7
        at Function.call$2 (/Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/sass/sass.dart.js:92646:16)
        at _render_closure1.call$2 (/Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/sass/sass.dart.js:81147:12)
        at _RootZone.runBinary$3$3 (/Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/sass/sass.dart.js:27268:18)
        at _FutureListener.handleError$1 (/Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/sass/sass.dart.js:25818:19)
        at _Future__propagateToListeners_handleError.call$0 (/Users/sprykeruser/projects/spryker-project/spryker-branch/node_modules/sass/sass.dart.js:26116:49)
     @ ./vendor/spryker/gui/assets/Zed/js/modules/commons.js 75:0-31
     @ ./vendor/spryker/gui/assets/Zed/js/spryker-zed-gui-commons.entry.js
    
    ERROR in ./vendor/spryker/file-manager-gui/assets/Zed/sass/main.scss
    Module build failed (from ./node_modules/@spryker/oryx-for-zed/node_modules/mini-css-extract-plugin/dist/loader.js):
    ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
    SassError: Can't find stylesheet to import.
      ╷
    6 │ @import '~jstree/dist/themes/default/style';
    
     [TRUNCATED]
    
    ERROR in ./vendor/spryker/gui/assets/Zed/js/modules/commons.js
    Module not found: Error: Can't resolve 'sweetalert' in '/Users/victorvanherpt/projects/aldi/spryker-branch/vendor/spryker/gui/assets/Zed/js/modules'
     @ ./vendor/spryker/gui/assets/Zed/js/modules/commons.js 69:0-21
     @ ./vendor/spryker/gui/assets/Zed/js/spryker-zed-gui-commons.entry.js
    ✘ build failed
    
    Copy assets for backward compatibility after renaming assets folder
    ● copying assets...
    :heavy_check_mark: assets copied to:  /Users/spryker-user/projects/spryker-project/spryker-branch/public/Zed/assets
    i
    • 2
    • 2
  • g

    great-byte-99546

    10/27/2022, 6:02 AM
    Seems like redirect from foreign domain to backoffice clears the session of office user. For example something like
    window.location.href = '<http://backoffice.de.spryker.local/>'
    triggered from any foreign site will clear it, even localhost. Is it possible to disable this ?
    m
    • 2
    • 1
  • m

    miniature-scientist-44880

    10/27/2022, 7:32 AM
    Hello. I want to change the display of terms and conditions (B2B) in checkout summary. I was looking in StepEngine some clues how to get to terms but none of that. Does anyone know or have an idea where to look?
  • r

    rough-agency-88294

    10/27/2022, 7:34 AM
    what is the most straight forward way to add a custom PHP library that isn't in any composer repo into the codebase?
    w
    r
    • 3
    • 10
  • s

    some-gpu-85939

    10/27/2022, 7:46 AM
    Hi, maybe somebody could tell me why the Price Range Filter is not supported in B2B? Or maybe someone make it works?
    w
    • 2
    • 2
  • h

    handsome-rose-13698

    10/27/2022, 8:01 PM
    Hello!! Can someone help me put by send me a screenshot of a default email that the buyer receive from spryker after a purchase is done?? Thanks
    a
    • 2
    • 3
  • f

    fierce-agency-72925

    10/28/2022, 4:11 AM
    HI, Just started learning Spryker. There should be a sample module on GIT or Steps to follow on official docs so that we can start from scratch and learn how to create a basic CRUD module for Zed.
    w
    • 2
    • 1
  • f

    fast-activity-30172

    10/28/2022, 6:34 AM
    Hi Everyone I am trying to create a test case for a business facade for my custom module, and I need a current logged-in user in the back office, but I am facing issue with
    haveUser()
    a a method. can anyone help me here?
    w
    • 2
    • 2
  • e

    early-army-90039

    10/28/2022, 6:45 AM
    Hi Actually I am trying to create custom validator in spryker form. But when i am trying to pass the instance of repository from the form class, it is giving error. Can you please look into this?
    w
    • 2
    • 3
  • w

    wonderful-baker-94910

    10/28/2022, 9:03 AM
    #help Hi ! I am newbie here , i tried installing Docker + Ubuntu spryker B2C demo shop follwoing the spryker quick install documentation .. my question is after completing all the steps how to start spryker in browser? because in the documentation the last step provides link to start spryker in browser is not working.
    w
    • 2
    • 7
  • w

    wonderful-baker-94910

    10/28/2022, 5:56 PM
    #help I am facing an issue in ubuntu while running docker/sdk up command, i googled this problem and many says to stop http or IIS after doing all these still the port is not getting free, is there any way to change the port for docker?
    w
    • 2
    • 2
  • a

    able-shampoo-75923

    10/29/2022, 9:24 AM
    Hello All, I have downloaded b2b demo shop in my on premise Ubuntu laptop, I am able to access in my local system only. If I install the same on AWS EC2 instance, how can I access using the IP address of my EC2 instance and give the same to other's too so that they can access and play on it. Please let me know what are the best options, a quick help is needed, thank you in advance
  • w

    wonderful-baker-94910

    10/31/2022, 8:25 AM
    #help After completing all the steps of installing docker+Ubuntu B2c-demo-shop now i am not sure how to open it in browser because its showing this error in browser -
    p
    w
    • 3
    • 12
  • e

    elegant-cartoon-61249

    10/31/2022, 8:50 AM
    #help /data/vendor does not exist and could not be created.
    p
    w
    • 3
    • 7
  • e

    echoing-action-91797

    10/31/2022, 10:19 AM
    Did anyone else got this weekend a lot of timed out errors coming from the PayPal API? Like this:
    Copy code
    "<http://api.paypal.com|api.paypal.com> port 443: Connection timed out"
    😕 1
    • 1
    • 1
  • c

    clever-father-92327

    10/31/2022, 10:57 AM
    #help Hi, I'm trying to run configurable products and I'm thinking - is creating a new endpoint ex. "date-time-configurator-example.spryker.local" the only way to utilize this feature? Also, I've finished the whole configuration (https://docs.spryker.com/docs/scos/dev/feature-integration-guides/202204.0/product-configuration-feature-integration.html#set-up-behavior-1) and I still can't reach DemoConfiguratorPage, is this problem maybe familiar to anyone? The message is "Loading..."
  • a

    agreeable-autumn-69852

    10/31/2022, 12:00 PM
    Hi, anyone having challenges on Stock Qty update that is taking hours? especially on Rabbit sync. Any solution to speed up the process of update of stock level to be faster.
  • r

    rough-agency-88294

    10/31/2022, 12:26 PM
    Hi I'm trying the GlueAPI spryk generator stuff but it fails on step one. Any Ideas?
    Copy code
    $ docker/sdk console spryk:run AddGlueBasicStructure --mode=project --module=ResourcesRestApi --organization=Pyz --resourceType=resources
    -->  DEVELOPMENT MODE   
    Store: FI | Environment: docker.dev
     Enter value for AddGlueResourceMapper.subDirectory argument [Mapper]:
     > 
    Created /data/src/Pyz/Zed/ResourcesRestApi/
    Created /data/src/Pyz/Shared/ResourcesRestApi/Transfer
    Created /data/src/Pyz/Shared/ResourcesRestApi/Transfer/resources_rest_api.transfer.xml
    Added transfer in /data/src/Pyz/Shared/ResourcesRestApi/Transfer/resources_rest_api.transfer.xml
    Created /data/src/Pyz/Glue/ResourcesRestApi
    Created /data/src/Pyz/Glue/ResourcesRestApi/ResourcesRestApiConfig.php
    Error - Exception: Call to undefined method PHPStan\BetterReflection\BetterReflection::classReflector() 
    in /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php (233)
    
    Command: /data/vendor/bin/console spryk:run AddGlueBasicStructure --mode=project --module=ResourcesRestApi --organization=Pyz --resourceType=resources
    
    Trace: 
    #0 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(245): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getReflection(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition))
    #1 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(202): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getTargetFileNameFromReflectionClass(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition))
    #2 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(181): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getTargetFileName(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition))
    #3 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(101): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getTargetFileContent(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition))
    p
    f
    • 3
    • 6
  • a

    able-agent-32576

    10/31/2022, 1:55 PM
    Hi all! I’m trying to remove unique constraint from Propel database column. Since Spryker merges the Propel schema into a single schema file, so every unique constraint from the Spryker core schema will end up in the final Propel schema. However, the unique constraint for
    email
    in the table
    spy_customer
    should be removed from the final Propel schema for my case. Anybody knows how to remove it?
    p
    • 2
    • 2
  • a

    acceptable-sundown-99280

    10/31/2022, 6:19 PM
    I think I found importer bug. Here is the scenario. In stores.php I have added 3 locales for $templates and $stores variable:
    en_US, de_DE, en_GB
    . I am importing category data which is throwing following error:
    Copy code
    Spryker\Zed\DataImport\Business\Exception\DataImportException - Exception: Unable to execute INSERT statement [INSERT INTO spy_url (id_url, fk_locale, fk_resource_categorynode, url) VALUES (:p0, :p1, :p2, :p3)]
    To find out underlying issue, I kept only one record, root category demoshop in category.csv and category-store.csv file. On debugging it, I found that when importer is trying to create category, it generates the urls from locale value's first key(bolded text) *en*_US, *de*_DE, *en*_US in
    spy_url
    table. as we have en for en_GB and en_US, it throws above error. If I change the first key of *en*_GB to *gb*_GB or *egb*_GB importer runs without any error (ofcourse data for en_GB won't get uploaded). I believe someone might have seen this issue before. or is there any better way we can handle translation of it? Any help would be appreciated.
    f
    • 2
    • 3
1...697071...102Latest