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

    bright-rainbow-76614

    07/25/2023, 7:57 AM
    Hi Team, I am trying to override the styles in component password-complexity-indicator. I copied the component to my theme folder, but I still get the styles placed in vendor directory. I noticed that the entry point of the component is importing an intermediate style.scss which, instead of the whole styles, it uses a helper-import
    Copy code
    @include helper-import(molecule, password-complexity-indicator) {
        @include shop-ui-password-complexity-indicator;
    }
    I have checked that if I remove this helper-import and replace it with the styles, it overrides the styles like expected. I've seen this pattern in other components and I have the same behaviour. What would be the best way to override this components without removing the helper-import? And what is the reason to use this pattern in this components instead of just using the component's mixin without the helper-import?
    q
    • 2
    • 2
  • w

    wooden-needle-52499

    07/25/2023, 2:47 PM
    Hi team, I have several modules that I add to Spryker. I would like to share code between them to follow DRY principle. I tried several approaches involving the different
    DependencyProvider
    (
    AbstractBundleDependencyProvider
    ,
    AbstractDependencyProvider
    ) and their methods such as
    setGlobal
    in one module or using
    configure()
    to set it to global like proposed here https://docs.spryker.com/docs/scos/dev/back-end-development/factory/inject-dependencies-within-factories-container-globals.html. Unfortunately, this didn't help. When adding logs I see that the code tries to access the provided dependency before it is being added. Any ideas what else I can try?
    p
    h
    • 3
    • 9
  • s

    swift-plastic-31133

    07/26/2023, 6:05 AM
    Hi Guys, I am facing below issue, at line its pointing the error i am passing the require transfer object only. Please check the attached code screenshot also. Please help me with this. Thanks..!
    w
    • 2
    • 2
  • f

    fresh-tent-43300

    07/26/2023, 9:35 PM
    1. Add new field to transfer schema xml
  • d

    damp-traffic-95195

    07/27/2023, 6:16 AM
    Hi Team, Could anyone please tell me how to display product attribute in PLP page.
  • g

    great-byte-99546

    07/27/2023, 7:56 AM
    https://docs.spryker.com/docs/pbc/all/cart-and-checkout/202307.0/base-shop/extend-and-customize/calculation-data-structure.html <- seems to be in some sort of redirect loop šŸ¤”
    šŸ‘€ 1
  • h

    hallowed-eye-69242

    07/27/2023, 12:41 PM
    Hello. I have a problem with
    permissions
    . So, in my
    b2b shop
    customers can add to cart even when they are not logged. Now I'm adding the
    quick-order
    functionality, but when I'm trying to add to cart a have a message
    This action is forbidden
    . While investigating, I found that we use
    AddCartItemPermissionPlugin
    for this purposes (
    \SprykerShop\Yves\QuickOrderPage\Controller\QuickOrderController::executeAddToCartAction
    ). I have this plugin registered in
    Zed.PermissionDependencyProvider
    and
    Client.PermissionDependencyProvider
    . Also, I found another plugin
    SeeOrderPlaceSubmitPermissionPlugin
    . I don't understand the difference between these two plugins, but in the
    \Spryker\Client\CustomerAccessPermission\CustomerAccessPermissionConfig::CONTENT_TYPE_PERMISSION_PLUGIN
    we use it in line 50:
    self::_CONTENT_TYPE_ADD_TO_CART_ => SeeAddToCartPermissionPlugin::_KEY_,
    If I replace it with
    AddCartItemPermissionPlugin
    I can perform add-to-cart operation in
    quick-order
    , but can't do it in catalog. Also I found that if I change the
    AddCartItemPermissionPlugin::KEY
    to
    SeeAddToCartPermissionPlugin
    - it works fine. But, probably, it's bad solution. So, what I'm doing wrong? How can I add permission for not-logged customers to add products to the cart on the
    quick-order
    page?
  • b

    bright-architect-19696

    07/27/2023, 1:06 PM
    I am trying to figure out the reason where this call to method originates from -- ZED Exception Error - Call to undefined method Spryker\Zed\ProductBundle\Dependency\Facade\ProductBundleToPriceFacadeBridge::getProductForBundleTransfersByProductConcreteSkus() in /data/vendor/spryker/product-bundle/src/Spryker/Zed/ProductBundle/Business/ProductBundle/Cart/ProductBundleCartExpander.php (113) Url:/persistent-cart/gateway/add-item Trace:
    Copy code
    #0 /data/vendor/spryker/product-bundle/src/Spryker/Zed/ProductBundle/Business/ProductBundleFacade.php(43): Spryker\Zed\ProductBundle\Business\ProductBundle\Cart\ProductBundleCartExpander->expandBundleItems(Object(Generated\Shared\Transfer\CartChangeTransfer))
    #1 /data/vendor/spryker/product-bundle/src/Spryker/Zed/ProductBundle/Communication/Plugin/Cart/ExpandBundleItemsPlugin.php(33): Spryker\Zed\ProductBundle\Business\ProductBundleFacade->expandBundleItems(Object(Generated\Shared\Transfer\CartChangeTransfer))
    #2 /data/vendor/spryker/cart/src/Spryker/Zed/Cart/Business/Model/Operation.php(557): Spryker\Zed\ProductBundle\Communication\Plugin\Cart\ExpandBundleItemsPlugin->expandItems(Object(Generated\Shared\Transfer\CartChangeTransfer))
    #3 /data/src/Pyz/Zed/Cart/Business/Model/Operation.php(52): Spryker\Zed\Cart\Business\Model\Operation->expandChangedItems(Object(Generated\Shared\Transfer\CartChangeTransfer))
    #4 /data/vendor/spryker/cart/src/Spryker/Zed/Cart/Business/CartFacade.php(60): Pyz\Zed\Cart\Business\Model\Operation->addToCart(Object(Generated\Shared\Transfer\CartChangeTransfer))
    #5 /data/vendor/spryker/persistent-cart/src/Spryker/Zed/PersistentCart/Dependency/Facade/PersistentCartToCartFacadeBridge.php(46): Spryker\Zed\Cart\Business\CartFacade->addToCart(Object(Generated\Shared\Transfer\CartChangeTransfer))
    #6 /data/vendor/spryker/persistent-cart/src/Spryker/Zed/PersistentCart/Business/Model/QuoteItemOperation.php(92): Spryker\Zed\PersistentCart\Dependency\Facade\PersistentCartToCartFacadeBridge->addToCart(Object(Generated\Shared\Transfer\CartChangeTransfer))
    #7 /data/vendor/spryker/persistent-cart/src/Spryker/Zed/PersistentCart/Business/Model/CartOperation.php(90): Spryker\Zed\PersistentCart\Business\Model\QuoteItemOperation->addItems(Array, Object(Generated\Shared\Transfer\QuoteTransfer))
    #8 /data/vendor/spryker/persistent-cart/src/Spryker/Zed/PersistentCart/Business/PersistentCartFacade.php(36): Spryker\Zed\PersistentCart\Business\Model\CartOperation->add(Object(Generated\Shared\Transfer\PersistentCartChangeTransfer))
    #9 /data/vendor/spryker/persistent-cart/src/Spryker/Zed/PersistentCart/Communication/Controller/GatewayController.php(32): Spryker\Zed\PersistentCart\Business\PersistentCartFacade->add(Object(Generated\Shared\Transfer\PersistentCartChangeTransfer))
    #10 /data/vendor/spryker/zed-request/src/Spryker/Zed/ZedRequest/Communication/Plugin/GatewayControllerListenerPlugin.php(61): Spryker\Zed\PersistentCart\Communication\Controller\GatewayController->addItemAction(Object(Generated\Shared\Transfer\PersistentCartChangeTransfer), Object(Spryker\Zed\ZedRequest\Business\Client\Request))
    #11 /data/vendor/symfony/http-kernel/HttpKernel.php(163): Spryker\Zed\ZedRequest\Communication\Plugin\GatewayControllerListenerPlugin->Spryker\Zed\ZedRequest\Communication\Plugin\{closure}()
  • f

    freezing-guitar-75665

    07/27/2023, 4:41 PM
    Hello Team, On Every command, I am getting the below error like in screenshot. Am I missed anything? I don't know why... [26-Jul-2023 161734 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'newrelic.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/newrelic.so (Error loading shared library libpcre.so.1: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20210902/newrelic.so)), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/newrelic.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20210902/newrelic.so.so: No such file or directory)) in Unknown on line 0
    p
    • 2
    • 1
  • a

    ancient-apartment-59274

    07/28/2023, 9:59 AM
    Hello, does somebody know if spryker supports any concept of ā€œinheritanceā€ regarding code buckets? There is this physical inheritance thing which will fallback to a default code bucket if not found any specific one … but would it be also possible to have something like: default->continent->region->country? So whenever a country specific code is not provided, the region bucket is the next ā€œfallbackā€ instead of default? I think there can be reached something like this using code inheritance, but this will also introduce a lot of boilerplate, especially when specific code buckets are becoming more Best regards
    šŸ‘€ 1
    w
    • 2
    • 3
  • c

    clean-sundown-47111

    07/28/2023, 10:03 AM
    Hello team I am runnig command docker.sdk up , docker/sdk build , docker/sdk up --build but i got this error .
    a
    • 2
    • 3
  • s

    stale-battery-68732

    07/28/2023, 11:40 AM
    Hi all, can someone please let me know where we can find the Merchant portal API, such as Merchant Login and Order APIs?
  • a

    aloof-australia-98953

    07/28/2023, 3:11 PM
    Hi. My colleagues are trying to access training catalogs after creating an account and this is the error they are getting: Could someone please help? @
    āœ… 1
    p
    • 2
    • 1
  • a

    acoustic-terabyte-93857

    07/29/2023, 12:50 PM
    hi guys, After run
    docker/sdk console twig:cache:warmer
    . It raise error
    Template "@HomePage/views/home/home.twig" is not defined.
    Any suggest for this issue ?
    p
    m
    • 3
    • 33
  • d

    damp-traffic-95195

    07/31/2023, 3:22 AM
    Hello Team, I need to show one product attribute value below ratings in PLP page. Please let me know how to do that. Please find the screenshot for the requirement.
    m
    • 2
    • 2
  • t

    thankful-dog-19953

    07/31/2023, 7:43 AM
    Please help me. I am stuck at sales return functionality. I need to attach an event when executing sales return from both side back-office and store-front which gives order reference. Please help me!! I tried with plugin with salesReturnExtension but it has not order reference.
  • b

    bland-yacht-60252

    07/31/2023, 8:11 AM
    Is Spryker Documentation Down?
    p
    • 2
    • 1
  • t

    thankful-dog-19953

    07/31/2023, 8:17 AM
    Hello There!! Please help me!! I need order reference while executing sales return in back-office I need to attach an webhook or event to grab the order reference for my Loyalty plugin Can anyone guide me? Could anyone help me please? Thanks
  • s

    stale-battery-68732

    07/31/2023, 11:55 AM
    Hello Team, please help me find the Backoffice and Merchant Portal APIs, such as Merchant Order and login API.
    • 1
    • 1
  • b

    bland-yacht-60252

    07/31/2023, 12:07 PM
    Guys I a have a question
  • b

    bland-yacht-60252

    07/31/2023, 12:07 PM
    I want to add a redirect
  • b

    bland-yacht-60252

    07/31/2023, 12:07 PM
    The merchant port index page, doesn't have redirect
  • b

    bland-yacht-60252

    07/31/2023, 12:08 PM
    https://mp.gr.dev.spryker.wellcomm.store/ -> https://mp.gr.dev.spryker.wellcomm.store/security-merchant-portal-gui/login
  • b

    bland-yacht-60252

    07/31/2023, 12:08 PM
    How I can include it?
    p
    • 2
    • 1
  • b

    bright-architect-19696

    07/31/2023, 2:11 PM
    Hello Team I am facing an issue in Product attribute in the below line , the key is being set to lowercase. whereas the actual key is stored in CamelCase in Database. Since the JS is in productattribute-main.js of vendor folder. _attributeManager.addKey = function (key, idAttribute, dataTable) { key = key.replace(/([^a-z0-9\_\-\:]+)/gi, '').toLowerCase(); What then happens is that on matching the two keys , a alert box is shown if (!hasAttribute) { _alert_('Attribute "' + key + '" doesn\'t exist.'); return false; } Is this a product bug and how should I approach to resolve this ?
  • b

    brash-umbrella-65522

    08/01/2023, 3:14 AM
    Any help to login on this page. I can login by these info last month. Login: admin@spryker.com Password: change123
    f
    p
    c
    • 4
    • 5
  • n

    numerous-crowd-1561

    08/01/2023, 6:54 AM
    Hi Team, i want to change ports for different module yves, glue, backoffice, i changed the ports in config_default-docker.dev.php file under Config/Shared folder. But this is not reflecting. what i am missing and please help to find way to change ports.
    p
    w
    • 3
    • 2
  • b

    blue-carpenter-85560

    08/01/2023, 9:58 AM
    The example responses on Glue API order details show the OMS state machine fields: itemStates array for the order and state for each item in the order. Is there any documentation how to achieve this? Our solution is based in b2b demo. We've set up the OMS state machine for two payment methods, they're working but we're missing this data in the Glue API response. Haven't found any mention of itemStates in the spryker git, that is related to the Glue API, and not the Sales backoffice order view.
    • 1
    • 1
  • a

    ancient-apartment-59274

    08/01/2023, 2:04 PM
    Hello šŸ˜‰ does anybody has experience with big store setups, for example with several dozens of stores and its extra logic in it? I really like the idea of the codebuckets but I could think of, that it won’t make any sense to have everything in one repo, since it tends to be a monolithic approach in the end (have any code running on any instance). On the other hand, duplicating logic or multiple repositories to maintain is also something undesirable. Whats your experience with it? Cheers
    w
    a
    • 3
    • 12
  • r

    rich-guitar-29888

    08/02/2023, 9:09 AM
    Hey Team, I want to access backend API but when i call backend-api.us.spryker.local it redirects me to backoffice i am using fresh setup but still having same issue or am i missing something i have checked \public\BackendApi\index.php and it uses -> use Spryker\Zed\Application\Communication\Bootstrap\_BackendApiBootstrap_; @plain-city-95899 @wooden-king-30682 @big-apple-4330 @mammoth-autumn-37948 can you please help me out.
    p
    • 2
    • 11
1...9899100101102Latest