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

    sparse-fall-78248

    03/31/2020, 7:57 AM
    Hi everyone! Does anyone know if something like a "search history" module is available in spryker(-eco)? By default it doesn't seem like Spryker would store the search history of a user.
    a
    • 2
    • 1
  • b

    bulky-hospital-68727

    03/31/2020, 11:03 AM
    Hi, I would like to create a custom theme for Spryker. Therefor I had a look at https://documentation.spryker.com/docs/frontend-builder-for-yves. Now I just want to make sure that I understand it correctly. What is the prefered directory structure that you recommend ? Can I just copy the \b2c-demo-shop\src\Pyz\Yves\ShopUi\Theme\default directory , rename it to "blue-theme" for instance and integrate it as theme ?
    q
    • 2
    • 3
  • b

    bulky-hospital-68727

    03/31/2020, 12:07 PM
    What can I do, if changes that I made in the frontend don't take effect ? I changed src\Pyz\Yves\ShopUi\Theme\default\components\organisms\header\header.twig and did: npm run yves console cache:empty-all ?
    r
    m
    m
    • 4
    • 9
  • s

    sparse-kangaroo-34355

    04/02/2020, 8:27 AM
    Hi, I am currently facing issues with messages in RMQ, which aren't processed. When I have a look into Jenkins, I see that the job queueworkerstart is running endlessly. Could this be a lack of memory? As an example: I see this behaviour when I add a bigger category to a productlist, this is creating up to 200.000 messages.
    t
    a
    b
    • 4
    • 39
  • a

    aloof-electrician-43662

    04/02/2020, 11:37 AM
    how to transfer a spryker (vagrant) project ? Copy paste folder with app, but how to set virtual box in other machine ?
    a
    f
    t
    • 4
    • 8
  • a

    acoustic-businessperson-27970

    04/03/2020, 2:08 PM
    hello all, How does
    can
    twig function work? for example the permission `SeeOrderPlaceSubmitPermissionPlugin`where can I assign it to the user in Zed? Thanks alot
    s
    • 2
    • 6
  • a

    aloof-electrician-43662

    04/04/2020, 11:49 AM
    hello i have question i install new spryker project from documentation, after instalation in the browser i got:
    Symfony\Component\HttpKernel\Exception\BadRequestHttpException - Untrusted Host "<http://www.de.b2c-demo-shop.local|www.de.b2c-demo-shop.local>".
    link to docs: https://documentation.spryker.com/docs/installation-guide-b2c
    a
    • 2
    • 2
  • b

    bulky-hospital-68727

    04/06/2020, 10:53 AM
    Hi, what can I do, if my custom theme is not applied ? I copied the folder: src\Pyz\Yves\ShopUi\Theme\default and named it to: src\Pyz\Yves\ShopUi\Theme\red-theme also I changed the project\current\config\Yves\frontend-build-config.json (added red-theme in themes array). I did: • vendor/bin/console frontendyvesbuild • console cache:empty-all • console twigcachewarmer If I do changes in the default theme, I can see them. But not in my custom theme
  • m

    many-continent-24692

    04/06/2020, 3:10 PM
    is there a way to render a translation from within an Yves module?
    f
    t
    • 3
    • 15
  • a

    agreeable-dawn-36295

    04/07/2020, 8:00 AM
    Hello I’m currently checking how to set Samesite cookie parameter to Spryker cookies. I found that Symfony 3.2 supports it using a parameter (cookie_samesite) to Session class. I have tried to set this using Spryker\Yves\Session\SessionConfig::getSessionStorageOptions() , and it passed the option correctly, but in response Symfony sets two cookies (one with the Samesite, and another one without it, which replaces the first one), so the browser only gets the last one without Samesite option. After checking the symfony’s NativeSessionStorage class, it seems like php < 7.3 does not support samesite cookies, so it tries to emulate this behavior by manually setting the header, and that’s why I think it sends two cookies instead of one. It looks like a symfony bug, not sure if upgrading php version to 7.3 would fix it (as then it won’t try to emulate it), but does spryker support php 7.3? and have you faced this issue in any other spryker project?
    a
    • 2
    • 4
  • a

    agreeable-dawn-36295

    04/07/2020, 8:18 AM
    Another question, how much efforts do you think is required to have a “multi-select” type of attribute in Spryker? well the attributes are stored in JSON, so anything is possible from schema perspective I think, but would need to add this support in zed UI too
    a
    • 2
    • 2
  • g

    gentle-vegetable-74963

    04/07/2020, 8:54 AM
    Hi, does Spryker provide any cache busting mechanism OOTB to avoid browser cache refreshes when js/css assets are updated?
    c
    a
    • 3
    • 5
  • w

    witty-airline-10433

    04/07/2020, 9:20 AM
    Good morning. Subject: Spryker forms. In the docs Spryker uses Yves namespace:
    m
    • 2
    • 6
  • l

    little-secretary-81579

    04/07/2020, 10:42 AM
    Hey all, new question from my end, it is regarding deleting customers: When deleting a customer e.g. in the backend, a logged in customer will run into an exception when invoking a page, that involves a ZED call where the customer record is required. Is there a default approach to deal with this problem? Currently we can think of two approaches: 1. Sift through all ZED requests to find the ones that are affected by this problem and catch exceptions at the right point. Redirect the customer to the logout page in this case. 2. After deleting a customer identify his session and destroy it. None of those seems optimal to us.
  • s

    sparse-fall-78248

    04/07/2020, 11:56 AM
    Number 2 seems pretty good. You'd just need some Yves code that verified that a session existed - which can be done in no time at all... Then also fill some Bag with a nice error message to tell the user what's up and Presto... However, I would have expected this behaviour to be default.
  • l

    little-secretary-81579

    04/07/2020, 12:15 PM
    Problem with 2 is to identify the user session(s) to purge from Redis. I do not know if there is a way back from the customer to their sessions in Redis.
  • s

    sparse-fall-78248

    04/07/2020, 12:16 PM
    Yes, there is. The sessions store essentially has an entire user object with an ID referencing the user - so theoretically you could either walk the tree or (more efficiently) add the needed relation to the user object in Redis.
  • l

    little-secretary-81579

    04/07/2020, 12:19 PM
    Ok to be more specific: I have a customer id and I need the KEYS from Redis to remove them. I think there is no way of directly identifying those KEYS. A full scan through all Redis keys does not seem feasible.
  • s

    sparse-fall-78248

    04/07/2020, 12:31 PM
    With option number 2 it'd work the opposite way.
  • s

    sparse-fall-78248

    04/07/2020, 12:33 PM
    you come in with a session in Yves and check if that is still valid, so you know the user's id right there.
  • l

    little-secretary-81579

    04/07/2020, 1:14 PM
    The problem is not checking on Yves side, but to invalidate from ZED
  • s

    sparse-fall-78248

    04/07/2020, 1:23 PM
    The entire session is only known to Yves. So invalidating from Yves makes sense, from Zed it doesn't.
  • l

    little-secretary-81579

    04/07/2020, 1:24 PM
    Exactly!
    w
    a
    • 3
    • 2
  • c

    chilly-rainbow-75540

    04/07/2020, 7:35 PM
    Hi! Is there a way to include yves molecules/organisms/atoms from Yves also in Zed. I want to use some of organism from Yves/ShopUi also in Mail templates which are taken (template to mail plugins) only from Zed I suppose. How to use Twigs from Yves also in Zed?
    q
    • 2
    • 5
  • s

    silly-motherboard-93855

    04/08/2020, 9:20 AM
    https://documentation.spryker.com/docs/p-s-and-multi-store-shop-systems#queue-configuration mentions:
    Copy code
    Each virtual host belongs to one Store\Environment (e.g. DE_development_zed, AT_staging_zed, US_production_zed).
    does that mean, if we have multiple per-language domains, we have to setup multiple stores with multiple backend-logins ? Or let me turn around that question: Is it possible with spryker to use ONE admin login to manage all stores and then point each domain at at different store?
    h
    • 2
    • 1
  • l

    little-secretary-81579

    04/08/2020, 3:35 PM
    Hey all, is it possible to have the communication between Spryker and Redis secured with TLS? What would be required to achieve this?
    q
    • 2
    • 10
  • b

    bitter-engineer-82580

    04/08/2020, 7:16 PM
    Hi there, is it possible to get the url’s in the ajax-loader with https protocol instead of http, without changing the YVES_SSL_ENABLED and YVES_IS_SSL_ENABLED? Because we now getting this in the Storefront:
    <ajax-provider class="custom-element ajax-provider js-quick-order-form__provider js-quick-order-form__add-row-provider" data-qa="component ajax-provider" url="<http://yves.de.spryker-demo.diva-e.com/de/quick-order/add-rows>" method="POST" response-type="text"></ajax-provider>
    And this throws an Mixed Content Error in the browser.
  • s

    sparse-fall-78248

    04/09/2020, 5:51 AM
    You could temprarily hack the template for a quick fix, but I'm guessing that's the entire point of those variables - but I believe this has to do with the Bug that Jens found, yes?
  • s

    sparse-fall-78248

    04/09/2020, 5:51 AM
    (which is why we have to set the ...IS_ENABLED to false)
  • s

    sparse-fall-78248

    04/09/2020, 5:52 AM
    I don't even have that line in my default B2B project - can you do a quick grep of "<ajax-provider class="custom-element ajax-provider js-quick-order-form__provider js-quick-order-form__add-row-provider" data-qa="component ajax-provider"? All the references to similar things use relative URLs for me anyway, like
    <ajax-provider class="custom-element ajax-provider js-suggest-search__ajax-provider" data-qa="component ajax-provider" url="/en/search/suggestion" method="post" response-type="text"></ajax-provider>
1...151617...102Latest