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

    wide-wolf-99519

    05/27/2021, 8:50 AM
    hi, does jenkins configuration from config/Zed/cronjobs/jenkins.php follow the same rules as other configurations (described in https://documentation.spryker.com/docs/configuration-management), so I can have jenkins-live_DE.php for example?
    w
    • 2
    • 1
  • w

    wide-microphone-90453

    05/28/2021, 2:58 AM
    Hi all, I have a question regarding to Schedule price feature, I defined Start from and Finish at , but after the sales end (finish time), the price of product could not back to the original price. Do I need to do or I missing something? Thanks!
    • 1
    • 1
  • a

    ancient-apartment-59274

    05/28/2021, 7:19 AM
    Hello, does somebody know whats the purpose having multiple merchant relations possible to the same merchant? Having a relation as “business unit 1” to a “Merchant A” and another one to “Merchant B” makes totally sense in matter of different price conditions … but creating two relations from “business unit 1" to “Merchant A” does not make any sense to me … whats the use case here? Background: I am currently trying to retrieve a unique merchant relation between a merchant and a business unit using the business unit id and the merchant id, but noticed that i receive more than one row since multiple entries are possible … any ideas?
    a
    • 2
    • 1
  • r

    rough-scientist-68683

    05/31/2021, 9:39 AM
    Hi everyone, I wonder if there is an easy (or preferred) way to start a middleware process from within the code. Does anyone have experience with this?
    • 1
    • 1
  • p

    polite-lunch-97479

    05/31/2021, 1:38 PM
    One question about having a form inside a widget: How would you make the form keep its state after submission? I can't see that this has been solved properly yet. In vendor/spryker-shop/availability-notification-widget/src/SprykerShop/Yves/AvailabilityNotificationWidget/Controller/AvailabilityNotificationSubscriptionController.php e. g. I can see that it will take the errors out of the form and add them as flash messages.
    Copy code
    if ($subscriptionForm->isSubmitted() === false || $subscriptionForm->isValid() === false) {
    	$errors = $subscriptionForm->getErrors(true);
    
    	foreach ($errors as $error) {
    		$this->addErrorMessage($error->getMessage());
    	}
    }
    Is there anything better than that? I'd rather keep inline form messages to display them along with the corresponding form field.
    • 1
    • 2
  • a

    ancient-arm-53696

    06/01/2021, 6:12 AM
    Good morning, we have updated some packages in b2b, including spryker-shop/shop-ui and now get errors with our twig templates:
    Copy code
    YVES Exception
    Twig\Error\RuntimeError - Variable "component" does not exist.
    in /data/src/Pyz/Yves/CheckoutPage/Theme/default/templates/page-layout-order-submitted/page-layout-order-submitted.twig (47)
    Url:/de/checkout/success
    This refers to a code snippet like this:
    Copy code
    {% set containerClass = component.renderClass(config.name ~ '__container', modifiers) ~ ' grid grid--middle grid--center' %}
    How is that supposed to be handled? Adding something like
    {% import model('component') as component %}
    is possible in some cases, but not all, and probably a mess if it needs to be added to all the files. What is recommended here? Thanks in advance
    d
    • 2
    • 2
  • h

    happy-addition-42792

    06/02/2021, 9:12 AM
    Is there a way to prevent
    [02-Jun-2021 08:54:58] WARNING: [pool worker] child 15 said into stderr: "[2021-06-02T08:54:58.797681+00:00] Yves.CRITICAL: Spryker\Shared\SessionRedis\Handler\Exception\LockCouldNotBeAcquiredException - Spryker\Shared\SessionRedis\Handler\SessionHandlerRedisLocking could not acquire access to the session d92b4810bf583771d7ed7728e478abfd in "/data/vendor/spryker/session-redis/src/Spryker/Shared/SessionRedis/Handler/SessionHandlerRedisLocking.php::97" {"exception":"[object] (Spryker\\Shared\\SessionRedis\\Handler\\Exception\\LockCouldNotBeAcquiredException(code: 0): Spryker\\Shared\\SessionRedis\\Handler\\SessionHandlerRedisLocking could not acquire access to the session d92b4810bf583771d7ed7728e478abfd at /data/vendor/spryker/session-redis/src/Spryker/Shared/SessionRedis/Handler/SessionHandlerRedisLocking.php:97)"
    in production? We're using Spryker Cloud.
    p
    a
    m
    • 4
    • 5
  • a

    average-continent-3379

    06/02/2021, 12:13 PM
    Hi all, I'm trying to extend a test class from SprykerEco for an additional test. Even though everything looks good in PHPStorm, all the paths and namespaces match, there are no typos, no error is found anywhere, when I try to run the test it still always says that it can't find the base class:
    Error: Class 'SprykerEcoTest\Zed\CrefoPayApi\Business\CrefoPayApiFacadeBaseTest' not found
    . Has anyone encountered a similar issue? Or any ideas about any possible solutions...?
    a
    • 2
    • 3
  • p

    polite-lunch-97479

    06/02/2021, 2:41 PM
    I'm running the architecture sniffer and getting an error that I don't understand. It's about attached interface and its implementation. Command output keeps telling me that the bridge method is different from the one defined in the interface.
    Copy code
    docker/sdk console code:sniff:architecture -vvv
    -->  DEVELOPMENT MODE   
    Store: DE | Environment: docker.dev
    Run Architecture Sniffer for PROJECT
    /data/src/
     Bridges: The bridge interface has incorrect method 'generate' signature. That violates the rule "All bridge methods must have exactly the same signature as their interface" (l. 12)
     Spryker > BridgeMethodsRule
    1 violations found
    Next thing I did was to edit vendor/spryker/architecture-sniffer/src/Common/Bridge/BridgeMethodsRule.php temporarily to produce some additional log output. Turns out that the parameter comparison is failing:
    Copy code
    Parameter #0 [ <required> Generated\Shared\Transfer\SequenceNumberSettingsTransfer $sequenceNumberSettingsTransfer ]
    Parameter #0 [ <required> Generated\Shared\Transfer\SequenceNumberSettingsTransfer $sequenceNumberSettings ]
    First line is the one from the interface method, second one from its implementation. Crazy thing is that the second line doesn't reflect the actual argument name from the Bridge class. How can that be?
    ContactToSequenceNumberBridge.phpContactToSequenceNumberInterface.php
    a
    • 2
    • 20
  • m

    mammoth-autumn-37948

    06/02/2021, 2:47 PM
    Hi Spryker, here
    vendor/spryker/publish-and-synchronize-health-check/src/Spryker/Zed/PublishAndSynchronizeHealthCheck/Persistence/PublishAndSynchronizeHealthCheckPersistenceFactory.php
    there is a typo error... Class not found.. wrong use statement. Thank u! Fyi: @average-branch-45579
    ✔️ 1
    a
    s
    • 3
    • 17
  • a

    ancient-apartment-59274

    06/03/2021, 10:15 AM
    Hello, when the customer is on cart page (/cart) we want to remove a explicit cart item when it has no price. It seems this works when a cart operation is executed before like add or remove, but it does not seem that a simple reload of the cart page will notify the cart of absent prices … However, we want to ensure that a checkout can not proceed when the price changed in backend, regardless of concrete cart operations … any suggestions? 🤔
    a
    • 2
    • 1
  • a

    astonishing-lamp-41374

    06/03/2021, 5:47 PM
    Hello: https://documentation.spryker.com/docs/cms-feature-integration-guide#4--configure-export-to-redis-and-elasticsearch has the function in Pyz\Client\RabbitMq\RabbitMqConfig changed from
    getQueueOptions
    ->
    getQueueConfiguration
    ? So far the installation seems to have taken care of most of the new functions but getQueueOptions is missing…
    • 1
    • 3
  • g

    great-cpu-16911

    06/03/2021, 10:23 PM
    Hi! I want add block in specific a page to my shop and I add from zed cms. But when i make a change this not updated. I was tried clear cache and not updated. what's wrong? Image 1: In zed | Image 2: Edit Placeholder | Image 3: In my shop
    s
    • 2
    • 2
  • s

    stocky-insurance-30459

    06/04/2021, 3:03 AM
    HI Team. What is Widget on bellow addcart buttion.
    👀 1
    c
    • 2
    • 2
  • b

    brave-air-39109

    06/07/2021, 9:09 AM
    @brave-air-39109 has left the channel
  • m

    mammoth-autumn-37948

    06/07/2021, 9:10 AM
    Hi Guys, I have a zed table and I want to optimize the query builder to load the data into table. I have to save up also the network transfer and therefore i want to select only the table fields displayed in zed table list... I just make smth so:
    Copy code
    ....
    $query->clearSelectColumns();
    $query->select([
       <array of fields via TableMap>
    ]);
    It happened that in this format propel just don't map the enum fields.. I.e. I have a field ENUM mapped in "A,B,C" and when I select the fields directly then i got the int value behind the map and not the mapped value according valueSet for ENUM. Any idea why? Or maybe I make smth wrong? Thanks!
    • 1
    • 1
  • p

    plain-house-98998

    06/08/2021, 9:03 AM
    Hi community, In case a CMS page url has to be put somewhere in twig, AFAIK there is no way to get one, and it has to be hardcoded. How to deal with it if CMS page has different url for different language?
  • a

    ancient-apartment-59274

    06/08/2021, 12:04 PM
    Hello, is there a reason why there are so much deprecated functions left in the sprykers “category” core facade? I usually observe this kind of massive deprecation when the complete module should be replaced/removed step by step. Especially we were searching for a function that gets the category by key, but it seems this existing function will be removed with the next major. So, what is the plan/intention here? How to fetch categories by keys in future? Best regards
    a
    • 2
    • 3
  • n

    numerous-continent-72597

    06/08/2021, 2:08 PM
    Hello, we would like to integrate PayOne via the Plugin/Module in the documentation: https://documentation.spryker.com/docs/payone-v1-1 But our project is a headless project completely without Yves. So the question is if there is a guide to integrate Payone via Glue only and if not, can you please provide us with it? We would like to create a recurring payment depending on the user choice (yearly, half-yearly, quaterly). Is that also possible with the Payone plugin and how? Also how can we first just block the order amount and only really authorize the payment once the order has been approved in Zed? We only want to use PayPal via Payone. Best regards, Patrick
    ➖ 1
    a
    a
    • 3
    • 5
  • n

    nutritious-cpu-80657

    06/08/2021, 2:18 PM
    Hi! Just wondering if this is a known issue - we have noticed in the Product Attribute GUI module that there seems to be an erroneous character in one of the twig templates:
    product-attribute-gui/src/Spryker/Zed/ProductAttributeGui/Presentation/View/_partials/add-attribute-form.twig
    On line 17 after the
    endembed
    directive there is the letter
    c
    which I believe is a typo 😄
    a
    • 2
    • 3
  • m

    melodic-translator-48489

    06/08/2021, 3:14 PM
    @melodic-translator-48489 has left the channel
  • e

    early-rocket-64335

    06/08/2021, 4:15 PM
    Hello guys, we need to make one change in the authentication method, actually spryker uses the email as username, but we need to change it for the phone number (phone). We have two options for this change: 1.- overwrite the code of the classes, adding the phone as principal field of authentication, 2.- create a new module of spryker bassed on the existent functionality. we need to know if its factible or if we goint to have problems with dependencies of this module? or can you help us making a suggestion about this. currently exists this functionality? if so, they could tell us if we have to install any extra module or give us suggestions to implement it.
  • b

    billowy-eye-80487

    06/09/2021, 1:05 PM
    Is there a way to extend Zed views (like
    vendor/spryker/category/src/Spryker/Zed/Category/Presentation/View/index.twig
    ) without copying the whole file to the project folder? I’ve tried
    {% extends '@Category/View/index.twig' %}
    but then I’m getting redirected back to the list. I guess this doesn’t work because the twig file tries to extend itself.
    f
    p
    • 3
    • 5
  • s

    stocky-lizard-37635

    06/09/2021, 5:22 PM
    I have noticed a really urgent issue with our Spryker setup. 2 days ago we had the problem, that the disk was full. This issue is resolved. But it seems that rabbitmq stopped to work. Lots of Jenkins jobs are crashing, especially "DE__queue-worker-start"
    PhpAmqpLib\Exception\AMQPConnectionClosedException - Exception: INTERNAL_ERROR - access to vhost '/DE_spryker_zed' refused for user 'spryker': vhost '/DE_spryker_zed' is down(10, 40)
    Looking at the RabbitMQ logs I can see that vhost '/DE_spryker_zed' can not be started (RabbitMQ itself is running fine). After some research I found out that rabbitMQ creates restore files if stopped. Due to the disk problem mentioned above the file seems to be corrupt. Therefore the vhost can not be started. It is suggested to delete the recovery files. But wont this be a problem for spryker data integrity if some rabbitmq messages get lost (the ones in the recovery file)?
    • 1
    • 1
  • a

    acceptable-chef-52827

    06/09/2021, 7:07 PM
    Hi, This shan from DSS Partners. I will be trying to setup spryker in my local environment ( Ubuntu).
  • a

    acceptable-chef-52827

    06/09/2021, 7:07 PM
    I am unable to login to Backoffice. am getting  “The CSRF token is invalid. Please try to resubmit the form.”
  • b

    bright-oil-37725

    06/10/2021, 9:15 AM
    already shared here 🙂
  • a

    acceptable-chef-52827

    06/09/2021, 7:08 PM
    Also, in Storefront, the resource bundle key is getting displayed, not the values
    p
    • 2
    • 3
  • n

    nutritious-angle-64267

    06/10/2021, 6:06 AM
    Hello Everyone, Any solution for this
    p
    r
    q
    • 4
    • 7
  • n

    nutritious-angle-64267

    06/10/2021, 8:33 AM
    Hello Everyone, does anyone knows the command to import configuration(cronjob setup) into Jenkins console setupjenkinsgenerate this didn't worked for me
    a
    p
    • 3
    • 3
1...394041...102Latest