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

    glamorous-quill-49387

    01/08/2020, 3:38 PM
    Hi, Is it possible to call some facade method from propel migrations ?
    m
    e
    +2
    • 5
    • 24
  • a

    acoustic-businessperson-27970

    01/09/2020, 12:54 PM
    Hello guys how do I use ajax provider molecule to make a POST request with data in the body ?
    q
    • 2
    • 27
  • m

    mammoth-autumn-37948

    01/10/2020, 8:56 AM
    Hello guys, if I try to build the zed in production mode (--prod) then i get the following error:
    Copy code
    ERROR in ./js/spryker-zed-content-item.js from UglifyJs
    Unexpected token: punc ()) [./js/spryker-zed-content-item.js:10663,8]
    ✘ build failed
    in development mode it works fine. • spryker/oryx 1.40 • spryker/oryx-for-zed 2.5.2 • webpack 4.27.0 • uglifyjs-webpack-plugin ~1.2.4 Has anyone the same problem? I use the b2b-demo-shop version of spryker with original package.json and nodejs version 11.x Thanks a lot in advance
    d
    a
    • 3
    • 3
  • l

    little-kitchen-79455

    01/10/2020, 12:09 PM
    Hi, I have done the data import from backend (zed) and data was getting stored in spy_cms_page and in spy_cms_page_storage but not in spy_cms_page_search. I dont see any error in the logs/exception.log page. Any idea what would be the problem?
    m
    • 2
    • 32
  • s

    strong-winter-32294

    01/14/2020, 8:50 AM
    Hey folks, did anyone have the problem, that a “_console data:import”_ uses the - for example “c_ompany_users.csv”_ - from the vendor-directories instead of the one in /data/import? Is it because multiple modules(company-user-data-import, business-on-behalf-data-import) want to read from the same file c_ompany_users.csv?_
    t
    • 2
    • 3
  • a

    aloof-electrician-43662

    01/14/2020, 10:44 AM
    Hello everyone, I need some help, maybe some of you know, where is controller or module to support products (CRUD) in Zed (etc. rendering view ), it's not module Product and ProductManagement ? i must send product data after create, update to another api.
    q
    w
    • 3
    • 16
  • s

    sparse-kangaroo-34355

    01/15/2020, 11:00 AM
    Hi, I got a question on a best practice: I am in my PayCommand. I need to get access to the itemTransfer inside/ instead of the SalesOrderItemTransfer. Why? The ItemTransfer provides a field "originalNetPrice", which I need (prices without margin). My thought so far: I could receive this by resolving the productId and get the ItemTransfer this way. Is there a better idea?
    w
    c
    • 3
    • 6
  • b

    bitter-engineer-82580

    01/15/2020, 11:36 AM
    Did anyone had an idea or maybe sometimes the same problem? We setup a new shop and get this message on login except on one machine.
    c
    h
    l
    • 4
    • 15
  • a

    ambitious-hairdresser-16664

    01/15/2020, 1:59 PM
    Hello Team, i’m experiencing a problem when consuming product abstract unpublish events
    Copy code
    Product.product_abstract.unpublish
    Basically 2 things are happening: 1 - An error is thrown:
    Copy code
    Failed to handle "Product.product_abstract.unpublish" for listener "Spryker\Zed\ProductPageSearch\Communication\Plugin\Event\Listener\ProductPageProductAbstractUnpublishListener". Exception: "Cannot use object of type Orm\Zed\ProductPageSearch\Persistence\SpyProductAbstractPageSearch as array
    And this is happening on Spryker side 2 - Even making it work by extending and fixing the bug, the unpublished product is still available… Is anyone else having something similar?
    a
    a
    • 3
    • 4
  • g

    gentle-vegetable-74963

    01/16/2020, 12:04 PM
    Hi, I have a question about pub/sync for search. In the
    spy_category_node_page_search
    table there is a
    data
    column and a
    structured_data
    column. I assume the
    data
    column is used to populate ElasticSearch but I am not clear what the other field is for. Reason to ask is on our project the
    structured_data
    field is becoming very large and affecting performance. I guess the short question is can we just stop populating that field 🙂
    r
    m
    +2
    • 5
    • 19
  • m

    mammoth-autumn-37948

    01/16/2020, 3:43 PM
    Copy code
    [info]    stack:
    gyp verb `which` failed
    [info]     'Error: not found: python2\n    at getNotFoundError (/data/node_modules/which/which.js:13:12)\n    at F (/data/node_modules/which/which.js:68:19)\n    at E (/data/node_modules/which/which.js:80:29)\n    at /data/node_modules/which/which.js:89:16\n    at /data/node_modules/isexe/index.js:42:5\n    at /data/node_modules/isexe/mode.js:8:5\n    at FSReqWrap.oncomplete (fs.js:154:21)',
    gyp verb 
    [info] `which` failed   code: 'ENOENT' }
    gyp
    [info]  verb check python checking for Python executable "python" in the PATH
    
    [info] gyp verb
    [info]  `which` failed Error: not found: python
    gyp verb `which` failed     at getNotFoundError (/data/node_modules/which/which.js:13:12)
    
    [info] gyp verb `which` failed
    [info]      at F (/data/node_modules/which/which.js:68:19)
    gyp verb
    [info]  `which` failed     at E (/data/node_modules/which/which.js:80:29)
    gyp verb
    [info]  `which` failed     at /data/node_modules/which/which.js:89:16
    gyp 
    [info] verb `which` failed     at /data/node_modules/isexe/index.js:42:5
    
    [info] gyp verb `which` failed     at /data/node_modules/isexe/mode.js:8:5
    
    [info] gyp verb 
    [info] `which` failed     at FSReqWrap.oncomplete (fs.js:154:21)
    gyp
    [info]  verb `which` failed  python { Error: not found: python
    gyp
    [info]  verb `which` failed
    [info]      at getNotFoundError (/data/node_modules/which/which.js:13:12)
    gyp verb
    [info]  `which` failed     at F (/data/node_modules/which/which.js:68:19)
    gyp 
    [info] verb `which` failed     at E (/data/node_modules/which/which.js:80:29)
    gyp
    [info]  verb `which` failed     at /data/node_modules/which/which.js:89:16
    gyp
    [info]  verb `which` failed     at /data/node_modules/isexe/index.js:42:5
    gyp
    [info]  verb `which` failed
    [info]      at /data/node_modules/isexe/mode.js:8:5
    gyp verb 
    [info] `which` failed     at FSReqWrap.oncomplete (fs.js:154:21)
    gyp verb 
    [info] `which` failed   stack:
    gyp verb
    [info]  `which` failed    'Error: not found: python\n    at getNotFoundError (/data/node_modules/which/which.js:13:12)\n    at F (/data/node_modules/which/which.js:68:19)\n    at E (/data/node_modules/which/which.js:80:29)\n    at /data/node_modules/which/which.js:89:16\n    at /data/node_modules/isexe/index.js:42:5\n    at /data/node_modules/isexe/mode.js:8:5\n    at FSReqWrap.oncomplete (fs.js:154:21)',
    gyp verb
    [info]  `which` failed   code: 'ENOENT' }
    
    [info] gyp
    [info]  ERR!
    [info]  configure error 
    
    [info] gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
    
    [info] gyp ERR! stack     at PythonFinder.failNoPython (/data/node_modules/node-gyp/lib/configure.js:484:19)
    gyp
    [info]  ERR! stack     at PythonFinder.<anonymous> (/data/node_modules/node-gyp/lib/configure.js:406:16)
    
    [info] gyp ERR! stack     at F (/data/node_modules/which/which.js:68:16)
    gyp
    [info]  ERR! stack     at E (/data/node_modules/which/which.js:80:29)
    
    [info] gyp ERR! stack     at /data/node_modules/which/which.js:89:16
    
    [info] gyp ERR! stack     at /data/node_modules/isexe/index.js:42:5
    
    [info] gyp ERR! stack
    [info]      at /data/node_modules/isexe/mode.js:8:5
    gyp ERR! stack
    [info]      at FSReqWrap.oncomplete (fs.js:154:21)
    
    [info] gyp ERR!
    [info]  System Linux 4.9.184-linuxkit
    
    [info] gyp ERR! command
    [info]  "/usr/bin/node" "/data/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
    gyp ERR! 
    [info] cwd /data/node_modules/node-sass
    gyp ERR!
    [info]  node -v v10.14.2
    gyp
    [info]  ERR! node-gyp -v v3.8.0
    
    [info] gyp ERR! not ok 
    
    [info] Build failed with error code: 1
    
    [info] npm ERR! code ELIFECYCLE
    
    [info] npm ERR! errno 1
    
    [info] npm ERR! node-sass@4.13.1 postinstall: `node scripts/build.js`
    npm
    [info]  ERR! Exit status 1
    
    [info] npm ERR! 
    npm
    [info]  ERR! Failed at the node-sass@4.13.1 postinstall script.
    npm
    [info]  ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    [info] 
    npm 
    [info] ERR! A complete log of this run can be found in:
    npm ERR!     /home/spryker/.npm/_logs/2020-01-16T15_14_54_704Z-debug.log
    @delightful-actor-37108 or someone else any idea? p.s.: i used latest spryker/docker-sdk release too.
    l
    • 2
    • 5
  • m

    mammoth-autumn-37948

    01/16/2020, 3:43 PM
    Hallo guys, after merging last b2b release 202001.0 into my project i get following error:
    vendor/bin/console fronten:project:install-dependencies
    (only last part of error -> stack)
  • s

    sparse-kangaroo-34355

    01/16/2020, 4:31 PM
    Hi all.. I've seen some things... But this one is new. This is the OrderConfirmationMail, 3 items of the same type. I directly access the items within the orderEntity and access all of them with the same method. Can anyone explain, why they are varying? 🙄 I wouldn't expect that the calculation varies at the same calculation (in every case +19%)
    w
    l
    • 3
    • 4
  • r

    rhythmic-microphone-10950

    01/17/2020, 7:36 AM
    I have installed the health-check module. The Zed health-check wants a password. Is there any way around that?
    q
    a
    • 3
    • 21
  • f

    fierce-battery-19636

    01/17/2020, 8:31 AM
    Anyone can provide a link to a kubernetes spryker setup that can be used for development? 😅
    w
    q
    +2
    • 5
    • 9
  • a

    aloof-electrician-43662

    01/19/2020, 4:34 PM
    Hi, eventTranfer in Listening showing empty object. Why ? Response from Listening: "{"eventTransfers":{},"eventName":"Product.product_abstract.after.update"}"
    • 1
    • 1
  • c

    clean-glass-99425

    01/20/2020, 1:12 PM
    Zed tries to load
    assets/js/pryker-zed-gui-init.js
    but it is not inside of the folder. Which module does add that script to the system? I am probably running an older version so it is not copied to the assets folder by the twig function.
    a
    • 2
    • 11
  • s

    sparse-kangaroo-34355

    01/21/2020, 12:35 PM
    Hi, I got a question on orderEntity/ twig: I am sending a mail which displays the ordered products to the customer. The mail contains the orderEntity. In the orderEntity every product is listed for the amount of its quantity. Means: You order 4 products of the same type - instead of writing
    Copy code
    4x Printer
    2x Paper
    The output is
    Copy code
    1x Printer
    1x Printer
    1x Printer
    1x Printer
    1x Paper
    1x Paper
    Reducing this in PHP is easy - but twig drives me crazy. Has anyone done this before?
    m
    • 2
    • 8
  • a

    ancient-apartment-59274

    01/22/2020, 4:55 PM
    Hello. Since we have still a 2017.0 version of the shop running and i saw that there was something going on in 2020 version regarding the payment methods which seem now configurable in the backend … is it now also possible to show payment methods depending on other data (like customers data) ? Like for the shipping methods where plugins can be used to calculate/display stuff … what i saw right now is just about configure the availability per store, or did i miss something? Best regards.
    c
    • 2
    • 1
  • a

    acoustic-motherboard-16553

    01/23/2020, 8:17 AM
    Hello, is there a better documentation available for https://documentation.spryker.com/v1/docs/zed-api or maybe some swagger files?
    a
    • 2
    • 3
  • e

    echoing-continent-95761

    01/23/2020, 8:52 AM
    Hi, I'm trying to configure Spryker to use our own oauth server (keycloak). I could not find any documentation on this issue. Has anyone done this before and can give me a hint? Thanks a lot Matthias
    m
    m
    • 3
    • 11
  • r

    refined-psychiatrist-31162

    01/23/2020, 9:09 AM
    Hi Community, I have a business case to have ZED store specific - independent navigation for every store. Does anybody know if this is possible with any Spryker/3rd party module?
  • a

    ancient-apartment-59274

    01/23/2020, 12:58 PM
    Hello. As far as i understood, different physical databases can only be set region-wise in the docker sdk config file
    Copy code
    regions:
        EU:
            services:
                database:
                    database: eu-docker
                    username: spryker
                    password: secret
    
            stores:
                DE:
                    services:
                        broker:
                            namespace: de-docker
                        key_value_store:
                            namespace: 1
                        search:
                            namespace: de_search
                AT:
                    services:
                        broker:
                            namespace: at-docker
                        key_value_store:
                            namespace: 2
                        search:
                            namespace: at_search
    Means here: DE and AT are sharing the same db … how should the config looks when i want to have DE and AT using separate databases? Since they are not in different regions, it would make no sense to create different regions for each store … 🤔 Or do i miss something general? Thanks!
    h
    • 2
    • 2
  • g

    glamorous-quill-49387

    01/23/2020, 2:03 PM
    Hello guys, I am currently working on introducing multistore to our app. Currently we only have one store and we have separate docker containers for yves and zed, What I would like to ask is can I have multiple stores without adding any new containers, perhaps changing nginx config or something. Thanks
    f
    • 2
    • 1
  • a

    ancient-apartment-59274

    01/23/2020, 5:15 PM
    Hi again, currently I introduced a new store which should be complete independent from the other stores. Separate db, queue etc. just the same codebase. That works except for the store db entries itself … unfortunately on “dataimportstores” command just the keys in stores.php are read regardless if the stores have to do with each other or not. Is this just an importer issue or has this a deeper meaning?
    a
    • 2
    • 6
  • a

    aloof-electrician-43662

    01/24/2020, 9:55 AM
    Hi, Event: PRODUCT_ABSTRACT_AFTER_CREATE, not getting id new added product, Maybe you know why ?
  • w

    wide-flag-26835

    01/24/2020, 10:19 AM
    We just had an interesting case at our foundations workshop: if you use the new dockersetup and try to call console commands over cli for a specific store we had a problem. With default configuration `docker/sdk cli`enters the DE-container if you run for eg.
    APPLICATION_STORE=US console data:import:antelope
    there it still runs the commands in DE-store context . this can be avoided by using the right container with
    APPLICATION_STORE=US docker/sdk cli
    then the commands in there did run in the expected way. maybe you can address this, because this could cause confusion
    👍 3
    h
    • 2
    • 1
  • m

    mammoth-autumn-37948

    01/24/2020, 10:52 AM
    Hello guys, i get the following template error
    Copy code
    Template "@WebProfiler/Profiler/toolbar_js.html.twig" is not defined (Spryker\Shared\Twig\TwigFilesystemLoader: Unable to find template "Profiler/toolbar_js.html.twig" (looked into: ).).
    I use the latest docker instance. On Yves it works good. Here the configuration in config_default-docker.php
    Copy code
    $config[WebProfilerConstants::IS_WEB_PROFILER_ENABLED]
        = $config[WebProfilerWidgetConstants::IS_WEB_PROFILER_ENABLED]
        = getenv('SPRYKER_DEBUG_ENABLED') && !getenv('SPRYKER_TESTING_ENABLED');
    The
    WebProfilerApplicationPlugin
    is correcty registered under
    \Pyz\Zed\Application\ApplicationDependencyProvider
    . Maybe someone has the same problem? Thank u in advance.
    • 1
    • 1
  • c

    clean-glass-99425

    01/24/2020, 4:25 PM
    Our tests currently fail because the automatically created CustomerBuilder.php has doublicated Methods.
    withAnotherSaleNotificationSettings
    ,
    withSaleNotificationSettings
    ,
    withAnotherPermissions
    and
    withPermissions
    are two times inside of the PHP Class. As all this is autogenerated and we only have one customer.transfer.xml inside of it's verndor folder I currently have no guess why this could happen.
    • 1
    • 3
  • r

    rich-camera-19306

    01/27/2020, 6:57 AM
    Is php7.4 supported by Spryker?
    ➕ 1
    w
    • 2
    • 3
1...101112...102Latest