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

    calm-toddler-60539

    06/20/2023, 9:13 AM
    Hello guys, can someone please recommend me a safe way to delete product and attributes data from the database? I can use the propel queries but I was wondering if there is already a better solution implemented inside Spryker which might be undiscovered by me.
    p
    • 2
    • 1
  • c

    clean-sundown-47111

    06/20/2023, 1:14 PM
    Hi team , i create another entity new table into database in zed and have some backend logic , how can i publish the data to redis frontend storage from zed for my newly created tables.
    s
    p
    • 3
    • 3
  • r

    rich-guitar-29888

    06/21/2023, 6:44 AM
    Hi Team, I have install middleware process module and report module is there any built in process module to test my middleware process module is working properly or not and how to connect to any process also i have gone through the middleware doc but i need more info.
    • 1
    • 1
  • h

    handsome-answer-84188

    06/21/2023, 7:02 AM
    Hi guys! I have searched for a solution which do not involve newrelic. In fact I'm more focused on splunk but I can't see something available. Is there anything which could be used and what will be the steps to make a integration for splunk.
    w
    • 2
    • 5
  • c

    clean-sundown-47111

    06/21/2023, 7:58 AM
    Hi team , i want to write js , css for newly created module and use them using assetsPath() .What path i have to use for creating assets and compile them in my custom module for zed back office @wooden-king-30682
    l
    • 2
    • 9
  • w

    wonderful-baker-94910

    06/21/2023, 3:12 PM
    Hello everyone, i have a question, what is the best approach for more than 1 person to work on a single/same demoshop, if we are working on a local host??
    👀 1
  • r

    rich-guitar-29888

    06/22/2023, 6:51 AM
    Hi Team , I am trying to implement Akeneo but the command for installing it is not working giving error can you check what can i do (error log in comment )
    e
    • 2
    • 7
  • b

    best-sundown-96727

    06/22/2023, 4:03 PM
    anyone an idea, why the resolvable class cache could not be updated on local instance? For my instance it works, for my colleague, it does not. Meaning: Overriding a business factory in Pyz will still use the the original spryker class until we empty the resolvable class cache. We both have the same settings for
    Copy code
    KernelConstants::RESOLVABLE_CLASS_NAMES_CACHE_ENABLED
    (both enabled)
    b
    • 2
    • 1
  • a

    able-train-56624

    06/26/2023, 7:32 AM
    Good morning & happy monday fellow Sprykers. A question debugging Symfony Forms within spryker (particularly a form in the checkout process): I am trying to find information in the WebProfiler, but nothing regarding forms seems available, even if in the FormDependencyProvider.php I have the WebProfilerFormPlugin being loaded. (I'd expect the clipboard icon in the toolbar, from my recalling of other symfony projects).
    p
    • 2
    • 10
  • b

    billions-river-96238

    06/26/2023, 10:54 AM
    Hi All In spryker we are trying to setup multilevel theme setup. like Default theme -> theme 1 for store 1 theme 1 -> theme 2 for store 2 This means we need three level theme structure. Can you please suggest something over it? Thanks in advance
  • a

    aloof-morning-50341

    06/26/2023, 2:28 PM
    Is there a step by step guide to create a first module in Spryker ?
    p
    • 2
    • 4
  • p

    plain-potato-51864

    06/27/2023, 7:38 AM
    Hi guys, After setting up the b2b demoshop everything is working properly except when i click the discount categrory. Which is /outlet route. I have this error, is this a known issue ? => What i understand is that the file sale-example.php doesnt overide the {% define data = in template('page-layout-catalog', 'CatalogPage')! Am i right? Anyone else has it?
    p
    • 2
    • 3
  • g

    great-byte-99546

    06/27/2023, 8:00 AM
    I noticed that all of Spryker storage modules have rather primitive return structure. Either data does not exist and we return null or data exists and we then return resource as it is. What if I'd like to add to "message back" to glue that this particular resource is forbidden for customer?
  • a

    ancient-apartment-59274

    06/27/2023, 8:16 AM
    Hello, we recently wondered why images are not shown in our customer mails and stumbled about a missing scheme for images. Instead of
    https://host.yves/default/img/logo.svg
    Something like
    //host.yves/default/img/logo.svg
    was generated. We think this is a faulty implementation in the YvesUrlFunctionProvider, since it does not add any scheme based on the is_ssl_enabled config for example. But then i saw also the file mail_layout.html.twig which also has a static link NOT including any scheme
    <//www.de.project.local/assets/default/img/logo.svg>
    I am confused now … my assumption is, that this is the reason why it will not work in any mail program even if mailhog can resolve it. Did somebody faced this issue too? Best
  • q

    quick-baker-99786

    06/27/2023, 8:34 AM
    Hi, I have memory problem on jenkins during queue consuming. Any idea how to resolve it? I have active 5 processes. Memory 500MB. I'm trying to process 2k abstract products. I'm thinking about decreasing QueueConfig::_DEFAULT_THRESHOLD_ but I am not sure if it is a good idea. I am also not sure which value should I set. Any better sollutions?
    a
    w
    • 3
    • 4
  • r

    rough-rainbow-3431

    06/27/2023, 9:14 AM
    Is there a hint to actually upload image to S3 bucket from a given url ? Trying with
    $this->fileSystemService->writeStream($fileSystemStreamTransfer, $stream);
    I guess I will have to download temporarily the image and do a kind of fopen to create the $stream argument ?
    w
    • 2
    • 5
  • r

    rich-guitar-29888

    06/27/2023, 10:09 AM
    Hi Team, I am working in B2B marketplace and i am trying to get token from this endpoint http://glue.us.spryker.local/token but it is saying invalid client id. if client id is required where can i find client id which will work for all. this is the cURL for testing in postman :- curl --location 'http://glue.us.spryker.local/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --form 'grant_type="password"' \ --form 'username="sonia@spryker.com"' \ --form 'password="change123"' \
    m
    s
    • 3
    • 8
  • r

    rich-guitar-29888

    06/27/2023, 12:32 PM
    Hi Team, I am creating personalized price based on customer group and following this document https://docs.spryker.com/docs/pbc/all/price-management/202212.0/base-shop/tutorials-and-howtos/howto-create-personalized-prices.html#extend[…]module But this document have some missing information ( Last code where to put or use on this doc)
    p
    w
    m
    • 4
    • 12
  • f

    freezing-guitar-75665

    06/27/2023, 4:58 PM
    Hi Team, I am using Macbook for my Spryker project. There I am receiving the following error in data sync with Redis cache. "
    Copy code
    LOADING Redis is loading the dataset in memory
    Build step 'Execute shell' marked build as failure
    " Can anyone give me the solution if you have?
    b
    • 2
    • 1
  • w

    wooden-king-30682

    06/28/2023, 6:09 AM
    Anyone else experiencing problems creating support requests in the partner portal? Every time I click the button to create a support request there is a page that ask to login (I'm logged in apparently as I can see the history of support cases).
    👀 1
    p
    a
    • 3
    • 3
  • v

    victorious-parrot-47014

    06/28/2023, 10:17 AM
    We are using Glue API’s /catalog-search endpoint to fetch paginated set of products that we use in our headless storefront implementation. Default parameters for the catalog sorting seem to be rating, name_asc, name_desc, price_asc and price_desc. However, we need to able to sort products by ‘newest’ or ‘latest’. Is there a way to expand Glue API so that we can use our own sorting parameters and use those parameters to create custom catalog sorting rule on the backend side?
    w
    • 2
    • 5
  • l

    late-tiger-76201

    06/28/2023, 2:41 PM
    Doe sspryker has a row limit for csv import?
    g
    • 2
    • 1
  • r

    rough-rainbow-3431

    06/28/2023, 4:17 PM
    Is there a way to dynamically change the template of tabItemTransfer (which is being set to tabsViewTransfer) ... depending a distinguishing var from with in add and edit controller (abstract product specifically) ? The
    createView@AbstractTabs
    method being called from controllers
    Copy code
    $this->getFactory()->createProductFormEditTabs()->createView()
    offers us a abstract build method, but at the point of the build the only thing i have in hands is the
    TabsViewTransfer $tabsViewTransfer
    By introducing a plugin in here
    Copy code
    ProductManagementDependencyProvider
    
    protected function getProductAbstractFormEditTabsExpanderPlugins(): array
    {
        return [];
    }
    I can get the $tabsViewTransfer and manipulate it , but inside that plugin i still would need to know if I derived from add or edit controller any ideas how to work around that ? Thx a lot In other words somehow I need by overriding this method protected function
    addImageTab(TabsViewTransfer $tabsViewTransfer)
    to set a specific template depending a variable from controller. Is there a way to get form container everything about the current request ? maybe i could distinguish inside that plugin from the request object ? I guess I can get the request from with in factory like this
    Copy code
    $this->getRequestStack()->getCurrentRequest();
    g
    • 2
    • 1
  • t

    thankful-dog-19953

    06/28/2023, 4:35 PM
    Hello @plain-city-95899 @aloof-doctor-18410 @average-controller-58534 Jitesh working @ annexcloud I need one help regarding the post customer registration I am working on loyalty platform and want to enrol the customer after signup and successful registration and take the customer data to enrol on my own loyalty platform. What should I do? I have gone through the whole documentation and training sesseions @safari.spryker.com and there all related videos and stuffs. Please help me to accomplish my task. Regards, Jitesh Sinha
    p
    • 2
    • 5
  • n

    numerous-crowd-1561

    06/29/2023, 7:36 AM
    Hi Team, is there spy_price table in our database ?
    p
    q
    • 3
    • 6
  • m

    mammoth-autumn-37948

    06/29/2023, 1:28 PM
    Hi all, I have a question regarding Glue (Storefront and Backend). We have been using the new architecture of api separation between Storefront and Backend for quite a while already. Today I noticed that in the release https://api.release.spryker.com/release-group/4792 (already integrated in my project) the
    EventBehaviorEventDispatcherPlugin
    was added in the dispatcher list. So far so good..let`s say. But the problem arose the moment we noticed that in the GlueStorefrontApplication the
    EventDispatcherApplicationPlugin
    plugin was missing in the list of Application Plugins (
    \Pyz\GlueStorefrontApiApplication\GlueStorefrontApiApplicationDependencyProvider::getApplicationPlugins
    ). Once you add this (of course the Glue one) you trigger a lot of problems since the plugin event dispatchers are in common and the Storefront cannot run the
    EventBehaviorEventDispatcherPlugin
    since it has no dependency with propel etc.. that the plugin needs. Now two things are: should be separated the event dispatcher plugins based on the application, as done between zed and yves, or the plugins should be inserted based on the current application. Does anyone have the same problem encountered? @green-ocean-22823 U are the person that released it under ticket CC-27948. Do u have an idea why the
    EventDispatcherApplicationPlugin
    is missing for Storefront and why the
    EventBehaviorEventDispatcherPlugin
    was added even if it cannot run for Storefront? Thank u in advance and BR Gio p.s.: if the
    EventDispatcherApplicationPlugin
    is missing in Storefront then for every call u have the error as follow:
    Copy code
    Spryker.CRITICAL: Spryker\Service\Container\Exception\NotFoundException - The requested service "dispatcher" was not found in the container! in "/current/vendor/spryker/container/src/Spryker/Service/Container/Container.php::262" {"exception":"[object] (Spryker\\Service\\Container\\Exception\\NotFoundException(code: 0): The requested service \"dispatcher\" was not found in the container! at /current/vendor/spryker/container/src/Spryker/Service/Container/Container.php:262)
    
    [stacktrace]
    
    #0 /current/vendor/spryker/container/src/Spryker/Service/Container/Container.php(216): Spryker\\Service\\Container\\Container->getService('dispatcher')
    
    #1 /current/vendor/spryker/http/src/Spryker/Glue/Http/Plugin/Application/HttpApplicationPlugin.php(159): Spryker\\Service\\Container\\Container->get('dispatcher')
    
    #2 /current/vendor/spryker/http/src/Spryker/Glue/Http/Plugin/Application/HttpApplicationPlugin.php(94): Spryker\\Glue\\Http\\Plugin\\Application\\HttpApplicationPlugin->getEventDispatcher(Object(Spryker\\Shared\\Kernel\\Container\\ContainerProxy))
    
    #3 /current/vendor/spryker/container/src/Spryker/Service/Container/Container.php(279): Spryker\\Glue\\Http\\Plugin\\Application\\HttpApplicationPlugin->Spryker\\Glue\\Http\\Plugin\\Application\\{closure}(Object(Spryker\\Shared\\Kernel\\Container\\ContainerProxy))
    
    #4 /current/vendor/spryker/container/src/Spryker/Service/Container/Container.php(216): Spryker\\Service\\Container\\Container->getService('kernel')
    
    #5 /current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(196): Spryker\\Service\\Container\\Container->get('kernel')
    
    #6 /current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(178): Spryker\\Shared\\Application\\Application->getKernel()
    
    #7 /current/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(190): Spryker\\Shared\\Application\\Application->terminate(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response))
    
    #8 /current/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(159): Spryker\\Glue\\GlueApplication\\ApiApplication\\ApiApplicationProxy->terminateApplication(Object(Spryker\\Glue\\GlueStorefrontApiApplication\\Application\\GlueStorefrontApiApplication), Object(Symfony\\Component\\HttpFoundation\\Response))
    
    #9 /current/public/GlueStorefront/index.php(20): Spryker\\Glue\\GlueApplication\\ApiApplication\\ApiApplicationProxy->run()
    
    #10 {main}
    
    "} {"environment":{"application":"GLUE_STOREFRONT","environment":"production","codeBucket":"DE","store":"DE","locale":"de_DE"},"server": ....
    👀 1
    p
    g
    • 3
    • 9
  • s

    stale-battery-68732

    06/29/2023, 1:33 PM
    Hi all, Geting 500 internal server error while adding item to cart in a fresh B2B Marketplace setup Spryker\Glue\RestRequestValidator\Processor\Exception\CacheFileNotFoundException - Exception: Validation cache is enabled, but cache file is not found. in /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Configuration/RestRequestValidatorConfigReader.php (78) Request URI: /carts/1644fcc3-c690-5229-af43-73636335fad0/items?include=items Trace: #0 /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Constraint/RestRequestValidatorConstraintResolver.php(88): Spryker\Glue\RestRequestValidator\Processor\Validator\Configuration\RestRequestValidatorConfigReader->findValidationConfiguration(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest)) #1 /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Constraint/RestRequestValidatorConstraintResolver.php(68): Spryker\Glue\RestRequestValidator\Processor\Validator\Constraint\RestRequestValidatorConstraintResolver->getConstraintFromConfig(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest)) #2 /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/RestRequestValidator.php(77): Spryker\Glue\RestRequestValidator\Processor\Validator\Constraint\RestRequestValidatorConstraintResolver->getConstraintCollection(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest)) #3 /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Plugin/ValidateRestRequestAttributesPlugin.php(36): Spryker\Glue\RestRequestValidator\Processor\Validator\RestRequestValidator->validate(Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest)) #4 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/Request/RestRequestValidator.php(170): Spryker\Glue\RestRequestValidator\Plugin\ValidateRestRequestAttributesPlugin->validate(Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest)) #5 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/Request/RestRequestValidator.php(72): Spryker\Glue\GlueApplication\Rest\Request\RestRequestValidator->executeRestRequestValidatorPlugins(Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest)) #6 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(287): Spryker\Glue\GlueApplication\Rest\Request\RestRequestValidator->validate(Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest)) #7 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(157): Spryker\Glue\GlueApplication\Rest\ControllerFilter->validateRequest(Object(Spryker\Glue\CartsRestApi\Controller\CartItemsResourceController), Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest)) #8 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Plugin/EventDispatcher/GlueRestControllerListenerEventDispatcherPlugin.php(71): Spryker\Glue\GlueApplication\Rest\ControllerFilter->filter(Object(Spryker\Glue\CartsRestApi\Controller\CartItemsResourceController), 'postAction', Object(Symfony\Component\HttpFoundation\Request)) #9 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Plugin/EventDispatcher/GlueRestControllerListenerEventDispatcherPlugin.php(56): Spryker\Glue\GlueApplication\Plugin\EventDispatcher\GlueRestControllerListenerEventDispatcherPlugin->filter(Object(Spryker\Glue\CartsRestApi\Controller\CartItemsResourceController), 'postAction', Object(Symfony\Component\HttpFoundation\Request)) #10 /data/vendor/symfony/http-kernel/HttpKernel.php(163): Spryker\Glue\GlueApplication\Plugin\EventDispatcher\GlueRestControllerListenerEventDispatcherPlugin->Spryker\Glue\GlueApplication\Plugin\EventDispatcher\{closure}() #11 /data/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #12 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(138): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #13 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(116): Spryker\Shared\Application\Application->handle(Object(Symfony\Component\HttpFoundation\Request)) #14 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(107): Spryker\Shared\Application\Application->run() #15 /data/public/Glue/index.php(20): Spryker\Glue\GlueApplication\ApiApplication\ApiApplicationProxy->run() #16 {main} The request is curl --location 'http://glue.us.spryker.local/carts/1644fcc3-c690-5229-af43-73636335fad0/items?include=items' \ --header 'Accept: application/json' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQ' \ --header 'Connection: keep-alive' \ --header 'Content-Type: text/plain;charset=UTF-8' \ --data '{ "data": { "type": "items", "attributes": { "sku": "408541", "quantity": 1, "merchantReference":"MER000008", "productOfferReference":"offer388", "salesUnit": { "id": 0, "amount": 0 }, "productOptions": [ null ] } } }'
    m
    • 2
    • 11
  • a

    able-train-56624

    06/29/2023, 4:41 PM
    Hi Everyone! Quick question regarding product-measurement-units. Is there no GUI for that? I checking https://github.com/spryker/product-measurement-unit-gui I see it's discontinued (abandoned). Is there no out of the box functionality to manage this from the backoffice?
  • s

    stocky-action-20182

    06/30/2023, 6:09 AM
    Hi All, I am implementing the functionality to skip Computop Capture plugin based on custom flag, this is how my overidden plugin looks
    Copy code
    * @return \Spryker\Shared\Kernel\Transfer\TransferInterface|array
         */
        public function run(array $orderItems, SpySalesOrder $orderEntity, ReadOnlyArrayObject $data)
        {
            if(config()->isSkipflagenabled()) {
                return; // I need to return empty or an array
            }
            $orderEntity->getItems()->setData($orderItems);
            $orderTransfer = $this->getOrderTransfer($orderEntity);
    
            return $this
                ->getFacade()
                ->captureCommandHandle($orderItems, $orderTransfer);
        }
    do I need to return empty or an array as mentioned in return type, if so what is the array to returned?
    q
    • 2
    • 1
  • s

    stocky-action-20182

    06/30/2023, 6:10 AM
    adding to my previous query is there a way to test computop capture plugin in local environment or any documentation link will help
    l
    • 2
    • 3
1...979899...102Latest