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

    aloof-advantage-27856

    12/01/2021, 1:07 PM
    Team, Getting the below page for b2c when running both b2c and b2b on a single server using docker containers..
    a
    h
    +2
    • 5
    • 20
  • a

    average-continent-3379

    12/01/2021, 2:25 PM
    Hi all, I created a new OMS state where I explicitly defined that
    reserved="false"
    . And yet, although the state change itself seems to happen smoothly and the orders that need to get into this new state, get there alright, but the products they held reserved are still not released from reservation. What am I missing here...?
    • 1
    • 1
  • f

    full-psychiatrist-50618

    12/01/2021, 4:00 PM
    HI guys , is there any way to dump information in oms state events ? i wanna send an email during checkout process and dont know how to debug it 🤷‍♂️
  • m

    mammoth-painting-63509

    12/02/2021, 7:47 AM
    Good morning, somehow the API endpoint
    /guest-cart-items
    is missing in swagger, but instead some other endpoints are listed here. The endpoint works, but is just not documented in swagger. We're using version
    5.13.2
    of the
    spryker/carts-rest-api
    module. Do we need to configure something in our project or is there a problem in the module? Does the action maybe need a
    path
    just like the other ones in that class?
    i
    • 2
    • 1
  • d

    dazzling-ability-48344

    12/02/2021, 8:15 AM
    Good morning, We want to setup a project with the PHP 8.0 alpine docker container from Spryker
    Copy code
    image:
        tag: spryker/php:8.0-alpine3.13
    But we get the following error on
    frontend:project:install-dependencies
    Copy code
    Install Project dependencies
    [info] npm
    [info]  WARN
    [info]  prepare removing existing node_modules/ before installation
    
    [info] 
    > core-js@3.4.8 postinstall /data/node_modules/core-js
    > node -e "try{require('./postinstall')}catch(e){}"
    
    
    [info] 
    > fsevents@1.2.13 install /data/node_modules/watchpack-chokidar2/node_modules/fsevents
    > node install.js
    
    
    [info] 
    
    [info] Skipping 'fsevents' build as platform linux is not supported
    
    [info] 
    > node-sass@4.14.1 install /data/node_modules/node-sass
    > node scripts/install.js
    
    
    [info] Cached binary found at /home/spryker/.npm/_cacache/node-sass/4.14.1/linux_musl-x64-83_binding.node
    
    [info] 
    > node-sass@4.14.1 postinstall /data/node_modules/node-sass
    > node scripts/build.js
    
    
    [info] Binary found at /data/node_modules/node-sass/vendor/linux_musl-x64-83/binding.node
    
    [info] Testing binary
    
    [info] Binary is fine
    
    [info] 
    > iltorb@2.4.5 install /data/node_modules/iltorb
    > node ./scripts/install.js || node-gyp rebuild
    
    
    [info] info
    [info]  looking for cached prebuild @ /home/spryker/.npm/_cacache/_prebuilds/80989c-iltorb-v2.4.5-node-v83-linuxmusl-x64.tar.gz
    
    [info] http
    [info]  request GET <https://github.com/nstepien/iltorb/releases/download/v2.4.5/iltorb-v2.4.5-node-v83-linuxmusl-x64.tar.gz>
    
    [info] http
    [info]  404 <https://github.com/nstepien/iltorb/releases/download/v2.4.5/iltorb-v2.4.5-node-v83-linuxmusl-x64.tar.gz>
    
    [info] WARN install No prebuilt binaries found (target=14.18.1 runtime=node arch=x64 libc=musl platform=linux)
    
    [info] gyp
    [info]  
    [info] ERR! find Python 
    gyp 
    [info] ERR!
    [info]  find Python
    [info]  Python is not set from command line or npm configuration
    
    [info] gyp ERR! find Python Python is not set from environment variable PYTHON
    gyp 
    [info] ERR! find Python checking if "python" can be used
    
    [info] gyp ERR! find Python - "python" is not in PATH or produced an error
    
    [info] gyp 
    [info] ERR! 
    [info] find Python checking if "python2" can be used
    
    [info] gyp ERR!
    [info]  
    [info] find Python
    [info]  - "python2" is not in PATH or produced an error
    gyp ERR! 
    [info] find Python checking if "python3" can be used
    gyp ERR! find Python - "python3" is not in PATH or produced an error
    gyp ERR! find Python 
    gyp ERR! find Python **********************************************************
    gyp ERR! find Python You need to install the latest version of Python.
    gyp ERR!
    [info]  
    [info] find Python
    [info]  Node-gyp should be able to find and use Python. If not,
    gyp ERR! find Python you can try one of the following options:
    
    [info] gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
    gyp ERR! find Python   (accepted by both node-gyp and npm)
    gyp ERR! find Python
    [info]  - Set the environment variable PYTHON
    gyp ERR! find Python - Set the npm configuration variable python:
    
    [info] gyp ERR! 
    [info] find Python   npm config set python "/path/to/pythonexecutable"
    gyp ERR! find Python For more information consult the documentation at:
    gyp ERR! find Python <https://github.com/nodejs/node-gyp#installation>
    gyp ERR! 
    [info] find Python **********************************************************
    gyp ERR! find Python 
    
    [info] gyp
    [info]  ERR! configure error 
    
    [info] gyp 
    [info] ERR! stack Error: Could not find any Python installation to use
    gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47)
    gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21)
    gyp ERR! 
    [info] stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16)
    gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16)
    gyp ERR! stack     at exithandler (child_process.js:390:5)
    gyp ERR!
    [info]  stack     at ChildProcess.errorhandler (child_process.js:402:5)
    gyp 
    [info] ERR! stack     at ChildProcess.emit (events.js:400:28)
    gyp 
    [info] ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12)
    gyp ERR! stack
    [info]      at onErrorNT (internal/child_process.js:469:16)
    gyp 
    [info] ERR! stack
    [info]      at processTicksAndRejections (internal/process/task_queues.js:82:21)
    
    [info] gyp 
    [info] ERR! System Linux 5.10.47-linuxkit
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    
    [info] gyp ERR!
    [info]  cwd /data/node_modules/iltorb
    
    [info] gyp
    [info]  ERR! node -v v14.18.1
    
    [info] gyp ERR! node-gyp -v v5.1.0
    gyp ERR! not ok 
    
    [info] added 1359 packages in 19.123s
    Does anyone have an idea what we can do to fix this? The troubleshooting.md doesn't really help in this case.
    m
    a
    p
    • 4
    • 14
  • t

    thousands-postman-15049

    12/02/2021, 1:05 PM
    hello everybody, is there a way to overwrite the receiver/sender of emails that are about to be sent? i am working on an environment which prohibits emails being sent to non-verified users (in AWS) and its really starting to hurt.
    a
    • 2
    • 6
  • l

    limited-electrician-1458

    12/02/2021, 2:35 PM
    I am getting 502 for https://zed.us.spryker.local/ http://yves.us.spryker.local/ works well I verified the endpoints deploy.dev.yml no logs in http://spryker.local/ selected zed
    b
    m
    • 3
    • 3
  • e

    enough-byte-77557

    12/02/2021, 4:28 PM
    Hi, does anyone know how to get DiscountPromotionsRestApi to work with Voucher type discounts?  I always get a message saying the voucher could not be applied unless I add the gift product to the cart first (which makes no sense in the real world because how could I know what to add?)
  • e

    enough-byte-77557

    12/03/2021, 9:28 AM
    The Discounts module has a new ‘Priority’ feature as of 9.20.0 - is there any documentation for it? I’m having trouble understanding how it works
    a
    a
    • 3
    • 5
  • m

    mysterious-ambulance-11183

    12/03/2021, 2:08 PM
    Hey guys, I've got a question about theming of an Yves shop. Our goal would be to create some kind of blueprint theme, what we can "apply" at the start of a project, so that all shops have some kind basic functionality by using/inheriting that theme. How would you do something like that in spryker? I understood, that we can define themes in Yves, but that changes only twig files and static assets like js and css?
    • 1
    • 1
  • a

    acceptable-queen-54570

    12/06/2021, 1:31 PM
    Hey guys i need some help...I'm trying to update spryker to php 8 but i have a problem with
    codeception/lib-innerbrowser
    because the custom repo that is used in spryker is not updated as the base repo and the requirment for php is
    php >=5.6.0 <8.0
    f
    • 2
    • 2
  • n

    numerous-kitchen-79937

    12/06/2021, 1:36 PM
    Hi all... I'm getting this error on the Glue API call to get Access Tokens: Exception: Validation cache is enabled, but cache file is not found. I've a B2C demo shop set up and the endpoints are configured and working otherwise. All other non-restricted API calls are working fine.
    i
    • 2
    • 1
  • f

    flaky-portugal-31584

    12/06/2021, 3:48 PM
    Hello everyone, has someone here already experience with integrating Vue components into Yves? I got it working by using the custom element mode (no conflict with Spryker components) but there are limitations regarding the styling.
  • c

    cold-dog-68360

    12/07/2021, 1:09 PM
    Hi guys I ve just upgraded my mac with M1 and when i am trying to build up Spryker this is what I am getting
    Copy code
    Pulling cli (myworld_b2c_dev_run_cli:dev)...
    ERROR: pull access denied for myworld_b2c_dev_run_cli, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
    a
    p
    • 3
    • 2
  • c

    cold-dog-68360

    12/07/2021, 1:10 PM
    Will appriciate any help or suggestions
  • n

    numerous-kitchen-79937

    12/07/2021, 3:30 PM
    Hi all... Using the Glue API ... Can anyone help me with retrieving a list of products (or product SKUs) based on category NodeID? I've checked the docs over and over and can't see a way of doing this.
    q
    • 2
    • 2
  • h

    handsome-church-15667

    12/08/2021, 8:00 AM
    Has anyone worked on trying to implement multi-select product attribute fields? Because the
    product_management_attribute.csv
    file has
    is_multiple
    field but it is not referenced anywhere in the spryker code
  • m

    mammoth-painting-63509

    12/08/2021, 4:03 PM
    Hi there, I saw that the
    spryker/discount
    module was updated recently and it's now possible to set
    validTo
    to a datetime. The Query uses
    >=
    , which means, that the configured
    validTo
    datetime would also be valid and only one minute after that datetime invalid. But the german translation still says
    Gültig bis (exklusive):
    . See: • https://github.com/spryker/discount/blob/7c65b830beb5b18bfd2f802d9030533ce2c9b869/[…]src/Spryker/Zed/Discount/Persistence/DiscountQueryContainer.php • https://github.com/spryker/discount/blob/fa09a02b818903a3076b52d1d395028cb9ccdb28/data/translation/Zed/de_DE.csv#L73 Am I just understanding this wrong? Is the translation wrong? Or is the login in the query wrong?
  • f

    full-motorcycle-97796

    12/09/2021, 10:39 AM
    Hello at all, is there any example how to handle refunds with redeemed gift cards?
  • a

    acoustic-motherboard-16553

    12/09/2021, 10:39 AM
    Hey there! Is there some better documentation for spryker-eco/payone available or can someone explain whats the difference between PayonePrePaymentSecurityInvoice.xml and PayoneSecurityInvoice.xml is? How does the check for the allowed countries (Germany, Austria and Switzerland) happen? Is it correct that there is no capturing in PayoneSecurityInvoice.xml?
    p
    • 2
    • 2
  • n

    numerous-kitchen-79937

    12/09/2021, 2:59 PM
    Hi all, I'm trying to login as a customer via the Glue API. I have 2 questions... Using OAuth 2.0 (Docs) I keep getting an error: Client authentication failed ...even though I know the credentials are correct (I'm able to login to Yves with these creds) is there a list of the "grant_type"'s that are available... I'm using "password" but I'm not sure that's correct. When I use OAuth 1.0 (Docs) I get: { "errors": [ { "code": "003", "status": 401, "detail": "Failed to authenticate user." } ] } ADDITIONAL: I've tried using the demo users to login "sonia@spryker.com" etc... this gives the same error. Also... I've checked and all dependencies are installed (Docs)
    i
    • 2
    • 2
  • a

    acceptable-waitress-80115

    12/13/2021, 8:19 AM
    Hi, I have the following issue: I want to override a specific twig-template (login.twig) for a specific store only. Therefore I created a module named "CustomerPage2B" which contains only the mentioned twig-file (same directory structure of course). After clearing the cache, everything works fine when accessing this page within the store but I get the following entry in the .pathCache:
    '@CustomerPage/views/login/login.twig' => '/data/src/Pyz/Yves/CustomerPage2B/Theme/default/views/login/login.twig',
    The obvious problem is now that I get the same template rendered for all other stores as well. Any suggestion how I could solve this problem?
    ✅ 1
    ➕ 1
    f
    • 2
    • 3
  • b

    billions-room-87049

    12/13/2021, 9:01 AM
    @billions-room-87049 has left the channel
  • v

    victorious-island-92911

    12/13/2021, 10:38 AM
    Hi, wanted to implement Google Analytics in our upcoming E-Comm portal. Any help on this is appreciated. Thanks.
  • m

    mysterious-ambulance-11183

    12/13/2021, 12:52 PM
    Hi guys, I have a small question for my understanding: I understand, that we can customize yves by overwriting stuff in src/Pyz/Yves/ShopUi/Theme/default/... This is overwriting stuff from vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default. My question is: Why do we have so many files in the Pyz area from the demo shop. From my understanding this is project level, I would have expected to have the files in the composer module included and not in the Pyz area.
    f
    • 2
    • 4
  • e

    early-art-81990

    12/13/2021, 3:08 PM
    hi, we are in the middle of our spryker upgrade to 202108 and got some problems with the pub/sync of categories. especially
    \Spryker\Zed\ProductCategorySearch\Persistence\ProductCategorySearchRepository::getAllCategoriesWithAttributesAndOrderByDescendant
    seems to make problems. In our case we get a result with ~130k (28 stores, lots of product->category relations, many attributes) entities here. The raw sql is fast, but with propel its very slow. We have already implemented memoization, so we only need to call it once, but still looking for improvements. We played around with the formatters and tried to use
    ModelCriteria::FORMAT_ARRAY
    as formatter here, but it runs into an exception. I dont understand why. It happens in
    \Orm\Zed\Category\Persistence\Base\SpyCategoryAttribute::hydrate
    where it for some reason has a
    $startcol
    of 6. Where does it come from? It might be that changing the formatter has no effect but I still want to understand this issue with the $startcol or $offset. It seems to be relation with using virtual columns (
    ->withColumn()
    ) but even when removing these I get the error. Any ideas on that or any other ideas how to improve it?
    g
    • 2
    • 4
  • p

    plain-postman-87754

    12/14/2021, 2:16 PM
    HI Team I am getting below error while installing B2c demo on my ubuntu linux machine. Traceback (most recent call last): File "docker-compose", line 3, in <module> File "compose/cli/main.py", line 81, in main File "compose/cli/main.py", line 203, in perform_command File "compose/metrics/decorator.py", line 18, in wrapper File "compose/cli/main.py", line 1186, in up File "compose/cli/main.py", line 1182, in up File "compose/project.py", line 664, in up File "compose/service.py", line 348, in ensure_image_exists File "compose/service.py", line 1133, in build File "compose/service.py", line 1948, in build FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpve4ivlzx' [11987] Failed to execute script docker-compose I am following link: https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-with-docker/installation-guides/installing-in-development-mode-on-macos-and-linux.html Below commands: git clone https://github.com/spryker-shop/b2c-demo-shop.git -b 202108.0 --single-branch ./b2c-demo-shop git clone https://github.com/spryker/docker-sdk.git --single-branch docke docker/sdk bootstrap deploy.dev.yml docker/sdk up -x docker-compose version: 1.29.2, build
  • n

    numerous-kitchen-79937

    12/15/2021, 9:49 PM
    Hi all... I recently upgraded my mac to the new M1... I had the B2C demoshop running well on the Intel mac. But since upgrading, I'm getting this error on _docker/sdk up_: _*ERROR [internal] load metadata for docker.io/library/spryker_b2c_dev_base_app:dev*_ ------  _*> [internal] load metadata for 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*_ It looks like there is some sort of permissions issue? Many thanks for reading and thank you if you can help! 🙂
    👀 1
    f
    • 2
    • 2
  • h

    happy-addition-42792

    12/20/2021, 9:33 AM
    Good morning, there is a major bug in the checkout forms: https://github.com/spryker-shop/customer-page/blob/master/src/SprykerShop/Yves/CustomerPage/Form/CheckoutAddressCollectionForm.php#L189-L196 If the user unchecks
    Save new address to address book
    /
    Neue Adresse in Adressbuch speichern
    on the address page, the address doesn't get validated at all.
    a
    • 2
    • 2
  • f

    full-carpet-73492

    12/20/2021, 10:12 AM
    Hello Guys, i'm currently working on an endpoint to create cmsPages via Rest througth zedApi. Everything i tried leads into a 404 in the frontent. StroreRelations and localeAttributes are all set correctly. Placeholders and other metaDatas as well. Even the imported CmsPages are producing 404s and are not availlable in the frontend.. I'm working on Linux/Docker. Is there a command or sth other hack i didn't read? Thx in advance!
    👀 1
1...495051...102Latest