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

    bulky-needle-37771

    03/21/2022, 10:36 AM
    Hi, I have a problem with a dynamically loaded modal dialog (through the ajax-renderer). I get a view from the controller back and render it into the DOM, but that twig has a TypeScript file to it (and the slick-carousel that is included as well) and that TypeScript is not getting initialized. How can I initialize it so that the stuff in it gets called? (There is for example an addEventListener in there) Does anybody know something about this?
    i
    • 2
    • 1
  • k

    kind-vegetable-16151

    03/21/2022, 4:50 PM
    Hello, the client wants to open up 29 different stores. From what I gather client wants to have different delivery methods, VAT %, url, and some specific country-stuff for each store but products would largely be the same. The url structure would be HOST/{lang}-{store}/somepath so we can make 1.7M url combinations from 30K products (they will have just two languages for all stores). Also there would be a bunch of jenkins commands like queue workers for each store which would have to wait a bit unless you added enough runners. Has anyone worked on that much (or at least somewhere above 5) and knows how one would go about that? Maybe there are some alternatives or am I overestimating the possible cluster***k and let's simply go ahead with it?
    g
    • 2
    • 3
  • t

    thankful-jackal-61577

    03/21/2022, 5:13 PM
    I am working with spryker marketplace, so far I have created a merchant and added two products, but I have not been able to publish the products in yves, could someone help me please? I added the products in the
    Food
    category Already tried this
    docker/sdk console q:w:s -v -s
    but it doesn't work
    m
    • 2
    • 2
  • n

    nutritious-cpu-80657

    03/22/2022, 12:31 PM
    šŸ‘‹ We're looking at following this to remove Silex - https://docs.spryker.com/docs/scos/dev/migration-concepts/silex-replacement/silex-replacement.html#removing-silex But this doesn't seem to be the whole picture. We've followed the migration guide above and made sure we have the required modules with at least the minimum versions, but still seem to be having some trouble. We've got Glue working as expected, but the communication to Zed is now failing. We consistently get issues with routing to gateway controllers in Zed, which points to a Routing issue - but having followed the migration guide for the router (https://docs.spryker.com/docs/scos/dev/module-migration-guides/migration-guide-router.html) and the module documentation (https://docs.spryker.com/docs/scos/dev/migration-concepts/silex-replacement/router/router-zed.html) we seem to be at a loss going in circles. Much of the documented updates necessary appear to be deprecated already. Has anyone else managed to successfully remove the Silex dependency and encountered similar issues? We've also been using https://github.com/spryker-shop/b2c-demo-shop as a bit of a reference but to no avail!
    šŸ™ 1
    m
    • 2
    • 8
  • n

    numerous-kitchen-79937

    03/22/2022, 1:59 PM
    Hi all… I am trying to add a new ā€œstoreā€ to the B2C demo shop and I’ve created a yml file to describe it. I got everything working but when I add a new category in the backoffice, my new locale is greyed out and can’t be selected. Have I missed something in the setup?
  • b

    big-chef-41491

    03/22/2022, 2:13 PM
    Hi guys šŸ‘‹ i was wondering, what is supposed to happen if some CheckoutPreConditionPlugin created an Error without an ErrorCode? E.g. https://github.com/spryker/gift-card/blob/94c737ef332b228613346dc1deaff36f54ab5d7b[…]/Spryker/Zed/GiftCard/Business/Payment/SalesOrderPreChecker.php adds an Error without an ErrorCode to the CheckoutResponse if the GiftCard is already used. So the PlaceOrderStep will not have a postConditionErrorRoute and the StepCollections Error Route
    checkout-error
    will be used. But because of the PlaceOrderSteps PostCondition
    $quoteTransfer->getOrderReference() !== null
    the ErrorSteps PostCondition
    $quoteTransfer->getOrderReference() === null
    can never be triggered. The Result is an infinite redirect from place-order-step to error-step and so on. Am i missing something here?
    p
    w
    • 3
    • 5
  • w

    wide-flag-26835

    03/22/2022, 2:16 PM
    Hi, we have the following problem and i am searching for some ideas and opinions: There is an external product configurator that will send us the configuration (everything, names, prices) with a proprietary xml format. In our shop there are no products that are representing this configuration. My assumption is that spryker businesscode will have a hard time to interpret this data so it can added to cart and bought as long there is no product representation for this in the database First (and probably easiest) solution that comes to my mind would be to create the products "on the fly" everytime the configurator sends us this data, so cart and checkout can work without bigger changes, but i dont like this idea, because i am afraid that the database will bloat more and more with this custom created products. Maybe you have some interesting ideas to solve this?
    m
    p
    a
    • 4
    • 6
  • v

    victorious-house-76715

    03/22/2022, 3:03 PM
    Hi, I have a problem with extending registration form. I need to add autocomplete field that calls API on every change ( new letter added, or deleted ). I know that there is molecule('autocomplete-form') but this is a whole new form and since registration twig already uses molecule('form') it's tricky to implement. Is there some elegant solution that will implement autocomplete on only one field that will remain the part of registration form or will i have to do it manually? Thanks in advance!
  • h

    hallowed-carpet-44433

    03/22/2022, 3:53 PM
    Hi All, When running docker/sdk up, I receive a 'unknown service: webdriver'. Google doesn't seem to turn up much, has anyone run into this before? Running on windows.
    āž• 1
    p
    p
    s
    • 4
    • 35
  • m

    mysterious-king-59256

    03/23/2022, 2:45 PM
    Hi all, I am working with cart & checkout and two places are a bit confusing for me. 1. Why Spryker has
    Cart
    and
    PersistentCart
    clients, when
    Cart
    can use
    DatabaseStorageStrategy
    ? 2. Why
    DatabaseStorageStrategy
    uses session without calling zed for some quote operations?
    m
    • 2
    • 4
  • a

    able-shoe-67344

    03/24/2022, 9:58 AM
    Hi all, I am researching the module architecture.A question arises when bootstrapping a shopping app from the bottom up .... let's say via
    Copy code
    composer require spryker-feature/spryker-core
    in an empty folder. 'spryker-core' looks like a good 'root' feature as it is independent from prerequisites. What I wonder is: where do minimum relevant environment and project files come from, like 'config/. ', 'src/<myproject>/Zed/Application/. '
    • 1
    • 1
  • m

    mysterious-ambulance-11183

    03/24/2022, 1:32 PM
    Hey guys, I'm wondering if there is something like technical product attributes, that are being purely used for technical reasons (product that needs special delivery, special type of product that needs a some change in checkout)? It would mean that this information should not be shown to the customer, he only sees the consequences of those attributes (or flags) like an additional checkbox he has to click or something like that. We could add new fields to the product for that, but that would not really be scaleable. Another possibility would be to introduce a new property on an attribute to make it "technical", those attributes would have to be hidden on PDP and not used for searching. Anyone an idea here?
    s
    m
    f
    • 4
    • 9
  • c

    chilly-rainbow-75540

    03/25/2022, 10:48 AM
    Hey all, I’m trying to know how Spryker handling glossaries in VueJs projects. Is this still connected to Zed glossary module which can edit translations in anytime without reloading JS files? I was looking on spryker projects on github (fest-test-storefront, vue-cc-demo-shop) and there are some files under
    lang
    directory. Is this one-point-of-truth for headless approach? Or spryker can handle translation in Glue in some smart way?
    āž• 1
  • m

    mysterious-ambulance-11183

    03/28/2022, 7:08 AM
    Hi! Has anyone get the empty_value property of a MerchantPortal GUI form element to work?
    Copy code
    $builder->add(
                static::FIELD_STORES,
                ChoiceType::class,
                [
                    'choices' => $options[static::OPTION_STORE_CHOICES],
                    'multiple' => true,
                    'label' => static::LABEL_STORES,
                    'required' => false,
                    'empty_data' => [],
                    'attr' => [
                        'placeholder' => static::PLACEHOLDER_STORES,
                    ],
                    'property_path' => 'storeRelation.idStores',
                ]
            );
    I would like to set some default values for the forms, so in this case we only have one store, it should not be selected everytime, but regardless, what I put there it is not reflected in MP. Currently I defaulted back to changing the value in the DataProviders for the form, but I would like the empty_data to work, since this is exactly what it is for. Has somebody any idea?
    f
    • 2
    • 6
  • r

    ripe-librarian-883

    03/28/2022, 11:32 AM
    Hello, everyone! Does anyone have experience switching from FactFinder to FactFinderNG within a Spryker project? I'm curious about the effort to expect, especially regarding the the scope/volume of integration (search, category filtering, tracking). Would be nice to get some empirical values :-)
    w
    • 2
    • 2
  • n

    numerous-kitchen-79937

    03/31/2022, 8:20 AM
    Hey Spryks! I have a small issue with PHPStorm finding the Spryker core classes: Any idea why this might be happening?
    m
    f
    +2
    • 5
    • 11
  • n

    numerous-kitchen-79937

    03/31/2022, 1:36 PM
    Hey Spryks! Can anyone advise on how we do Joins across modules when pulling data? Example… I’ve set up a module called ā€œRecipesā€ and also created ā€œRecipeSearchā€ as module for handling Elastic Search. (I’ve followed the guidance in the Backend Dev Course for this). Ok so the Recipe table is working and so is elastic search… but each recipe has a list of ingredients. These are on another table with an FK to the recipes table. What’s best practice for me to pull in this data also? Is there a guide for this? My approach to this would be to change the RecipeTransfer to reflect the ingredients data, then use the RecipeSearchWriter to pull this data. However, I think I would need to change the RecipeEntity to include the ingredient data … ? Any help on this would be much appreciated.
    g
    • 2
    • 6
  • m

    mammoth-painting-63509

    03/31/2022, 3:15 PM
    Is it somehow possible to use other formats then JSON in the Glue API? We need to integrate a payment provider and they're sending XML in the request body.
    a
    b
    +2
    • 5
    • 11
  • n

    nutritious-cpu-80657

    04/04/2022, 7:32 AM
    Morning! Has anyone had an issue with the
    spy_oms_state_machine_lock
    table going above the default auto-increment column range? Over the weekend it seems like we went over the column limit (it is an
    int4
    , so
    2147483647
    ) and caused some major issues šŸ˜•
    m
    w
    g
    • 4
    • 7
  • g

    great-byte-99546

    04/05/2022, 7:19 AM
    Where can I find documentation for all the possible method on query objects ? For example method to find all records? get() ? findAll()?
    p
    w
    • 3
    • 4
  • n

    numerous-kitchen-79937

    04/05/2022, 7:27 AM
    Hi all (again)… to follow on from this… I’ve got the FK tables all set, working and I’ve created all the transfers required. I’m now at the point where I’m trying to pull all the data together to place in the ā€œsearchā€ table for elastic search. So I have a RecipeSearchWriter.php file and I’ve got those rows populating. So to pull in the Ingredients data from the linked table, I’m using this code:
    Copy code
    $ingredients = PyzIngredientQuery::create()->findByFkRecipeId($recipeTransfer->getIdRecipe());
    $recipeTransfer->setIngredients($ingredients);
    But I’m not able to retrieve any ingredients via the PyzIngredientQuery. I’ve tried:
    Copy code
    $ingredientEntities = PyzIngredientQuery::create()->findByFkRecipeId($recipeTransfer->getIdRecipe());
    and:
    Copy code
    $ingredientEntities = PyzIngredientQuery::create()->filterByFkRecipeId($recipeTransfer->getIdRecipe())->find();
    …neither of which are pulling any ingredient data. When I hardcode the data:
    Copy code
    $recipeTransfer->setIngredients('HELLO!');
    ā€œHELLO!ā€ does get placed in the Search table - so I’m sure that ā€œ*setIngredients*ā€ works.
    g
    • 2
    • 4
  • m

    mysterious-ambulance-11183

    04/05/2022, 7:57 AM
    Hi guys, I'm currently having trouble running tests on my local env. When running
    $ codecept run -g MyModuleGroup -vvv
    I get the following error:
    Copy code
    $ codecept run -g MyModuleGroup -vvv
    Codeception PHP Testing Framework v4.1.22
    Powered by PHPUnit 9.5.6 by Sebastian Bergmann and contributors.
    [Groups] MangopayApi 
    
    
    [PyzTest\Yves\Application]: tests from /data/tests/PyzTest/Yves/Application
    
    PHP Deprecated:  The resolvable class cache is enabled but was not generated. in /data/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/ResolvableCache/CacheReader/CacheReaderPhp.php on line 33
    
    Deprecated: The resolvable class cache is enabled but was not generated. in /data/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/ResolvableCache/CacheReader/CacheReaderPhp.php on line 33
    
    In SessionStorage.php line 82:
                                                                                        
      [Whoops\Exception\ErrorException (2)]                                             
      session_set_save_handler(): Cannot change save handler when headers already sent  
                                                                                        
    
    Exception trace:
      at /data/vendor/spryker/session/src/Spryker/Shared/Session/Model/SessionStorage.php:82
     Whoops\Run->handleError() at n/a:n/a
     session_set_save_handler() at /data/vendor/spryker/session/src/Spryker/Shared/Session/Model/SessionStorage.php:82
    I don't get the error, when I specify the codecept config of my module:
    $ codecept run -c tests/PyzTest/Zed/MyModule -g MyModuleGroup
    I started testing with
    docker/sdk testing
    Has anyone an idea, what could cause this?
    s
    • 2
    • 3
  • e

    echoing-computer-81312

    04/05/2022, 9:21 AM
    Hey! While having a bundle product in my shopping cart I see that the shipping address does not remain selected if I switch back between steps at checkout. Has anyone struggled with this before? The recording is taken from the B2B demo shop: https://www.de.b2b.demo-spryker.com/
  • v

    victorious-island-92911

    04/06/2022, 6:15 AM
    Hi team, we have an address placed in the footer section of our website along with phone number and mail id. We just wanted the phone / email id alone to be there and wanted to remove the address alone. All these 3 are declared as 3 variables (when checked in the backoffice). Wanted to remove the address alone in the website. Where do i need to remove that placeholder? Thanks!
  • b

    better-controller-5205

    04/06/2022, 11:50 AM
    Hi I have a general question about the starting point of a project. We have a customer, that now wants to start a b2c shop and later on we will also do b2b. So the starting point could for now be the b2c demo shop, but the whole customer model in the b2b shop is another than on the b2c side, so it makes sense, to directly start with the b2b shop, but then we have migrate all the standard b2c features to the b2b shop. What I was thinking about is, if it makes sense to choose the b2c store with the b2b customer model, so that this main point is already on the right base. What do you think about that, or do you have experiences in similar cases?
    p
    • 2
    • 7
  • v

    victorious-television-60346

    04/07/2022, 7:49 AM
    Hey there, i installed the b2b demo shop in developer mode on my windows machine using docker. So far so good. I had it working once. But since today the
    docker/sdk up
    fails with
    unknown service "webdriver"
    . What can i do in this case?
    a
    h
    • 3
    • 6
  • s

    salmon-rainbow-7401

    04/07/2022, 12:11 PM
    Hello everyone, has anyone already realized purchase on account via Payone? I have that just so my problems with. A general question, what is the difference between PayonePrePaymentSecurityInvoice and PayoneSecurityInvoice? In both State-Machines there is the State "paid" and in PayoneSecurityInvoice also "underpaid". Is this the actual receipt of payment by the buyer or only the release for the purchase on account or what is it all about?
  • n

    numerous-kitchen-79937

    04/11/2022, 8:14 AM
    Is there a a way to clear the Elasticsearch cache? I have updated the data in my **_search table (that feeds Elasticsearch) but when I test on Postman, I’m still getting the old data. Is the data stored elsewhere? Or is it cached? If so is there any way to push the new data into the cache?
    f
    • 2
    • 6
  • s

    silly-fall-63008

    04/11/2022, 9:33 AM
    Hello! Is there any way to implement value objects in transformer? For example: <transfer name=ā€œStockProductā€> <property name=ā€œcolorā€ type=ā€œcolorā€/> </transfer> And then work with value ā€˜Color’ as with custom object? Like this way: https://docs.spryker.com/docs/scos/dev/tutorials-and-howtos/howtos/howto-integrate-and-use-precise-decimal-numbers.html#installation
    m
    • 2
    • 1
  • m

    mysterious-king-59256

    04/11/2022, 10:27 AM
    hi, have you already tried new virtiofs in the docker for mac? Is it any better than mutagen? Or at least as fast as mutagen? I need to upgrade my macos to test it and maybe some of you is already using it šŸ™‚
    a
    • 2
    • 2
1...545556...102Latest