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

    sparse-fall-78248

    04/09/2020, 5:53 AM
    and that would probably be a clean thing to do even here.
  • a

    ancient-apartment-59274

    04/09/2020, 12:11 PM
    Hello. Do you know if it is possible to have a concrete product available for a certain store? We have the situation, that we have products that are basically the same but they differ for example in the product image … so a product in a DE store would have another product image than in a AT store even if they are the same product. For that the idea would be to have two concrete products variants with different properties … one of them is available in DE and the other is available in AT … i found that store availability is just possible on abstract product level, but any clue how to solve the case above? 🤔 Best regards
    a
    a
    • 3
    • 10
  • l

    little-secretary-81579

    04/10/2020, 10:14 AM
    Hey all, spryker/security 1.1.0 introduced a RememberMeSecurityPlugin. Did anybody successfully use it? For us it is registered in SecurityDependencyProvider. So I presumed it would be sufficient to have a checkbox in the login form named __*remember_me*_. But to no avail, it seems some firewall configuration is missing. Can somebody hint me into the right direction how to facilitate a remember me login?
    c
    h
    • 3
    • 2
  • w

    witty-airline-10433

    04/13/2020, 10:48 PM
    Hallo. Docker Sdk Installation (B2C, development mode). Xdebug configured upon the manual, nothing. Tried Troubleshooting for Xdebug. The php -m shows NO xdebug in the list. Could someone please help?
    m
    q
    +2
    • 5
    • 63
  • f

    full-rocket-52349

    04/14/2020, 12:40 PM
    Hello, i wanted to create a new sort parameter and for this I have created a new SortConfigTransferBuilderPlugin and added it to the CatalogDependencyProvider. I also had rebuilt the ElasticSearch index and the new sortParamNames are also shown to me. When I try to use it I get the following error message: _"Exception: Search failed with the following reason: No mapping found for [integer-sort.NewSortAttributeName] in order to sort on [index: de_page] [reason: all shards failed]."_ Where can i add the attribute to the mapping?
    h
    • 2
    • 4
  • g

    green-motorcycle-81841

    04/15/2020, 8:57 AM
    Moin Moin, does anyone have experience using Azure Active Directory (AD) as an authentication provider for ZED-Users and would you like to share his experience with me? I want to authenticate the users against the AD and synchronize the Sprkyer- with the AD groups. Thx
    b
    h
    b
    • 4
    • 5
  • w

    witty-airline-10433

    04/20/2020, 9:24 AM
    Good morning. Going through zed backend I found out that module dependencies in Maintainance scope don't work at all:
    a
    a
    f
    • 4
    • 13
  • w

    witty-airline-10433

    04/20/2020, 11:21 AM
    Is this bug also known?
    a
    • 2
    • 1
  • s

    sparse-kangaroo-34355

    04/21/2020, 6:23 AM
    Hi, has anyone implemented a search for the page /company/user yet? Could this even be a general topic for Spryker?
    🤔 1
    q
    w
    • 3
    • 10
  • g

    glamorous-quill-49387

    04/21/2020, 10:54 AM
    Hi, I have a question and I am not sure weather it's related to spryker support but I will give it a try. I need to create somewhat of an api ( I can not use. the glue api) so I want. to have a route like. this /api/product/{id} /api/product/{id}/{someotherparam} Edit: /api/product means /resource/resource the. above does not seem to be working for me but. the below does /api/{id} /api/{id}/{someotherparam} I was wondering how can I use /string/string/{param} instead of /string/{param} Here is what I have so far
    Copy code
    const API_PLP_ROUTE = '/api/product';
        const API_PDP_ROUTE = '/api/product/{hashedProductAbstractId}';
        const ROUTE_PLP_NAME = 'api-product';
        const ROUTE_PDP_NAME = 'api-product-detail';
    
    
        /**
         * @param \Silex\Application $app
         *
         * @return void
         */
        protected function defineControllers(Application $app)
        {
            $this->createController(self::API_PLP_ROUTE, self::ROUTE_PLP_NAME, 'ProductApi', 'Index', 'index');
            $this->createController(self::API_PDP_ROUTE, self::ROUTE_PDP_NAME, 'ProductApi', 'Index', 'index');
    a
    • 2
    • 1
  • g

    glamorous-kite-16163

    04/22/2020, 9:49 AM
    Hello together! 👋 I am following this guide for installing Spryker with Docker on a Windows machine: https://documentation.spryker.com/docs/installation-guide-development-mode Unfortunately, I never worked with Ubuntu, as well as with Docker. Anyway, the installation process worked fine until I have to bootstrap the docker setup:
    Copy code
    philipppaul@YODA:/b2c-demo-shop$ docker/sdk bootstrap deploy.dev.yml
    mkdir: cannot create directory 'docker/deployment/_tmp': Permission denied
    philipppaul@YODA:/b2c-demo-shop$ sudo docker/sdk bootstrap deploy.dev.yml
    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
    Docker version 0 is not supported. Please update docker to at least 18.09.1.
    If I run the command without sudo, I get "permission denied". If I use sudo, it tells me docker deamon may not run. I guess it's a problem with user access rights. I would be very happy if someone could help me out here! 🙏
    a
    • 2
    • 1
  • s

    sparse-kangaroo-34355

    04/22/2020, 10:30 AM
    Is it possible to set several Domains for my shop with assigning an array to
    ApplicationConstants::HOST_YVES
    ? I am at a point where my shop needs to be accessed from another URL, too (myshop.com for usual, now I need shop.newdomain.com).
    a
    f
    • 3
    • 3
  • a

    aloof-electrician-43662

    04/22/2020, 2:20 PM
    Hello, I have problem in Yves, i want to show search results in my custom page I override search engine in Pyz\Client\Catalog\CatalogDependencyProvider.php and results comes from here,
    Copy code
    protected function addSearchClient(Container $container)
        {
            $container[static::CLIENT_SEARCH] = function (Container $container) {
                return $container->getLocator()->customSearchModule()->client();
            };
    
            return $container;
        }
    now i want showing results in my custom search result page, where should I add it, I have my custom module in
    src/Pyz/Client/CustomSearchModule
    and
    src/Pyz/Yves/CustomSearchModule
    but i can't see no correlation to showing results in my custom page, and data goes from:
    src/Pyz/Yves/CatalogPage/Theme/default/templates/page-layout-catalog/page-layout-catalog.twig
    and for example i want show results from:
    src/Pyz/Yves/CustomSearchModule/Theme/default/templates/my-view.twig
    in brief: i must create view to showing results from search
    a
    • 2
    • 3
  • c

    crooked-house-89121

    04/23/2020, 8:23 AM
    Hello, does anyone have experience with implementing PWA functionality for Yves? Where would be a good starting point to implement such functionality?
    q
    • 2
    • 14
  • w

    wide-easter-55589

    04/23/2020, 5:00 PM
    Hi guys, i was having a strange problem when i wanted to see the graph for my custom state machine. For the “preview-version” of my state machine i will just get the “missing image” icon and an entry in the zed exception log. This is because the preview url for the image is referencing to a controller in the OMS Module: https://github.com/spryker/state-machine/blob/master/src/Spryker/Zed/StateMachine/Presentation/Graph/draw-preview-version.twig#L6
    😞 1
    a
    • 2
    • 3
  • e

    early-art-81990

    04/23/2020, 6:38 PM
    Hi, I’ve heard it might be possible (ootb) to get a product-listing page (or search result page) with products having a certain label? Is that possible or may be with a parameterized url? I guess, otherwise I probably need to create controllers for CatalogPage. Thanks in advance
    q
    a
    • 3
    • 4
  • w

    witty-airline-10433

    04/24/2020, 8:37 AM
    Good morning. In Zed backend (B2C demoshop) the order claim feature doesn't work. Clicking "Claim" Button results in: Template "@SalesReclamationGui/partials/items/discounted-price.twig" is not defined (Spryker\Shared\Twig\TwigFilesystemLoader: Unable to find template "@SalesReclamationGui/partials/items/discounted-price.twig" (cached).) in "@SalesReclamationGui/Create/boxes/order-item.twig" at line 54)".
    ✅ 1
  • r

    rhythmic-microphone-10950

    04/24/2020, 11:17 AM
    Is it possible to use spryker with MariaDB? MariaDB should be 100% feature compatible with MySQL.
    l
    a
    +2
    • 5
    • 8
  • g

    glamorous-kite-16163

    04/24/2020, 12:22 PM
    Hello! I try to set up a dev environment on Windows 10 following this guide: https://documentation.spryker.com/docs/b2c-demo-shop-installation-windows-with-development-virtual-machine When starting the VM I always get the error "Timed out while waiting for the machine to boot." Does someone know how to solve this issue?
    a
    s
    • 3
    • 20
  • w

    wide-easter-55589

    04/25/2020, 5:31 PM
    Hi, is there any documentation on how to implement a custom state machine? I just found https://documentation.spryker.com/docs/state-machine-cookbook which only covers the order state machines, but nothing about how to implement a state machine for other entities.
    👍 1
    e
    a
    • 3
    • 5
  • s

    sparse-kangaroo-34355

    04/27/2020, 8:14 AM
    Good morning, has anyone extended Product lists by product-attributes yet? In my case I got the attribute manufacturer for a product (for example Apple). How could I whitelist products with attribute
    Manufacturer
    == "Apple"?
  • a

    ancient-apartment-59274

    04/28/2020, 7:43 AM
    Good morning, when adding one product to the cart via Glue API we get back relationships for the cart like this
    "data": {
            
    "type": "carts",
            
    "id": "c317c11b-a342-53ce-8831-63189dc02122",
            
    "attributes": {
                
    "priceMode": "GROSS_MODE",
                
    "currency": "EUR",
                
    "store": "DE",
                
    "totals": {
                    
    "expenseTotal": 0,
                    
    "discountTotal": 0,
                    
    "taxTotal": 1596,
                    
    "subtotal": 9999,
                    
    "grandTotal": 9999
                
    },
                
    "discounts": []
            
    },
            
    "links": {
                
    "self": "<http://glue.de.spryker.local/carts/c317c11b-a342-53ce-8831-63189dc02122>"
            
    },
            
    "relationships": {
                
    "items": {
                    
    "data": [
                        
    {
                            
    "type": "items",
                            
    "id": "002_25904004"
                        
    },
                        
    {
                            
    "type": "items",
                            
    "id": "002_25904004"
                        
    }
                    
    ]
                
    }
            
    }
        
    },
    ...
    As you can see, relationships for a concrete product appears twice. I found out, that the relationship plugins gets applied twice but for the first time it can be avoided by setting a flag called
    Copy code
    ALLOWED_CART_ITEM_EAGER_RELATIONSHIP
    to false. 1. What exactly is the information in the relationships sections for? 2. Why the plugins get applied two times? 3. What is the general purpose of that eager loading mechanism? 4. Shouldn’t the items be grouped together? Thanks a lot
    i
    • 2
    • 3
  • m

    mysterious-king-59256

    04/29/2020, 7:51 AM
    Hello, Do you know how to make Spryker work with untranslated attribute values? I have attribute type select with values
    0
    1
    translated to
    no
    yes
    . In elasticsearch and even in zed’s
    spy_product_abstract
    table this attribute is saved with translated
    yes
    value, but i need raw values in yves to check if it’s true or not.
  • f

    fast-gpu-10437

    04/29/2020, 10:25 AM
    Can anyone tell me, where to find the xdebug profiler output? In xdebug.ini, profiler is permanently activated (to eliminate issues with remote enabling) and the output path ist specified:
    Copy code
    zend_extension=xdebug.so
    xdebug.profiler_enable=1
    xdebug.trace_enable_trigger=1
    xdebug.profiler_enable_trigger=1
    xdebug.remote_autostart=1
    xdebug.remote_enable=1
    xdebug.remote_host=${SPRYKER_XDEBUG_HOST_IP}
    xdebug.remote_port=9000
    xdebug.profiler_output_dir=/tmp/xdebug/profiler
    xdebug.trace_output_dir=/tmp/xdebug/trace
    # This is needed to prevent max recursion exception when Twig templates are very complicated
    xdebug.max_nesting_level=1000
    I'm using Docker environment. The containers are started with -x, but in CLI container, /tmp directory stays empty. Any ideas?
    a
    h
    b
    • 4
    • 16
  • r

    ripe-librarian-883

    04/29/2020, 1:48 PM
    Hi everyone, we're using the
    "spryker-eco/braintree"
    module (version: 3.0.0) for payment processing and have found a possible issue. First some background: we have a custom checkout and are currently trying to catch errors by plugins which do not set is_successful flag to false in case of error (as some other plugins in the checkout/placeOrder process, like BraintreePreCheckPlugin plugin) by adding an additional check for errors (error count > 0) in CheckoutResponseTransfer. The issue: we found a CheckoutWorkflow postSaveHook plugin (in detail: "BraintreePostSavePlugin"), which could possibly prevent order placement by adding an error to the CheckoutResponseTransfer (it does not set is_successful flag to false). 1) Why ist an error possibly created (in BraintreePostSavePlugin) after the order was saved? The question is: how to react to this error? We possibly have a valid saved order in this moment, but we can not say: "Thanks for your order, but your payment has failed." 2) The implementation is maybe incorrect. It looks for a PaymentBraintreeTransactionStatusLogTransfer instance AND code != ApiConstants::PAYMENT_CODE_AUTHORIZE_SUCCESS (1000). This check only matches an entry with wrong code, but what about missing status-log entry? Does "no status-log entry" mean no error? https://github.com/spryker-eco/braintree/blob/master/src/SprykerEco/Zed/Braintree/Business/Hook/PostSaveHook.php (no changes here atleast since 3.0.0) Thanks for any help!
    a
    • 2
    • 3
  • m

    many-continent-24692

    04/29/2020, 3:09 PM
    can you return
    void
    from a GatewayController ? or rather, do we have to create a transfer object even if the action is a notification?
    w
    a
    m
    • 4
    • 32
  • c

    clean-glass-99425

    04/29/2020, 4:48 PM
    If you use the Twig function
    {{ product(['sku1', 'sku2']) }}
    in your CMS page I guess the resulting HTML will be added to the page and the whole thing goes into the redis cache. But this means the cach has to be invalidated if the product data changes. I can't find any cache tags mechanism. So how will spryker know what to invalidate if the product changes?
    c
    • 2
    • 20
  • l

    little-secretary-81579

    04/30/2020, 6:58 AM
    Hi, is it possible to operate Spryker with Redis in cluster mode? Did anybody tackle this topic already? Currently we are dealing with a Redis cluster and the first feedback sounds bad: ERR SELECT is not allowed in cluster mode
    h
    a
    • 3
    • 5
  • a

    agreeable-dawn-36295

    05/04/2020, 9:20 AM
    👋 https://github.com/spryker-shop/b2c-demo-shop/blob/master/src/Pyz/Yves/Twig/TwigDependencyProvider.php#L97 shouldn’t this be loaded only when development mode is enabled?
    a
    q
    n
    • 4
    • 9
  • g

    glamorous-kite-16163

    05/04/2020, 12:57 PM
    Hello! Following the Architecture Walktrough, at step 4.6 I get following error at the front-end: Interface 'Pyz\Client\HelloSpryker\Zed\HelloSprykerZedStubInterface' not found I already started the complete tutorial once again to eleminate possible typos but the error appears again. Also, in the example code I can not find any definition of this interface. Is it possible that this is a mistake in the tutorial?
    s
    • 2
    • 4
1...161718...102Latest