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

    limited-plastic-65699

    04/21/2022, 1:19 PM
    Hello, When migrating an existing webshop to Spryker, imagine one product are listen in 2 separate categories (in different silos), -what default logic will Spryker interpret for determining the breadcrumbs on that product page? Thank you! :)
    f
    • 2
    • 2
  • g

    gentle-architect-75453

    04/22/2022, 8:10 AM
    Hi guys 🙂 we encountered the following problem: In the db (MariaDB) a boolean is stored, represented as tiniInt -> 0 or 1. Whenever this value is queried using a select statement, e.g. in the SalesQuantityRepository this value is formatted and passed on as String. After that whenever a comparison is done, e.g.
    $itemTransfer->getIsQuantitySplittable() === false;
    it evaluates to false, because '0' is not equal to false. Does anyone encountered similar behaviour and do you know how to fix it? changing === to == is not a valid solution in my opinion as this does not solve the actual problem.
    f
    a
    b
    • 4
    • 12
  • n

    numerous-kitchen-79937

    04/25/2022, 9:26 AM
    Hi all, Is there a convenient way of clearing all data in my Spryker installation? Context… I installed the B2B store… I’m now ready to import my own data, but clearing the sample data is proving tricky. Many thanks. Ray
    c
    • 2
    • 2
  • a

    acceptable-sundown-99280

    04/26/2022, 8:51 AM
    How can I create a new store? I have added new store array in stores.php (path: config/Shared/) and in deploy.yml file(which in root), I have added region with store names. When I run
    docker/sdk up
    it's not creating new stores. seems I am missing something. Can anyone please guide?
  • f

    full-rocket-52349

    04/26/2022, 9:09 AM
    Before running
    docker/sdk up
    , you need to run
    docker/sdk bootstrap deploy.yml
    .
    a
    • 2
    • 11
  • a

    acceptable-sundown-99280

    04/27/2022, 10:42 AM
    I have imported products and it's visible in search and search result page. I can access product detail page as well. But that product is not showing up on category page. Is there any command I need to run to make product visible on category page? I found this article, but command given here doesn't exist in my system: https://docs.spryker.com/docs/scos/dev/tutorials-and-howtos/howtos/howto-product-data-from-import-to-front-end-view.html#importing-pr[…]sql-database
    Copy code
    Symfony\Component\Console\Exception\NamespaceNotFoundException - Exception: There are no commands defined in the "collector:storage" namespace. 
    in /data/vendor/symfony/console/Application.php (605)
    p
    • 2
    • 2
  • b

    bright-airport-9052

    04/27/2022, 12:47 PM
    Hello Team, I am exploring APIs using POSTMAN. I executed cms-pages api and got data related to CMS page, but I want all information like placeholder content, title, meta information. Is there any way to append other fields also in response? As per transfer object, right now I am getting only pageKey,name,validTo,isSearchable,url
  • t

    thankful-painter-25078

    04/27/2022, 10:21 PM
    Hello Everyone,
  • t

    thankful-painter-25078

    04/27/2022, 10:22 PM
    Hello everyone, I have a quick question. When a return slip is generated for returning an item, is there return address included in the return slip? Is it an OOTB functionality, or is this a customization?
  • c

    clever-knife-80146

    04/28/2022, 4:21 AM
    Hi everyone, I am updating the spryker/http from a Security notification: RCE vulnerability in the HTTP module of Spryker OS and my case is this one described by spryker on an old version of spryker => Q: I don’t have spryker/http on my project, but the archived Silex package is used instead A: Replace Symfony Silex version with Spryker fork. composer update spryker/silex --with-dependencies Open composer.lock file and make sure that spryker/silexphp package installed in version 0.3.10 _*Find all usages in code of \Silex\Provider\HttpFragmentServiceProvider class and add getenv('SPRYKER_ZED_REQUEST_TOKEN') to the getting class instance call as on code snippet:*_ _*new HttpFragmentServiceProvider( getenv('SPRYKER_ZED_REQUEST_TOKEN')),*_ The issue is that i have is spryker/silexphp package installed is version 0.3.5 so I dont really know what to do for this case! {I can not update the PHP to 7.2 btw} Does anyone had the problem?
    c
    • 2
    • 1
  • a

    acceptable-sundown-99280

    04/28/2022, 2:23 PM
    Is there any capability to generate Sitemap in Spryker?
    đź‘€ 2
  • m

    mysterious-ambulance-11183

    04/28/2022, 4:24 PM
    Hi guys, currently working on OMS and statemachine. One thing that bugs me: Suppose I have the following state machine:
    Copy code
    <?xml version="1.0"?>
    <statemachine
    xmlns="spryker:oms-01"
    xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance>"
    xsi:schemaLocation="spryker:oms-01 <http://static.spryker.com/oms-01.xsd>">
    <!-- Used as example XML for OMS implementation -->
    
        <process name="Demo01" main="true">
            <states>
                <state name="new" />
                <state name="unauthorized" />
                <state name="paid" />
            </states>
    
            <transitions>
                <transition condition="Demo/IsAuthorized" happy="true">
                    <source>new</source>
                    <target>paid</target>
                    <event>pay</event>
                </transition>
                <transition><!-- else -->
                    <source>new</source>
                    <target>new</target>
                </transition>
            </transitions>
    
            <events>
                <event name="pay" onEnter="true" command="Demo/SendNotification" />
            </events>
        </process>
    </statemachine>
    I can't get it working, that the condition is checked at
    oms:check-condition
    . Here statemachine is picking up only conditions. that have no event: https://github.com/spryker/oms/blob/d6cc889a6e846d08e5a423d36d44e41b38cd51ce/src/S[…]pryker/Zed/Oms/Business/OrderStateMachine/OrderStateMachine.php What I would like to achive is that, that a transition is triggered if condition
    Demo/IsAuthorized
    is met, and then the command
    Demo/SendNotification
    is executed. Did I get the concept of commands and conditions wrong, that they are not working together or did I just configure something wrong? 🤔
    f
    • 2
    • 4
  • r

    ripe-librarian-883

    04/29/2022, 11:09 AM
    Hello everyone, I am currently trying to add an additional cost as expense at the quote. I am wondering, but in following method: https://github.com/spryker/shipment-cart-connector/blob/master/src/Spryker/Zed/ShipmentCartConnector/Business/Cart/ShipmentCartExpander.php#L256 the code is checking for a shipment hash key to find the shipment expense, insteadof checking the type of expense (SHIPMENT_EXPENSE_TYPE). 1) Is there an obvious (but for me currently unknown) reason for this? 2) Do I need to add a shipment for my additional cost expense? 3) How prevent my addtional cost expense getting used / interpreted as shipment expense? Thanks in advance :-)
    • 1
    • 1
  • n

    nutritious-cpu-80657

    04/29/2022, 12:32 PM
    Afternoon all! Does anyone know how I might achieve something like this using Propel?
    Copy code
    SELECT *
    FROM spy_sales_order sso
    LEFT JOIN spy_customer sc ON LOWER(sso.email)=LOWER(sc.email)
    WHERE sc.customer_reference != sso.customer_reference
    AND sso.email is not null;
    Specifically the
    LOWER()
    in the
    ON
    criteria.
    Copy code
    new SpySalesOrderQuery())
                ->addJoin('spy_sales_order.email', 'spy_customer.email', Criteria::LEFT_JOIN)
                ->where('spy_customer.customer_reference != spy_sales_order.customer_reference')
                ->where('spy_sales_order.email is not null')
    Doesn't appear to allow you to do anything like that 🤔
    e
    • 2
    • 3
  • n

    narrow-sundown-20861

    04/30/2022, 6:24 PM
    Hey everyone. I'm trying to set up the usage of SPRYKER_CODE_BUCKET for console commands, but even though I follow the steps from https://docs.spryker.com/docs/scos/dev/architecture/code-buckets.html#defining-code-buckets-of-a-project, I still can't see it working as expected. I added the Config class as mentioned and also added an xdebug breakpoint in the method in the expectation that when the command is executed, the envvar is validated, but it never reaches the new config class and goes straight to the Console::execute implementation. I already ran
    composer dump-autoload
    too to ensure the changes are in effect, but it didn't work so far. What am I missing?
  • t

    thankful-jackal-61577

    05/01/2022, 7:46 PM
    Hi guys, Does anyone know how I can register a Merchant from Yves? Currently I have to register it from the backoffice but I would like the registrations to be automatic
    c
    • 2
    • 1
  • g

    great-exabyte-82439

    05/02/2022, 11:22 AM
    Hello guys, Is it possible to have multi-store shops without subdomains, but a special URL path instead? For example, the default would be: • de.shop-name.example • at.shop-name.example And the desired URL would be this instead: • shop-name.example/de-at/ • shop-name.example/de-de/
    a
    s
    • 3
    • 6
  • a

    abundant-terabyte-24591

    05/04/2022, 8:20 AM
    Hi, I have a question regarding Migrations in Spryker. So we have used Phnix Migrations for a while but recently went back to the Spryker standard to use Propel Migrations, now my question is what is the Spryker way to create pure Data creation/insertion Migrations? For example, for the creation of a new CMS slot, which we did with a phnix migration in the past.
    g
    • 2
    • 1
  • r

    rough-scientist-68683

    05/04/2022, 1:57 PM
    Hi, after updating ElasticSearch to version 7.10 I have problems rebuilding the environment. I removed all docker containers, images and volumes. Then I called
    docker/sdk bootstrap deploy.development.yml
    and
    docker/sdk up
    . It fails with the error you can see on the image. I already found out that the
    exec 'yarn' 'install'
    command fails and executed that by hand to see the output. You can find it in the appended log file. Does anyone have an idea how I can fix this or what the problem is?
    • 1
    • 1
  • a

    acoustic-businessperson-27970

    05/05/2022, 12:10 PM
    Hi all, can you please help me understand the difference between discontinued and deactivated products ? I am talking from technical perspective. What happens if I deactivate a product vs. if I mark it discontinued.
    f
    • 2
    • 2
  • a

    ancient-apartment-59274

    05/05/2022, 2:55 PM
    Hello, looking at the spryker import there is a deprecated
    DataSetWriterPluginInterface
    which takes a
    DataSetInterface
    as a param … the new way seems to be to use the
    DataSetItemWriterPluginInterface
    which uses a
    DataSetItemTransfer
    … i guess, using the
    DataSetInterface
    therefore will also be deprecated? It is not stated as this. I ask because i want to translate a “old” ImportWriterStep to a new dedicated DataSetWriter and struggle to either use the
    DataSetInterface
    (like all other existing do) or use a
    DataSetItemTransfer
    for the write method as an input param. Best regards
    • 1
    • 1
  • p

    polite-lunch-97479

    05/05/2022, 3:21 PM
    I updated
    spryker/category
    to
    5.5.0
    and now I'm noticing two issues: 1. The query in
    vendor/spryker/category/src/Spryker/Zed/Category/Persistence/CategoryRepository.php::getCategoryNodes()
    is doing a cross join. I think it's missing a condition to join locales: -
    >where(SpyUrlTableMap::COL_FK_LOCALE . '=' . SpyCategoryAttributeTableMap::COL_FK_LOCALE)
    2. In
    vendor/spryker/category/src/Spryker/Zed/Category/Persistence/Propel/Mapper/CategoryMapper.php:142
    the localized attributes of a category are being loaded via relation. But it's returning only one attribute entity where there should be entities for de_CH, fr_CH, it_CH in my case. As a result, the category nodes aren't complete, which means that they're missing name and url in search result data. Changing
    $categoryEntity->getAttributes()
    to
    $categoryEntity->getAttributesJoinLocale()
    fixes it and returns all attribute entities for all three locales, but I don't understand what makes the difference. Can anybody confirm?
    g
    • 2
    • 8
  • c

    cool-truck-47629

    05/05/2022, 9:02 PM
    Hello everyone, is there possibility (some module maybe) to authenticate a zed user through glue API? Or anything API related for zed?
  • s

    strong-winter-32294

    05/06/2022, 8:37 AM
    Hello everyone, a general question concerning propel-migrations, maybe even addressed to spryker-core devs directly: --- Is there a reason why the default install-scripts of the suites clear all existing migrations in the beginning (see: https://github.com/spryker-shop/b2b-demo-shop/blob/8c21e264eb4318b6605465762c2ea00413ba8890/config/install/EU/production.yml#L13)? Is there another recommended way to run custom migrations on deploy (before the automatically generated ones)? We e.g. want to rename a column which is not directly supported via propel's schema-xmls afaik.
    propel:diff
    would simply drop the old one and create a new one so all data would be lost
    m
    a
    l
    • 4
    • 5
  • f

    faint-teacher-33864

    05/10/2022, 5:35 AM
    I have added CSS inside /public/Yves/assets/current/default/css but it is not reflecting in my live env. Can anyone help me What wrong i performed ?
    w
    • 2
    • 6
  • a

    acoustic-businessperson-27970

    05/10/2022, 7:17 AM
    Hi all, is there an ACL users/groups/role/rules importer ?
    a
    • 2
    • 4
  • f

    faint-teacher-33864

    05/10/2022, 5:15 PM
    How to import batch file data for custom form created in spryker admin ? Anyone help on that.
  • w

    wooden-king-30682

    05/11/2022, 6:02 AM
    @average-branch-45579 Could it be the case that https://github.com/spryker/oms/releases/tag/11.16.1 has a hard dependency to the patch version https://github.com/spryker/propel/releases/tag/3.34.2 caused by the commits https://github.com/spryker/propel/commit/f8fa58f9fc2e734507b773028c386bf89ec544a2 and https://github.com/spryker/oms/commit/d6cc889a6e846d08e5a423d36d44e41b38cd51ce that is missing in the composer.json of spryker/oms? Even on the current release the spryker/oms only requires spryker/propel 3.28.0 (https://github.com/spryker/oms/blob/master/composer.json#L15). Background: In https://github.com/spryker/oms/commit/d6cc889a6e846d08e5a423d36d44e41b38cd51ce#diff-232e8ee31c4d6a1cf9132ba707d4[…]36420e8a3a13cd1fb545f2f9871c9L138 a new call to
    $this->commitIdentical()
    was introduced, which is a method of the
    ActiveRecordBatchProcessorTrait
    but only since spryker/propel 3.34.2. So a patch version (spryker/oms 11.16.1) introduced a breaking change, because the spryker/propel constraint is too loose and to fix this a patch version would need a constrain to another patch version. I'm not sure if the clean solution, to set the right constraint from spryker/oms to spryker/propel is the best approach here, as it looks strange to have a patch version constraint. The alternative would be to revert the change in spryker/oms 11.16.1 and release spryker/oms with a new major including the change and at the same time releasing propel with a new minor on which spryker/oms can depend on. @fresh-horse-77069 Might see another solution I don't see here.
    a
    • 2
    • 2
  • a

    ancient-apartment-59274

    05/11/2022, 8:23 AM
    Hello, do you know if it’s possible/working to speed up publish queue processing by having a worker count > 1? I assume this may fail since the data integrity in elasticsearch/redis is based on the order of the publish messages. Any experience here? Any ideas to speed up the processing in another way? Best regards
    w
    a
    • 3
    • 7
  • e

    early-art-81990

    05/11/2022, 1:52 PM
    hi, any reason why release notes for 202204.0 aren’t available yet? -> https://docs.spryker.com/docs/scos/user/intro-to-spryker/releases/release-notes/release-notes-202204.0/release-notes-202204.0.html (link from github)
    đź‘€ 2
    âś… 1
    • 1
    • 1
1...565758...102Latest