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

    adamant-oil-10501

    09/09/2020, 3:03 AM
    hello.. iam having trouble seeing the result after following the steps in bootcamp. i get the attached error. any help is appreciated..
  • f

    few-wall-85517

    09/09/2020, 7:14 AM
    Hello, guys! I got a little bit stuck on a matter of routes and translations, with multistores. The shop context is as follows: there is only one domain
    <http://www.domain.com|www.domain.com>
    , and the different shops can be accessed by adding the store identifier, for example
    /de-store
    for the DE shop. Concrete example: on homepage, the route is defined as `/{root}`_,_ where
    root
    accepts nothing or
    allowedLocales
    . The url for homepage should, in the end, look like
    <http://www.domain.com/de-store/nl|www.domain.com/de-store/nl>
    . The prefix
    /de-store
    of the routes is added in YvesBootstrap, where the mounting of controller providers takes place. If I access the hompage url with the newly selected language, nothing happens – no errors, still landing on homepage in the browser, but no translations for the new language (NL) are applied. Does anyone ever encountered something simillar or maybe has an idea of where should I look next? Thank you!
    q
    m
    • 3
    • 6
  • f

    flaky-afternoon-98068

    09/09/2020, 1:38 PM
    Hi everyone. I'm trying to update some packages and now reached a deadlock. One of the packages I'm updating is
    spryker/availability
    to ^9.0.0 , which in turn needs
    spryker/oms
    ^11.0.0. The problem is that we have
    spryker-middleware/oms-middleware-connector
    installed, which only allows
    spryker/oms
    at most at ^10.0.0. Would it be possible for you to do a small update on
    spryker-middleware/oms-middleware-connector
    to allow
    spryker/oms
    ^11.0.0 as well? Thanks
    a
    p
    • 3
    • 4
  • h

    happy-sundown-90511

    09/09/2020, 2:28 PM
    Hello everyone, I am currently trying to get products from the Glue API. This is the endpoint I am trying to hit. http://glue.de.spryker.local/catalog-search?q=camera This endpoint returns no results, changing the query to other products that are being rendered in yves doesn't work either, so somehow my glue api isn't getting the data. Response: https://pastebin.com/34ALFumU All auth endpoints work, I am really not sure what is causing it, any idea what I could do?
    a
    i
    l
    • 4
    • 59
  • l

    loud-rainbow-44827

    09/09/2020, 3:19 PM
    hello guys. could someone tell what is the correct way to add and render custom attributes on the search page or on the category page? should i implement this interface
    \Spryker\Zed\ProductPageSearchExtension\Dependency\Plugin\ProductAbstractMapExpanderPluginInterface
    and add search result data inside? like you did for exmaple here
    \Spryker\Zed\ProductPageSearch\Communication\Plugin\ProductPageSearch\Elasticsearch\ProductImageMapExpanderPlugin
    . is it a correct way?
  • d

    dazzling-yacht-89663

    09/10/2020, 6:39 AM
    Good morning everyone, is https://documentation.spryker.com/v4/docs/t-testing-tdd-scos only for unit test or should it be possible to implement tests, that e.g. write to the database as well?
    s
    • 2
    • 4
  • c

    careful-country-34175

    09/10/2020, 6:54 AM
    Good morning, is there any example of
    groupBy
    -queries? I tried the automatically generated functions, but they have no effect on the result of the query. E.g:
    Copy code
    public function findUniqueImportReports(): ObjectCollection
    {
        $query = $this->getFactory()->createImportReportRepository()
            ->groupByType()
            ->groupByErrorMessage();
    
        return $query->find();
    }
    Adding
    count()
    or
    max()
    - selects unfortunately does not change the result either.
    h
    • 2
    • 4
  • l

    loud-rainbow-44827

    09/10/2020, 11:59 AM
    hello guys. few questions about taxes and net/gross prices. 1. Why net price is always empty in order items and in order items option? See screenshots 2. I'm wondering if I should always set net and gross prices manually when creating a product? Why it is not calculated automatically accroding to assigned tax set and tax rate? I removed gross price from one of the default sample products - and what I see? That there is no price at all on product page. See screenshot as well. I don't want to caclulate anything. I just want to set price and everything else should be done automatically from my point of view. And it should show the prices according to store tax (DE, AT or whatever). Am i doing something wrong?
    l
    c
    • 3
    • 6
  • c

    chilly-park-21142

    09/10/2020, 12:39 PM
    I’ve also encountered this problem, did you perhaps found solution or any workaround? @early-policeman-81538
    👍 2
  • m

    mysterious-diamond-73348

    09/10/2020, 7:57 PM
    Hello again. In the bootcamp I'm on "Content & Search - Personalized Catalog Page - Challenge". I've just finished creating all the code for #2 and when I navigate to http://www.de.b2b-demo-shop.local/de/personalized-product/12 I get: YVES Exception Error - Call to a member function search() on null in /data/shop/development/current/src/Pyz/Client/PersonalizedProduct/PersonalizedProductClient.php (25) *Url:*/de/personalized-product/12 Trace:
    Copy code
    #0 /data/shop/development/current/src/Pyz/Yves/PersonalizedProduct/Controller/IndexController.php(15): Pyz\Client\PersonalizedProduct\PersonalizedProductClient->getPersonalizedProducts(12)
    #1 /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php(146): Pyz\Yves\PersonalizedProduct\Controller\IndexController->indexAction(12)
    #2 /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
    #3 /data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(122): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
    #4 /data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(103): Spryker\Shared\Application\Application->handle(Object(Symfony\Component\HttpFoundation\Request))
    #5 /data/shop/development/current/public/Yves/index.php(22): Spryker\Shared\Application\Application->run()
    #6 {main}
    Does anyone know why I might be getting that and what I can do to fix it? Thanks in advance.
    l
    q
    • 3
    • 5
  • a

    acceptable-restaurant-76335

    09/11/2020, 8:20 AM
    Hi Community, has anyone ever experienced PHPStorm v2020 not finding method usages even though they are being used? On my System e.g. usages of
    QuoteTransfer::getQuoteRequestVersionReference()
    are not being found while usages of e.g.
    QuoteTransfer::getItems()
    can be found.
    d
    i
    q
    • 4
    • 21
  • l

    loud-rainbow-44827

    09/11/2020, 10:53 AM
    so guys since you are still ignoring me i will repeat my question: why are you saving only net or only gross prices in order items? It depends from the price mode. But i need both prices. So in gross mode i will never know the exact net price? and vice versa. or how it works?
    p
    c
    d
    • 4
    • 5
  • c

    chilly-rainbow-75540

    09/11/2020, 12:50 PM
    Hi! Does anyone knows how to use quotation marks inside translations for ZED?
    s
    • 2
    • 2
  • e

    echoing-glass-3100

    09/11/2020, 5:23 PM
    Hello - is there anyone that can tell me if there is a 'leasing' module for Spryker?
    l
    • 2
    • 4
  • m

    mysterious-diamond-73348

    09/14/2020, 5:15 PM
    Hello. I just completed the code for the Attribute-Cart-Based Catalog Personalization lesson of the Bootcamp but when I navigate to
    <http://www.de.b2b-demo-shop.local/en/cameras-&-camcorders/digital-cameras>
    I get a 404 page. When I instead search for red items and click on one, there is no ability to add to my cart. Is this something to do with having installed the B2B store instead of the B2C? Is there a default credential that I can use to login to the B2B storefront which would then allow me to add items to my cart? Any help would be appreciated. #bootcamp_and_trainings_help
    a
    l
    • 3
    • 2
  • w

    witty-jordan-77597

    09/15/2020, 9:47 AM
    Hello. I'm new in Spryker (Frontend), is it possible to use the standard twig
    {{ dump() }}
    method without getting the Fail Whale, anyway is it possible to disable the Fail Whale? Currently I use the docker/sdk logs, but it's a bit bad readable, so a debug (Stack Trace) or Twig dump would be very great 👍 I'm would be pleased to get some input 🙂 Thanks so far.
    a
    m
    • 3
    • 16
  • s

    stocky-lizard-37635

    09/15/2020, 5:14 PM
    Hi together. I made some changes to our frontend and after that I was running "npm run yves:production". Now I have the problem that many users have problems with the site. Since the problem can always be solved by deleting their browser cache, I am wondering if there is a method to invalidate client caches on the server side. What is the best practice here? I am no web developer and therefore I am a bit clueless here. I already tried the following • restarting fpm • disabling opcache • console cache:empty-all • console twigcachewarmer • restarting nginx
    a
    s
    m
    • 4
    • 11
  • h

    happy-sundown-90511

    09/21/2020, 8:13 AM
    Hey guys, using the GLUE API I am making a post request to
    <http://glue.de.spryker.local/carts/${cartUUID}/items?include=items>
    , this gives me some info on the items in the cart, however not the string title of the products, is there anyway to get them in the same request, if not what would be the best to get all of them. Also is there anyway to see what include parameters are available per endpoint, haven't seen them listend anywhere yet.
    i
    • 2
    • 8
  • r

    rich-camera-19306

    09/21/2020, 1:45 PM
    I am wondering, what was going on in the developers head when he wrote this: https://github.com/spryker/product-page-search/blob/master/src/Spryker/Zed/ProductPageSearch/Business/Model/ProductPageSearchWriter.php#L66-L85 I guess it sounds something like this - hmm, there is a possibility of race conditions when same event message gets in two or more parallel processing batches. Ok, let's handle this case, but you know what - let's log it as a critical error, because we already handled it. Brilliant!
    r
    • 2
    • 12
  • r

    rich-camera-19306

    09/21/2020, 2:00 PM
    spryker, please stop using statics and global constants. It's a nightmare to unit test. And please depracate/remove LoggerTrait and ErrorLogger, as it is braking https://en.wikipedia.org/wiki/Dependency_inversion_principle.
    ⬛ 1
    s
    m
    p
    • 4
    • 26
  • m

    mysterious-king-59256

    09/22/2020, 11:08 AM
    Hello, I need to call 3rd part api from zed. Do you know how to make it the best way? Is there any http client module in spryker?
    w
    c
    q
    • 4
    • 5
  • p

    powerful-oyster-48938

    09/23/2020, 1:31 PM
    Howdy Everyone, we recently integrated the merchant state-machines and were wondering if these state machines have knowledge about the "parent" sales order entity. Is it possible to easily have something similar to \Orm\Zed\Sales\Persistence\SpySalesOrder\CommandByOrderInterface for the merchant state-machines?
    a
    s
    c
    • 4
    • 13
  • p

    purple-forest-91115

    09/24/2020, 3:06 PM
    This message was deleted.
    a
    • 2
    • 1
  • c

    calm-lamp-45600

    09/28/2020, 11:48 AM
    hi, if i install feature via composer eg:
    Copy code
    composer require spryker-feature/merchant
    in composer.json and composer.lock only required packages entries exist. how can i remove the feature now via composer:
    Copy code
    composer remove spryker-feature/merchant
    not working.
    r
    q
    s
    • 4
    • 11
  • a

    ancient-apartment-59274

    09/28/2020, 2:22 PM
    Hello, looking at https://github.com/spryker-shop/b2c-demo-shop/blob/master/composer.json, modules are pulled via feature packages. But also the single modules are specified again. For example
    spryker-feature/tax
    which is fetching
    spryker/tax-storage:^1.20
    … why is this package also explicit pointed out again in the composer file itself? Its exactly the same value as in the feature meta package in that case 🤔
    a
    c
    +4
    • 7
    • 20
  • m

    mysterious-king-59256

    09/29/2020, 10:47 AM
    Hi, I need to call 3rd part api from zed and I'm thinking which approach will be better: 1. call 3rd part api directly from the Zed using for example Guzzle Http Client 2. implement communication with 3rd part api in Client module (also using for example Guzzle) and call Client from Zed 3. other? Is Client designed for "internal" communication, around Spryker's ecosystem only, or can/should it communicate with 3rd part systems?
    l
    • 2
    • 7
  • p

    plain-house-98998

    09/30/2020, 6:24 AM
    Hello everyone, Tried to use Spryker Docker SDK (on Mac with Docker desktop). The environment started, I see containers are running. I've also added entries to hosts file. Unfortunately, when I try to visit any shop url, I only see nginx welcome page 😭. Does anyone has any ideas what I might have missed?
    q
    h
    • 3
    • 39
  • n

    numerous-ghost-43588

    10/01/2020, 9:41 AM
    Hello All, I am unable to ping github.com from within vagrant environment, getting request timed out error, but it works perfectly fine from when i try from browsers. Anybody faced this issue before, if so could you please help to fix this.
    q
    • 2
    • 1
  • a

    agreeable-dawn-36295

    10/01/2020, 11:46 AM
    Hello Is it possible to load a widget with a dynamic attribute name? For example
    Copy code
    {% widget data.widgetName args data.widgetParams only %}{% endwidget %}
    w
    • 2
    • 8
  • r

    rhythmic-eve-12751

    10/02/2020, 8:42 AM
    Hello, why is the
    CategoryFacade::getCategoryByKey
    being deprecated? Is there any performance issue? What is the suggested workaround besides copying that same method into project level classes?
    a
    p
    • 3
    • 4
1...252627...102Latest