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

    ancient-apartment-59274

    08/04/2020, 9:33 AM
    Hello again, i had a weird issue that for our order export there was a hydrated sales order but no corresponding customer exists anymore. That leads to an sales order transfer without any customer information. I resolved that but still have a question … The problem was, that there is still a sales order record but without any corresponding customer in the spy_customer table anymore. Until now i thought that all data for sales order come from the sales order tables itself, but it seems that is not the case. As a following step the customer_reference which is part of the spy_sales_order table gets deleted by the
    hydrateMissingCustomer()
    method too. So no customer information in the order transfer even if its there (customer_reference in spy_sales_order) So what is the purpose of getting all data from the sales order except the customer itself? What about the case, that a customer changed (or does not exist anymore as in my case) when the export starts much later? Wouldn’t that lead to wrong data? Best
    c
    • 2
    • 5
  • b

    big-boots-94420

    08/04/2020, 1:02 PM
    Hello, can anybody please tell me what's wrong with my middleware validation ruleset? I checked the syntax with the documentation and don't see any error but spryker keeps telling me "The required option 'value' is not set" and i have no idea what's wrong with it.
    Copy code
    'is_test' => [
        'NotEqualTo',
        'options' => [
            'value' => true,
        ],
    ],
    c
    • 2
    • 4
  • a

    acoustic-businessperson-27970

    08/05/2020, 9:12 AM
    Hi all, I am trying to install Spryker B2B with docker … everything seems to be going well until it tries to run installation recipe I get this error … Any suggestions ? where can I see the logs … because even when I try to read containers logs I don’t seem to find them (or not anything useful)
    c
    h
    • 3
    • 3
  • n

    nutritious-cpu-80657

    08/06/2020, 8:07 AM
    Good morning! I was wondering, if I create an abstract product, but don't add any super attributes to it before saving, is it possible to go back and add more super attributes to it at a later stage? We seem to have no way to configure more super attributes to a previously saved abstract product, which means we can't then add any concrete variants and therefore this becomes a product in our system that can't be activated or deleted. I may have totally missed something out here and possible we have a customisation which has overridden this - but I wondered is this standard behaviour? Many thanks! 🙂
    a
    a
    d
    • 4
    • 12
  • i

    icy-hydrogen-3905

    08/07/2020, 10:33 AM
    Hey guys, I have a problem with my local mail service. I am using the Vagrant box setup. Here I have a mailcatcher service preinstalled. When sending emails (e.g. forgot password email) I get the success message in the frontend. Also i DO NOT get any errors in the logs. Unfortunately there are no emails incoming to my mailcatcher. Do you have any ideas what I can do here or where I have to change configurations? thanks 🙂
  • a

    ancient-apartment-59274

    08/10/2020, 2:19 PM
    Hello, it seems that my last composer update of spryker packages didn’t work very well. For example between spryker session 4.6.0 (my previouse installed version) and 4.7.3 (newest). The spryker/silex dependency was removed which leads to a not found package in Application dependency provider … since no major version changed … why there is a non backward compatible change like this? What do i miss here? Best
    a
    m
    h
    • 4
    • 28
  • a

    acoustic-motherboard-16553

    08/10/2020, 2:46 PM
    Hey guys, is it possible to switch (for old orders) the fk_oms_order_process on spy_sales_order_item manually in db to the latest oms order process? We have atm the problem that we introduced a new state machine and now we want to use it also for maybe the last 60 days of old orders. Or is this not a good idea and something will break here?
    l
    • 2
    • 4
  • e

    echoing-action-91797

    08/11/2020, 8:11 AM
    Hello there! I got a question related with the Spryker internal redirection. I see there is a CMS Redirection mapping table in Zed. And it's actually working nicely in Yves. The question is: Does anybody know which class is the responsable of apply this mapping logic? Where can I find this particular logic so the redirection gets applied properly in Yves? Thanks!
    s
    c
    • 3
    • 4
  • c

    crooked-house-89121

    08/12/2020, 6:41 AM
    Hello all, is there a single point where I can check every product that is supposed to be added to the cart? I looked at the CartController and the executePreAddToCartPlugins but when I add a product via the QuickOrder the addAction in CartController is not called, as far as i can see.
    h
    s
    • 3
    • 3
  • b

    billions-knife-68708

    08/12/2020, 2:09 PM
    Hey guys, I’m trying to configure the Paypal payment method with Braintree using: https://documentation.spryker.com/docs/braintree-configuration# I’ve followed all the steps there and the button successfully appears but when I click on it I get this JS issue:
    checkout.js error Error: paypalCheckoutInstance is undefined: braintree-pay-pal.ts:84:32
    I have to mention the after installing the module with composer I had to manually put into packages.json the following packages:
    braintree-web-drop-in
    paypal-checkout
    and
    braintree-web
    . Did any of you guys had a similar issue?
  • i

    icy-hydrogen-3905

    08/13/2020, 9:59 AM
    Hey guys, is there a Twig functionality available to generally format numbery depending on store/locale? I know there is a Twig function for money which formats the number with the correct currency, decimal places, delimiters and so on. Is there a general function for numbers? Where I could pass a number and get the correct decimal and thousands separators depening on the current store/locale?
    s
    • 2
    • 1
  • a

    ancient-apartment-59274

    08/13/2020, 1:01 PM
    Hello,
    <transfer name=“RestPayment”>
    <property name=“paymentProviderName” type=“string” restRequestParameter=“required”/>
    <property name=“paymentMethodName” type=“string” restRequestParameter=“required”/>
    <property name=“paymentSelection” type=“string”/>
    </transfer>
    If paymentProviderName and paymentMethodName is required for checkout, what is “paymentSelection” for? 🤔
    i
    • 2
    • 4
  • n

    numerous-continent-72597

    08/13/2020, 1:52 PM
    Hi there, I'm trying to get my own Elasticsearch query running in Yves using a Client exactly as per Bootcamp "Content and Search" Step 1 Video. I'm getting the following error in my PersonalizedProductsClient::getPersonalizedProducts() method that I'm calling in the Yves controller: ----------- "None of the applied "Spryker\Client\SearchExtension\Dependency\Plugin\SearchAdapterPluginInterface"s is applicable for the specified context." ------------ from this call:
    Copy code
    return $this->getFactory()->getSearchClient()->search($searchQuery, $formatter);
    The error is finally thrown in the vendor SearchDelegator.php getSearchAdapter() method which gets the following array as $this->searchAdapterPlugins variable:
    Copy code
    ["elasticsearch"]=>  object(Spryker\Client\SearchElasticsearch\Plugin\ElasticsearchSearchAdapterPlugin)
    Any ideas?
  • a

    agreeable-dawn-36295

    08/14/2020, 7:38 AM
    Hello, I have setup a fresh b2c shop in my local, and getting following error when I run phpstan
    Copy code
    ------ --------------------------------------------------------------------------------------
      Line   LocaleRepository.php
     ------ --------------------------------------------------------------------------------------
      44     Cannot access offset 'spy_locale.id_locale' on Orm\Zed\Locale\Persistence\SpyLocale.
      44     Cannot access offset 'spy_locale.locale…' on Orm\Zed\Locale\Persistence\SpyLocale.
     ------ --------------------------------------------------------------------------------------
    I’m wondering why its not failing in travis of your b2c shop repository
    f
    • 2
    • 4
  • m

    mysterious-pencil-76046

    08/18/2020, 7:49 AM
    Hey! I am trying to use
    $this->tester->getLocator()->product()->facade()
    in a codeception unit test. This leads to an exception about missing factory.
    Copy code
    [Spryker\Zed\Kernel\ClassResolver\Factory\FactoryNotFoundException] Spryker Kernel Exception
    Can not resolve ProductBusinessFactory in Business layer for your module "Product"
    You can fix this by adding the missing Factory to your module.
    E.g. Pyz\Zed\Product\Business\ProductBusinessFactory
    In my codeception.yml the following modules are enabled:
    Copy code
    - Asserts
                    - \PyzTest\Shared\Testify\Helper\Environment
                    - \SprykerTest\Shared\Testify\Helper\LocatorHelper:
                        projectNamespaces: ['Pyz']
                    - \SprykerTest\Shared\Testify\Helper\DependencyHelper
                    - \SprykerTest\Shared\Testify\Helper\DataCleanupHelper
                    - \SprykerTest\Shared\Propel\Helper\TransactionHelper
    In fact the factory exists, even on project level, and, of course, on vendor level. Any ideas whats going wrong?
    p
    c
    • 3
    • 15
  • a

    acoustic-businessperson-27970

    08/18/2020, 9:36 AM
    hallo all, I am looking at the performance tuning tips by spryker here : https://documentation.spryker.com/docs/performance-guidelines#classresolver-optimizations This section talks about two Kernel constants that I could not find :
    Copy code
    $config[KernelConstants::RESOLVABLE_CLASS_NAMES_CACHE_ENABLED] = true;
    $config[KernelConstants::RESOLVED_INSTANCE_CACHE_ENABLED] = true;
    Can anyone please help me to find them, or the constants that can be used instead if these are deprecated ! Thanks
    f
    m
    • 3
    • 6
  • g

    gentle-architect-75453

    08/18/2020, 10:18 AM
    Hi all - I have another question concerning OMS - can I add two commands to one event? Let's say I want to send a confirmation e-mail and trigger the next step, both on enter a certain state. Cheerio, Sarah
    q
    c
    • 3
    • 5
  • i

    icy-hydrogen-3905

    08/18/2020, 12:08 PM
    Hey guys, When enabling the maintenance mode (console maintenance:enable) I get a minimal page with the Info " PAGE UNDER CONSTRUCTION!" How could I deliver a locale depending page here or even better have Twig support with Localization feature (trans filter)? Thanks Ron
    a
    h
    • 3
    • 5
  • c

    crooked-house-89121

    08/19/2020, 7:41 AM
    Hi all, I added a CartPreCheck plugin to check for the availability of a product that I get by requesting the stock of the product from a NAVConnect. I managed to get an error message when the check for availability fails. But the product is still added to the cart. I debugged through AvailabilityCartConnector/Business/Cart/CheckCartAvailability.php which determines isSellable but it is unclear to me where the product is actually excluded from being added to the cart. Maybe someone can help me where this takes place?
    c
    i
    m
    • 4
    • 11
  • p

    powerful-wolf-20961

    08/21/2020, 8:40 AM
    Hi all! Currently I'm doing the Spryker update. And the first error after composer install is from the image. Do you have any idea how can I fix it? 🙂 Thanks in advance!
    m
    l
    • 3
    • 8
  • p

    powerful-wolf-20961

    08/21/2020, 9:55 AM
    Hi again! What do you know about this error from vendor?
  • a

    ancient-apartment-59274

    08/21/2020, 11:21 AM
    Hello, i want to implement a publish/unpublish flow for one of our customer specific models … for that i had a look at the product concrete/abstract stuff of spryker which should behave similar. So basically there are events that get fired by propel like entity.create/update/delete etc …. then there is also publish and unpublish event which can be used freely whenever you need them. When i look for the usage of the unpublish event (search for the usage of that constant) it will never get used anywhere … so are these publish/unpublish events just for completeness here or do i miss something? Where these events get fired? The overall goal is to delete something from a redis store when a customer gets anonymized. So where is the place to go? Best
    m
    r
    • 3
    • 3
  • r

    rich-camera-19306

    08/24/2020, 2:01 PM
    Could someone please fix this:
    Copy code
    Error - Exception: Cannot use object of type stdClass as array 
    in /var/www/vendor/spryker/documentation-generator-rest-api/src/Spryker/Zed/DocumentationGeneratorRestApi/Business/Generator/OpenApiSpecificationSchemaGenerator.php (312)
    
    Command: vendor/bin/console rest-api:generate:documentation
    Version:
    Copy code
    "name": "spryker/documentation-generator-rest-api",
                "version": "1.10.4",
                "source": {
                    "type": "git",
                    "url": "<https://github.com/spryker/documentation-generator-rest-api.git>",
                    "reference": "1562d5706e3be2b048db6f156a277701ce0cd553"
                },
    a
    • 2
    • 9
  • r

    rich-camera-19306

    08/24/2020, 2:58 PM
    Hello! Where can I find this method? https://github.com/spryker/product-page-search/blob/master/src/Spryker/Zed/ProductPageSearch/Communication/ProductPageSearchCommunicationFactory.php#L83
    a
    • 2
    • 1
  • r

    rich-camera-19306

    08/25/2020, 7:56 AM
    Yet another one https://github.com/spryker/product-page-search/blob/master/src/Spryker/Zed/ProductPageSearch/Communication/Plugin/PageMapExpander/PricePageMapExpanderPlugin.php#L18
    a
    m
    • 3
    • 9
  • r

    rich-camera-19306

    08/25/2020, 7:56 AM
    Is anyone actually using spryker? 🤔
    ⬛ 1
  • e

    early-policeman-81538

    08/25/2020, 8:21 AM
    Hey guys! We have ran into an issue with address translation in the checkout process. There are multiple places where customer address is rendered as a string. E.g. when selecting it from the dropdown of available addresses in the Address step, or in a shipment-sidebar in the Delivery step. And every time that happens the salutation is returned in English as a part of that address string, meaning we can't really use the dictionary anymore and are stuck with Mr./Mrs. instead of our localized strings. Do you guys have any tips on how we could solve this the best way?
  • r

    rich-camera-19306

    08/25/2020, 8:31 AM
    Copy code
    "name": "spryker/product-page-search",
                "version": "3.20.2",
                "source": {
                    "type": "git",
                    "url": "<https://github.com/spryker/product-page-search.git>",
                    "reference": "5e6ce64bf1e5e1bc84e75fe5a09f219aab57c51d"
                },
    
    "name": "spryker/search",
                "version": "8.15.1",
                "source": {
                    "type": "git",
                    "url": "<https://github.com/spryker/search.git>",
                    "reference": "c839a2e6165415b30a47fcb5c96cfe2e6cc29a36"
                },
    
    "name": "ruflin/elastica",
                "version": "7.0.0",
                "source": {
                    "type": "git",
                    "url": "<https://github.com/ruflin/Elastica.git>",
                    "reference": "d9a079c682405514deb6902a71f35ad19e252acd"
                },
  • r

    rich-camera-19306

    08/25/2020, 8:31 AM
    There is another issue:
    Copy code
    Error: Call to undefined method Elastica\Document::setType() in /var/www/vendor/spryker/search/src/Spryker/Client/Search/Model/Elasticsearch/Writer/Writer.php on line 200
    
    Call Stack:
        0.0043     356792   1. {main}() /var/www/vendor/spryker/console/bin/console:0
        0.1697    1473792   2. Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->run(???, ???) /var/www/vendor/spryker/console/bin/console:27
        0.1774    1632304   3. Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRun(???, ???) /var/www/vendor/symfony/console/Application.php:148
        0.1975    1824496   4. Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRun(???, ???) /var/www/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php:110
        0.4779    4574976   5. Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRunCommand(???, ???, ???) /var/www/vendor/symfony/console/Application.php:255
        0.4793    4578184   6. Spryker\Zed\Queue\Communication\Console\QueueTaskConsole->run(???, ???) /var/www/vendor/symfony/console/Application.php:1005
        0.4799    4579200   7. Spryker\Zed\Queue\Communication\Console\QueueTaskConsole->execute(???, ???) /var/www/vendor/symfony/console/Command/Command.php:255
        0.4834    4583152   8. Pyz\Zed\Queue\Business\QueueFacade->startTask(???, ???) /var/www/vendor/spryker/queue/src/Spryker/Zed/Queue/Communication/Console/QueueTaskConsole.php:55
        0.5036    4685440   9. Spryker\Zed\Queue\Business\Task\TaskManager->run(???, ???) /var/www/vendor/spryker/queue/src/Spryker/Zed/Queue/Business/QueueFacade.php:34
        2.0840    5987840  10. Spryker\Zed\Synchronization\Communication\Plugin\Queue\SynchronizationSearchQueueMessageProcessorPlugin->processMessages(???) /var/www/vendor/spryker/queue/src/Spryker/Zed/Queue/Business/Task/TaskManager.php:59
        2.0889    5987936  11. Spryker\Zed\Synchronization\Business\SynchronizationFacade->processSearchMessages(???) /var/www/vendor/spryker/synchronization/src/Spryker/Zed/Synchronization/Communication/Plugin/Queue/SynchronizationSearchQueueMessageProcessorPlugin.php:32
        2.1239    6069152  12. Pyz\Zed\Synchronization\Business\Message\BulkQueueMessageProcessor->processMessages(???) /var/www/vendor/spryker/synchronization/src/Spryker/Zed/Synchronization/Business/SynchronizationFacade.php:90
        2.1243    6071768  13. Pyz\Zed\Synchronization\Business\Message\BulkQueueMessageProcessor->processMessages(???) /var/www/src/Pyz/Zed/Synchronization/Business/Message/BulkQueueMessageProcessor.php:52
        2.1357    7039056  14. Pyz\Zed\Synchronization\Business\Message\BulkQueueMessageProcessor->runBulkWrite(???) /var/www/vendor/spryker/synchronization/src/Spryker/Zed/Synchronization/Business/Message/BulkQueueMessageProcessor.php:69
        2.1357    7039056  15. Spryker\Zed\Synchronization\Business\Search\SynchronizationSearch->writeBulk(???) /var/www/vendor/spryker/synchronization/src/Spryker/Zed/Synchronization/Business/Message/BulkQueueMessageProcessor.php:88
        2.1385    7102872  16. Spryker\Zed\Synchronization\Dependency\Client\SynchronizationToSearchClientBridge->writeBulk(???) /var/www/vendor/spryker/synchronization/src/Spryker/Zed/Synchronization/Business/Search/SynchronizationSearch.php:157
        2.1385    7102872  17. Pyz\Client\Search\SearchClient->writeBulk(???) /var/www/vendor/spryker/synchronization/src/Spryker/Zed/Synchronization/Dependency/Client/SynchronizationToSearchClientBridge.php:56
        2.1534    7277096  18. Spryker\Client\Search\Model\Elasticsearch\Writer\Writer->writeBulk(???) /var/www/vendor/spryker/search/src/Spryker/Client/Search/SearchClient.php:217
        2.1534    7277096  19. Spryker\Client\Search\Model\Elasticsearch\Writer\Writer->mapTransferToDocuments(???) /var/www/vendor/spryker/search/src/Spryker/Client/Search/Model/Elasticsearch/Writer/Writer.php:88
    Version:
    a
    • 2
    • 1
  • r

    rough-scientist-68683

    08/25/2020, 1:19 PM
    Hi there, I've got another question on testing: I finally managed to create test fixtures for my GLUE-Tests without any error and the generated fixture-file looks like I would expect it to look. I afterwards executed queueworkerstart for the devtest env but got the output:
    sh: 1: ps: not found
    . So the test won't work because the result says "Abstract product not found" when calling
    'abstract-products/{productId}'
    . Did I forget something or do you have any hint on what the problem may be?
    i
    • 2
    • 10
1...232425...102Latest