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

    rough-agency-88294

    09/21/2022, 9:34 AM
    The cloud commerce os doc talks about SSM Parameters https://docs.spryker.com/docs/cloud/dev/spryker-cloud-commerce-os/managing-parameters-in-the-parameter-store.html but I don't see any doc how to use them. Is there any?
    a
    • 2
    • 4
  • p

    purple-forest-91115

    09/21/2022, 12:59 PM
    This message was deleted.
    a
    m
    • 3
    • 5
  • i

    important-twilight-31957

    09/21/2022, 3:05 PM
    Hi! I had a question regarding customizing the merchant profile input fields in the merchant portal. I would like to extend the existing merchant profile by adding additional fields and modifying some of the constraints for existing fields. What would be the correct approach for this? Tried replacing the files on the vendor side of the folder merchant-profile-merchant-portal-gui on a folder on
    Pyz/Zed
    but non of the changes are applied.
    m
    • 2
    • 1
  • l

    little-scooter-77901

    09/21/2022, 8:28 PM
    Hi guys, i got this error on back-office login, anyone can help? thanks i tried to stop and start docker containers and also used up again but nothing happend
    w
    p
    • 3
    • 2
  • f

    fast-activity-30172

    09/22/2022, 5:58 AM
    Hey everyone if I want to move all the files related to the product module from
    /vendor
    directory to
    src/Pyz/Zed
    how can I do that??
    w
    • 2
    • 4
  • c

    calm-lamp-45600

    09/22/2022, 7:03 AM
    hi, is it possible or not recommended to run b2b and b2c in same spryker PaaS instance, for example: b2b -> store.shop.spryker.pro b2c -> store.shop.spryker.com multidb setup, routed on same instance load different configs, one region several stores
    a
    • 2
    • 3
  • e

    enough-portugal-73677

    09/22/2022, 7:25 AM
    Hi, Is there a way to make RabbitMQ Queues default to Lazy?
    a
    m
    f
    • 4
    • 3
  • e

    enough-portugal-73677

    09/22/2022, 9:52 AM
    Hi, Anyone is having an issue related to
    publish.product_concrete
    queue taking more than two hours time to consume 2500 products? We have setup the chunk size to 100.
    Copy code
    $config[SynchronizationConstants::EXPORT_MESSAGE_CHUNK_SIZE] = 100;
    $config[SynchronizationConstants::DEFAULT_SYNC_STORAGE_QUEUE_MESSAGE_CHUNK_SIZE] = 100;
    $config[SynchronizationConstants::DEFAULT_SYNC_SEARCH_QUEUE_MESSAGE_CHUNK_SIZE] = 100;
    $config[EventConstants::EVENT_CHUNK] = 100;
  • s

    some-stone-92221

    09/22/2022, 12:39 PM
    Hi Everyone, I was working on the unit test for the API resource i created in my Glue API module. I am getting following error: Can not resolve ProductCategoryMainRestApiResource for your module "ProductCategoryMainRestApi" But the resource class exist in the glue api module already. Do i have to add the resource class somewhere in the dependency to be able to access it through the locator in my test ? Can someone guide me here. Please check the attachments for the error and the test and resource file.
  • g

    great-byte-99546

    09/22/2022, 1:15 PM
    Seems like product bundles docs are not updated with correct ER diagram https://docs.spryker.com/docs/scos/user/features/202204.0/product-bundles-feature-overview.html#characteristics-of-product-bundles now
    spy_product_bundle
    has both fks to
    spy_product
    instead of one fk to
    spy_product
    and one to
    spy_product_abstract
    👀 1
    • 1
    • 1
  • a

    ancient-apartment-59274

    09/23/2022, 6:57 AM
    Good morning, I recently updated frontend stuff and now receiving on frontendzedbuild
    ● webpack output:
    ERROR in ./vendor/spryker/gui/assets/Zed/sass/main.scss
    Module build failed (from ./node_modules/@spryker/oryx-for-zed/node_modules/mini-css-extract-plugin/dist/loader.js):
    ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
    SassError: Undefined function.
    ╷
    369 │ $navbar-padding-horizontal: floor(math.div($grid-gutter-width, 2)) !default;
    │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    vendor/spryker/gui/assets/Zed/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss 369:42 @import
    vendor/spryker/gui/assets/Zed/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss 8:9 @import
    vendor/spryker/gui/assets/Zed/sass/main.scss 11:9 root stylesheet
    at /data/node_modules/@spryker/oryx-for-zed/node_modules/webpack/lib/NormalModule.js31620
    at /data/node_modules/loader-runner/lib/LoaderRunner.js36711
    at /data/node_modules/loader-runner/lib/LoaderRunner.js23318
    at context.callback (/data/node_modules/loader-runner/lib/LoaderRunner.js11113)
    at /data/node_modules/sass-loader/dist/index.js627
    at Function.call$2 (/data/node_modules/sass/sass.dart.js9264616)
    at _render_closure1.call$2 (/data/node_modules/sass/sass.dart.js8114712)
    at _RootZone.runBinary$3$3 (/data/node_modules/sass/sass.dart.js2726818)
    at _FutureListener.handleError$1 (/data/node_modules/sass/sass.dart.js2581819)
    at _Future__propagateToListeners_handleError.call$0 (/data/node_modules/sass/sass.dart.js2611649)
    @ ./vendor/spryker/gui/assets/Zed/js/modules/commons.js 74:0-31
    @ ./vendor/spryker/gui/assets/Zed/js/spryker-zed-gui-commons.entry.js
    ERROR in ./vendor/spryker/gui/assets/Zed/node_modules/summernote/dist/summernote.js
    Module not found: Error: Can’t resolve ‘jQuery’ in ‘/data/vendor/spryker/gui/assets/Zed/node_modules/summernote/dist’
    @ ./vendor/spryker/gui/assets/Zed/node_modules/summernote/dist/summernote.js 15:27-44
    @ ./vendor/spryker/gui/assets/Zed/js/modules/commons.js
    @ ./vendor/spryker/gui/assets/Zed/js/spryker-zed-gui-commons.entry.js
    ✘ build failed
    Anyone faced this issue too? Best regards
    m
    a
    • 3
    • 23
  • a

    acceptable-sundown-99280

    09/23/2022, 8:04 AM
    Glue Api Versioning: I am trying to implement Versioning for CustomRestAPI. I have created Two versions version 2 and version 3
    TestimonialResourceRouteVersion2Plugin, TestimonialResourceRouteVersion3Plugin
    and added
    ResourceVersionableInterface
    in implement. it has method getVersion function per file as well.
    Copy code
    Version2 File:
    
     public function getVersion(): RestVersionTransfer
        {
    
            return (new RestVersionTransfer())
                ->setMajor(2)
                ->setMinor(0);
        }
    
    Version3 File:
    
     public function getVersion(): RestVersionTransfer
        {
    
            return (new RestVersionTransfer())
                ->setMajor(3)
                ->setMinor(0);
        }
    I have added in GlueDependencyProvider file as well. Issue is when I try to request to the data, it always returning Version3 data. I passed version:2.0 in header parameter but it't not retrieving version 2.0 data. If I pass wrong version number, 4.0 as header param, it should return 404 as well but in my case it's returning version 3.0 data . Seems something is missing. Any help would be appreciated.
    f
    • 2
    • 7
  • b

    best-furniture-89489

    09/23/2022, 9:22 AM
    Hi Guys! Has anyone done an import configuration file based on store? I have read the documentation but there is not a lot of information for import from multiple configuration files: https://docs.spryker.com/docs/scos/dev/data-import/202204.0/importing-data-with-a-configuration-file.html
    ✅ 1
    b
    • 2
    • 3
  • e

    early-army-90039

    09/23/2022, 12:26 PM
    Hi Team How can I check logs from logger in spryker I have used
    use Symfony\Component\HttpKernel\Log\Logger;
    and using logger like this:
    $this->logger->log($e->getPrevious()->getMessage(), LogLevel::INFO);
    But where I can check the logs?
    a
    • 2
    • 2
  • c

    clever-student-2834

    09/23/2022, 7:45 PM
    Hello Everyone, I am trying to listen to product update event. I am able to do that. But when I try to work with the event data and tries making productTransfer object using
    $productTransfer = new ProductAbstractTransfer();
    , I get an error saying "*Missing property
    fk_tax_set
    in `Generated\\Shared\\Transfer\\ProductAbstractTransfer`*". The product transfer is generated out of the box. Can someone help me if I should add it manually to the schema file and re-run transfer:generate or is there any other way around. The field fk_tax_set is present in database
  • a

    acoustic-painter-45206

    09/23/2022, 8:43 PM
    Hello! We’re in the middle of switching our project to
    202204.0
    release. Though updating most of packages went pretty fine, we still have some issue with one of them:
    Copy code
    spryker-feature/content-item
    As far as I see, it was never updated since
    202009.0
    , and now it has conflicting packages with
    spryker-feature/file-manager:202204.0
    :
    Copy code
    Problem 1
        - Root composer.json requires spryker-feature/content-item 202009.0 -> satisfiable by spryker-feature/content-item[202009.0].
        - spryker-feature/content-item 202009.0 requires spryker-shop/content-file-widget ^1.0.0 -> found spryker-shop/content-file-widget[1.0.0, 1.0.1, 1.1.0] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    Is there any chance that
    spryker-feature/content-item
    will receive an update in the future or should we drop it? What would be the best approach to replace it? Currently, our managers are using some content items in CMS pages.
    a
    • 2
    • 3
  • m

    modern-cpu-62347

    09/26/2022, 10:45 PM
    is there an easy way to "reset" the state of an order? I am working on order confirmation email and it is annoying having to place a new order again and again. Would appreciate if there is a faster way to "reset" the state of an order to "new". Thanks
    w
    • 2
    • 2
  • g

    glamorous-book-96870

    09/27/2022, 3:52 PM
    Bumping this for visibility.
    m
    • 2
    • 1
  • b

    bulky-helicopter-87316

    09/28/2022, 6:31 AM
    Hello, is there a discount package that allows to set discounts outside the cart?
  • h

    hallowed-dentist-19902

    09/28/2022, 3:00 PM
    Hey there, I noticed that @future-sunset-4448 brushed up some of the code for the example discount page, I was wondering if anybody knew how the page calculates or gets the discounted amount in currency?
  • h

    hallowed-dentist-19902

    09/28/2022, 3:00 PM
    All I was able to find was the twig file.
  • n

    numerous-kitchen-79937

    09/28/2022, 11:13 PM
    Hey Spryks… I’ve hit up against a problem that I hope will be easy to solve. I’ve created a
    'GatewayController.php'
    file inside my custom module in:
    'Pyz/Zed/MyModule/Communication/Controller'
    But I get an error that my route is not found. I’ve tried running:
    'router:cache:warm-up'
    Then:
    'router:cache:warm-up:backend-gateway'
    But on checking the generated files… there’s no sign of my custom route in the generated routes file. It looks like the new GatewayController.php file is not being found by the router. Is there something I’m missing?
    e
    r
    m
    • 4
    • 4
  • g

    green-engine-89301

    09/29/2022, 12:26 PM
    Hi Team, I have created a custom Table in Backend in which I have add three column Product Id (Foreign key primary key of product table) Custom key Custom Value Now I want to show these custom fields in PDP Page in Frontend. Please let me know How I can procced for that. @wooden-king-30682
  • f

    fast-activity-30172

    09/30/2022, 5:27 AM
    Hello All, I am trying to generate the module using the command line and for that, I'm following this document, but I'm facing the attached error. can someone quickly help me here??
    w
    • 2
    • 2
  • a

    agreeable-autumn-69852

    09/30/2022, 6:00 AM
    Guys, quick question on Elastic setup for business users. 1. Is there a Elasticsearch UI for business users to maintain stopwords, synonyms and etc. ?
    w
    • 2
    • 1
  • a

    agreeable-autumn-69852

    09/30/2022, 6:00 AM
    2. Anyone has setup a custom product boosting mechanism ?
    w
    • 2
    • 2
  • p

    purple-evening-1996

    09/30/2022, 11:25 AM
    Hi everyone. I have a question regarding
    cart rule discounts
    . I created 2 example percentage cart rule discounts, which are successfully applied to the given cart items. If I increase the quantity of a cart item, the
    calculatedDiscounts
    will be applied twice, but with quantity 1. Why? Is there a reason why the quantity number of a calculatedDiscount is not be increased? Given: 2 products, 2 cart rules -> 4 applied calculated discounts with quantity 1 Expected: 2 products, 2 cart rules -> 2 applied calculated discounts with quantity 2
    👀 1
    e
    c
    d
    • 4
    • 16
  • f

    few-tomato-6859

    09/30/2022, 2:30 PM
    I have a problem regarding the WYSIWYG editor in
    Zed > Content > Block > Edit Placeholder
    Pages. It changes my twig loops on save or if I change back to normal view after editing the code in code view. Is there a place in the code where I can look into its reformatting behaviour or disable it altogether? I'll put a code example in the thread.
    • 1
    • 3
  • s

    some-gpu-85939

    10/03/2022, 9:48 AM
    Hi, I'm implementing Computop payment. I meet issue at Yves. After implementation i can't log in to customer account in yves. Network in browser returns 200. Also validation (login form) not works. Additional I get CSRF token invalid message whet try to reset password. Maybe someone had such a case like this?
    w
    p
    • 3
    • 9
  • h

    handsome-lighter-20713

    10/04/2022, 1:24 PM
    Hey everyone, we were upgrading our spryker modules (spryker ~2020 - 2022.04) and right now we are getting the following error message whenever we run composer / reset the system... Side information we are using this image in our deploy.dev.yml: spryker/php:8.1-debian (my system is a ARM based mac) Has anyone had a similar problem? If you need any more specific Information please let me know. 🙂 PHP Warning: require(/data/vendor/composer/../symfony/polyfill-php80/bootstrap.php): Failed to open stream: No such file or directory in /data/vendor/composer/autoload_real.php on line 58 Warning: require(/data/vendor/composer/../symfony/polyfill-php80/bootstrap.php): Failed to open stream: No such file or directory in /data/vendor/composer/autoload_real.php on line 58 [04-Oct-2022 124654 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/data/vendor/composer/../symfony/polyfill-php80/bootstrap.php' (include_path='/data/vendor/spryker/architecture-sniffer/src/data/vendor/spryker/event behavior/src/data/vendor/spryker/rabbit-mq/src/data/vendor/spryker/synchronization behavior/src.:/usr/share/php7') in /data/vendor/composer/autoload_real.php:58 Stack trace: #0 /data/vendor/composer/autoload_real.php(41): composerRequire078549439425e692947e8a1649ff2118('a4a119a56e50fbb...', '/data/vendor/co...') #1 /data/vendor/autoload.php(12): ComposerAutoloaderInit078549439425e692947e8a1649ff2118::getLoader() #2 /data/vendor/composer/composer/src/bootstrap.php(17): include('/data/vendor/au...') #3 /data/vendor/composer/composer/src/bootstrap.php(20): includeIfExists('/data/vendor/co...') #4 /data/vendor/composer/composer/bin/composer(14): require('/data/vendor/co...') #5 /data/vendor/bin/composer(120): include('/data/vendor/co...') #6 {main} thrown in /data/vendor/composer/autoload_real.php on line 58 Fatal error: Uncaught Error: Failed opening required '/data/vendor/composer/../symfony/polyfill-php80/bootstrap.php' (include_path='/data/vendor/spryker/architecture-sniffer/src/data/vendor/spryker/event behavior/src/data/vendor/spryker/rabbit-mq/src/data/vendor/spryker/synchronization behavior/src.:/usr/share/php7') in /data/vendor/composer/autoload_real.php:58 Stack trace: #0 /data/vendor/composer/autoload_real.php(41): composerRequire078549439425e692947e8a1649ff2118('a4a119a56e50fbb...', '/data/vendor/co...') #1 /data/vendor/autoload.php(12): ComposerAutoloaderInit078549439425e692947e8a1649ff2118::getLoader() #2 /data/vendor/composer/composer/src/bootstrap.php(17): include('/data/vendor/au...') #3 /data/vendor/composer/composer/src/bootstrap.php(20): includeIfExists('/data/vendor/co...') #4 /data/vendor/composer/composer/bin/composer(14): require('/data/vendor/co...') #5 /data/vendor/bin/composer(120): include('/data/vendor/co...') #6 {main} thrown in /data/vendor/composer/autoload_real.php on line 58
    w
    q
    • 3
    • 4
1...676869...102Latest