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

    loud-rainbow-44827

    05/27/2020, 1:33 PM
    hello. is there any way to add en_GB locale? Do I need to setup new store for this? Or maybe can I change somehow default en_US to en_GB? Do I need to reinstall everything for this? as I understand en_US and en_GB can't live together because in
    spy_url
    database table field
    url
    is unique. And if we are going to add (using default csv import for example) some new categories with new urls for en_GB it will have the same url key? With
    en
    . It is confusing.
    a
    d
    +2
    • 5
    • 15
  • a

    acoustic-businessperson-27970

    05/27/2020, 3:03 PM
    hi, when I run console sync:data resource id1,id2,id3 it will alwyas sync all entities of that resource is the syntax I am using correct?
    • 1
    • 1
  • a

    acoustic-motherboard-16553

    05/28/2020, 6:45 AM
    Good morning, can someone tell me please where the store will be set in the code? Atm our US Store often routes to the COM store with en_US after we updated most oft the packages and dropped the silex routing
    • 1
    • 1
  • s

    silly-motherboard-93855

    05/28/2020, 8:05 AM
    Copy code
    $ vendor/bin/console scheduler:resume
    Code bucket: EN | Store: EN | Environment: demooutlet
    Scheduler Name: jenkins
    Scheduler Status: ERROR
    Client error: `POST http://<URL>:8080/job/EN__check-product-validity/enable` resulted in a `403 Forbidden` response:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>Error 403 No valid crumb was in (truncated...)
    New scheduler 1.1.0 release didn't fix the crumb issue, what I should be looking at? is there a doc how to set up the jenkins for this to work?
    a
    w
    • 3
    • 27
  • m

    mysterious-pencil-76046

    05/28/2020, 11:01 AM
    Hey! In earlier versions it was possible to run codesniffstyle for a specific file by adding the path to the file. Now it seems only to work for folders. In the code i cant see a flag or something else to only check specific file. Is there a trick? https://documentation.spryker.com/docs/code-style-guide
    q
    m
    w
    • 4
    • 5
  • s

    sparse-fall-78248

    05/28/2020, 1:50 PM
    Hi! Is there any way I can call my own namespace using getLocator? We've got our own namespace for custom modules and I'd like to get an instance of a module that lives there. The regular Locator only seems to resolve anything \Pyz
    • 1
    • 2
  • j

    jolly-night-88032

    05/29/2020, 9:44 AM
    Is there any way to get the tree view back on the category gui? And what was the reasoning behind the removal?
    a
    • 2
    • 3
  • p

    powerful-oyster-48938

    05/29/2020, 11:15 AM
    Howdy 👋 We're currently in the final steps of migrating away from Silex and found that the concept of separating incoming calls into internal, api, and browser has been removed in ZedBootstrap. Now the drawback of that seems to be that every Yves-to-Zed call creates a new session and this is filling up Redis unnecessarily. Is this expected behavior? If not, what did we miss during the migration? Any help is very appeciated.
    a
    • 2
    • 6
  • m

    many-continent-24692

    05/29/2020, 3:24 PM
    which feature in Spryker expands the sales order items so that there is one per unit? e.g. 5x SKU-1234 becomes 5 items in the sales order, not 1 item with quantity 5
    c
    m
    b
    • 4
    • 28
  • b

    brave-tiger-85853

    06/02/2020, 7:26 AM
    Hi all, I have a general question, what would be the best way to add concrete products to the catalog search. We would like to display the concrete products grouped with the abstract products in the list view. Has anybody ever implemneted this? I thought of using a parent/child relationship in elasticsearch, but I would have to create a new index because multiple types exist.
    q
    p
    +2
    • 5
    • 8
  • g

    gentle-vegetable-74963

    06/02/2020, 9:38 AM
    Morning, one of the first things we notice on Spryker shops is baskets that contain items with quantity above one are split into multiple items of single quantity when an order is created. I understand this is to allow split shipments, and other complex order workflows. This appears to be done in
    OrderItemTransformer
    https://github.com/spryker/sales/blob/master/src/Spryker/Zed/Sales/Business/Model/OrderItem/OrderItemTransformer.php#L29 I have 2 questions about this feature: 1. Is it possible to replace this behaviour with
    NonSplittableItemTransformerStrategyPlugin
    so order items are stored with the same quantity as the quote? 2. As the
    OrderItemTransformer
    is copying the
    ItemTransfer
    and setting quantity to 1, what should ensure the total price is recalculated for a single quantity rather than the original multiple quantity? In our shop the order item totals are showing the original total of unit price x quantity, so the numbers do not add up! I cannot see anything we have extended in this area so I suspect something has been removed but I'm not sure what.
    a
    • 2
    • 1
  • g

    gentle-vegetable-74963

    06/02/2020, 1:54 PM
    ^^ sorry if this sounds desperate 🙂 - does anyone have experience of replacing the order item splitting? (or the other question) It looks like an easy change but it's also a significant one, so any advice would be much appreciated.
    q
    a
    m
    • 4
    • 6
  • w

    wonderful-petabyte-13511

    06/02/2020, 2:14 PM
    Hello! Does someone already work on spryker side with stock increments (https://github.com/spryker/stock/blob/master/src/Spryker/Zed/Stock/Business/StockFacade.php#L189 ) ? It looks like it just changes the stock and doesn't recalculate the availability. From our point of view we have to run `$this->handleStockUpdatePlugins($sku)`in Writer. It works for decrements because we decrease reserved products and decrease stock, so total availability doesn't change. But it probably should be added there too for completeness.
  • c

    crooked-house-89121

    06/03/2020, 7:52 AM
    Hello all, I’m trying to modify the CustomerPage to automatically redirect the Agents directly to the
    '@AgentPage/views/overview/overview.twig'
    . Is there a good way to differentiate between a user that has the role
    'ROLE_USER'
    or the role
    'ROLE_AGENT'
    ? As far as I can see this role is set after the user logs in.
  • a

    aloof-electrician-43662

    06/03/2020, 10:54 AM
    Hello all, I looking for method from facade to get information about category when i update product, i'm search it in category facade, product facade and i not see it, egz. findCategoryByAbstractProductId. Where i can found this (of course in Zed) ?
    s
    • 2
    • 3
  • p

    purple-coat-90835

    06/03/2020, 6:26 PM
    Hi all, I'm having some issues with Codeception for Zed unit tests. I'd like to mock
    MyModuleBusinessFactory
    using
    SprykerTest\Zed\Testify\Helper\BusinessHelper
    . Unfortunately the test class gets executed with the actor defined in the project
    codeception.yml
    instead of
    MyModuleBusinessTester
    in the
    PyzTest\Zed\MyModule
    namespace (although added to
    tests/PyzTest/Zed/MyModule/codeception.yml
    ). Because of this the BusinessHelper cannot resolve the factory class name in
    \SprykerTest\Shared\Testify\Helper\BusinessHelper::getFactoryClassName
    . Does someone know how to override the actor in this scenario?
    • 1
    • 1
  • a

    acoustic-businessperson-27970

    06/04/2020, 8:48 AM
    Hi After I ran vendor/bin/install something seems to be incorrect. Rabbit MQ has 66K messages unprocessed, Jenkins running for all 4 stores, queue worker processes are running but still RabbitMQ is not processing I see the status (see the screenshot below) constantly
    a
    q
    • 3
    • 39
  • e

    early-policeman-81538

    06/05/2020, 10:47 AM
    Hey guys, we are facing an issue with error logging on local machines vs stages: some fatal errors (mostly null-pointers) are not visible in local environment, neither in the browser, nor in the logs. The moment code gets deployed to dev, yves frontend falls apart and only shows stacktrace. There must be something messed up in the configs, which makes development mode ignore the errors completely, but we could not find anything suspicious while comparing env configs with local configs. Would appreciate any help.
    q
    p
    +4
    • 7
    • 108
  • a

    acoustic-businessperson-27970

    06/05/2020, 1:15 PM
    Hi guys what is the purpose of this table
    spy_event_behavior_entity_change
    ?
    g
    p
    • 3
    • 8
  • a

    acoustic-motherboard-16553

    06/08/2020, 8:58 AM
    Hey guys, some question to the spryker eco braintree implementation. At the moment we have the problem (sandbox mode) that we get the error 'Gateway Rejected: duplicate in ...'. Both happens with fake nonce for paypal and credit card. If we wait 30 seconds at summary page before placing order, the order will succeed. Is it a known error?
    ➖ 1
  • m

    many-continent-24692

    06/08/2020, 10:00 AM
    👋 morning, from what I understand Spryker never updates the stock level, and depends on the ERP. But does this mean there is a window where the item is no longer reserved but the stock level remains the same until the next ERP update?
    a
    q
    +2
    • 5
    • 61
  • l

    loud-rainbow-44827

    06/08/2020, 11:45 AM
    Hello. When your
    spryker-eco/akeneo-pim
    module is going to support
    akeneo/api-php-client
    with versions above 4.0.0? I need new version of akeneo client but because of your module - i can't install it.
    a
    p
    c
    • 4
    • 13
  • c

    cool-truck-47629

    06/09/2020, 9:08 AM
    Hi guys 👋 after updating some of the modules to newer version we are getting the
    Uncaught ErrorException: Use of undefined constant APPLICATION_CODE_BUCKET
    Did anyone have this issue? Is there some info what has to be done to avoid it?
    a
    h
    m
    • 4
    • 14
  • p

    purple-forest-91115

    06/09/2020, 1:32 PM
    This message was deleted.
    m
    • 2
    • 1
  • g

    gentle-vegetable-74963

    06/09/2020, 3:11 PM
    Hi all, I have another question about splitting items when an order is created, Just to make it more interesting this time it is about bundle products. 🙂 In our shop the products 'inside' a bundle product could be normal products that are buyable in the shop or products that only exist in that bundle (or other bundles) and are not buyable on their own. These last products have no prices so we had to adapt pub/sync to make those products available in Yves, but there will also be issues with add to cart and creating orders - when the order is split we will have products without prices in our order. Or we won't, because things will break before then 🙂 We could extend all of the cart/order operations to make this work but it feels like there should be an easier way. Is there a way to avoid splitting the bundle in the order, for example?
    l
    • 2
    • 5
  • a

    agreeable-dawn-36295

    06/11/2020, 9:24 AM
    where should the timezone be set for a Spryker application? in php setting or is there any other configuration in spryker? I found ApplicationConstants::PROJECT_TIMEZONE, but that is not being used anywhere. There is also a timezone config in store specific configurations, but that would not affect places where we are creating DateTime objects.
    s
    • 2
    • 1
  • m

    many-continent-24692

    06/12/2020, 9:59 AM
    if you have a state machine with both
    time out
    and
    manually executable
    , will it still progress automatically? (and both timeout and manual are dependent on any condition I guess)
    c
    l
    m
    • 4
    • 19
  • a

    acoustic-businessperson-27970

    06/12/2020, 2:11 PM
    Hi guys Most of the time messages remain for long time in event queue … even if I ran multi processes of queue tasks
    Copy code
    vendor/bin/console queue:task:start event
    it still takes so long! Sometimes running more processes makes the situation even worse ! What am I missing on the application level configuration? Side note: The server where rabbitmq is running is not fully utilised (CPU average does not go beyond 38%)
    g
    l
    • 3
    • 27
  • a

    aloof-electrician-43662

    06/15/2020, 8:50 AM
    hi guys, i modify Pyz/CategoryStorage, and i want install it in another spryker project, i want add this it to composer package, but how use it after install in other project, ?
    f
    g
    • 3
    • 13
  • m

    many-continent-24692

    06/15/2020, 2:36 PM
    👋 bundles - should the stock be updated for bundles? or do we use only
    spy_availbailtiy
    for this?
    d
    • 2
    • 37
1...192021...102Latest