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

    rough-scientist-68683

    10/21/2021, 6:06 AM
    Good morning everyone, can anyone help with the connection to Tideways? I followed the instruction here but when I bootstrap my environment I got the following issue:
    Copy code
    PHP Notice:  Undefined index: engine in /data/index.php on line 975
    PHP Fatal error:  Uncaught Twig\Error\LoaderError: Template "service//default/.yml.twig" is not defined in "docker-compose.yml.twig" at line 146. in /data/vendor/twig/twig/src/Loader/ChainLoader.php:98
    Stack trace:
    #0 /data/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ChainLoader->getCacheKey('service//defaul...')
    #1 /data/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('service//defaul...')
    #2 /data/vendor/twig/twig/src/Template.php(335): Twig\Environment->loadTemplate('service//defaul...', NULL)
    #3 /data/vendor/twig/twig/src/Environment.php(418) : eval()'d code(367): Twig\Template->loadTemplate('service//defaul...', 'docker-compose....', 146)
    #4 /data/vendor/twig/twig/src/Template.php(407): __TwigTemplate_b72e048a581fa4cde6cefce1e9be0db97cfbb5e96deaf0767d366e5d92d01218->doDisplay(Array, Array)
    #5 /data/vendor/twig/twig/src/Template.php(380): Twig\Template->displayWithErrorHandling(Array, Array)
    #6 /data/vendor/twig/twig/src/Template.php(392): Twig\Template->display(Array)
    #7 /data/vend in /data/vendor/twig/twig/src/Loader/ChainLoader.php on line 98
    I wonder why he's complaining about the index "engine" although I didn't add that. Here's what I added to my deploy.yml:
    Copy code
    tideways:
        apikey: 123456abcdefg
        environment-name: development
        cli-enabled: false
    p
    m
    • 3
    • 16
  • l

    lemon-magazine-17731

    10/21/2021, 6:38 AM
    Hello All, Any official document about how to add links in the Yves footer.
  • p

    purple-forest-91115

    10/21/2021, 12:11 PM
    This message was deleted.
    🤔 1
    q
    p
    s
    • 4
    • 4
  • a

    acceptable-florist-74304

    10/21/2021, 1:12 PM
    Hey, I'm getting this warning
    Warning: Neither SSH agent or COMPOSER_AUTH is configured. Private repositories would not be accessible.
    while running sdk up command (using windows) what should I do to resolve that?
    w
    p
    • 3
    • 2
  • a

    acceptable-florist-74304

    10/22/2021, 10:47 AM
    Hey, Im getting
    The process "vendor/bin/console transfer:generate" exceeded the timeout of 600 seconds.
    while running sdk up command. Is there a possibility to change that value of timeout?
    p
    m
    • 3
    • 13
  • a

    acceptable-florist-74304

    10/22/2021, 10:48 AM
    @polite-intern-55963 could you help with that?
  • w

    wide-car-19280

    10/22/2021, 12:35 PM
    @polite-intern-55963 on windows when setting up the project: have you ever come across this issue:
    Copy code
    Command propel-build [vendor/bin/console propel:model:build]
    Build Propel2 classes
    Propel\Generator\Exception\BehaviorNotFoundException - Exception: Unknown behavior "synchronization". You may try running `composer update` or passing the `--composer-dir` option.
    in /data/vendor/propel/propel/src/Propel/Generator/Util/BehaviorLocator.php (178)
    Command: vendor/bin/console propel:model:build
    Trace:
    #0 /data/vendor/propel/propel/src/Propel/Generator/Model/BehaviorableTrait.php(88): Propel\Generator\Util\BehaviorLocator->getBehavior('synchronization')
    #1 /data/vendor/propel/propel/src/Propel/Generator/Builder/Util/SchemaReader.php(324): Propel\Generator\Model\Table->addBehavior(Array)
  • l

    lemon-magazine-17731

    10/25/2021, 7:10 AM
    Hello Connections, I am adding the page molecule into my twig template. like mentioned in the https://documentation.spryker.com/docs/standard-filters-backend-and-frontend-technical-details but am getting the property is not defined error. I am missing something, any can help me?
    p
    • 2
    • 3
  • l

    lemon-magazine-17731

    10/25/2021, 12:28 PM
    Hello All, I have created a footer navigation link in zed and made it active, but it doesn't reflect in Yves. Do I want to do anything more?
    s
    • 2
    • 1
  • e

    echoing-action-91797

    10/25/2021, 1:20 PM
    Is there a way to ask for the columns info using the
    Propel::getConnection()
    ? I tried
    exec('\d+ table_name');
    but it’s not working (it says syntax error). I tried also using this query, but the output is not the columns but metadata that I am not really interested…
    Copy code
    SELECT *
    FROM information_schema.columns
    WHERE table_schema = 'public'
    AND table_name = 'table_name';
    I would like to get the column names from a given table in a specific schema using a Propel connection. Does anyone has other ideas or if this is possible? 🤔 Thanks in advance!
    solved 1
    w
    • 2
    • 2
  • m

    magnificent-pager-79488

    10/25/2021, 1:55 PM
    Hi everyone, I am very new to Spryker, Installed the Docker version, Now I am trying to Backend, Can some one please direct me to a document where I can start with. typically I am not finding a way to configure the admin login to backend.?
    a
    • 2
    • 2
  • l

    lemon-magazine-17731

    10/26/2021, 3:24 PM
    Hello Everyone, My Yves takes more than 2 mins to load a page, Is there anything that needs to be done to make it faster?
    a
    • 2
    • 4
  • p

    polite-lunch-97479

    10/26/2021, 3:33 PM
    Has anybody else seen cases where the git pre-commit hook states that there are errors but doesn't tell any details?
    m
    • 2
    • 1
  • c

    crooked-addition-36054

    10/27/2021, 9:02 AM
    Hello Community, business/legal needed an Registered Trademark in the product name ®. Spryker already is doing a good job in transforming this ® to an simple "r" in the URLs and nothing broke. Now we have the request if we could change this replacement easily so the r does not mess up the readability of product name in the url. Anybody dealt with something similar in "the proper way"? Is there a central config file for all replacements? I would have expected it within the URL module. https://github.com/spryker/url
    a
    • 2
    • 2
  • m

    mysterious-king-59256

    10/27/2021, 12:44 PM
    Hello, I’m trying to use Spryker codeception tests, but i’m getting error in the
    Customer
    tests with mail renderer (
    [LogicException] Unable to register extension "translator" as extensions have already been initialized.
    ). Do you know why it trows exception with default b2c test suite?
  • l

    lemon-magazine-17731

    10/28/2021, 7:24 AM
    Hello All, I am trying to add a newsletter type form in my Yves, followed the below document but am getting called to an undefined method error. Can anybody say how to reslve this?
    w
    • 2
    • 4
  • c

    colossal-alligator-85110

    10/28/2021, 11:14 AM
    Hi All, I am trying to achieve a new form in Yves like product review comment. I tried this source. https://documentation.spryker.com/docs/t-working-forms But This can't help me , Any clear document for creating a new from in yves.
  • d

    dry-minister-26533

    10/28/2021, 12:24 PM
    📍 Decision: Renamed.
  • m

    mysterious-king-59256

    10/29/2021, 12:28 PM
    hello, do you know if any good documentation about glue api testing exists?
    a
    i
    f
    • 4
    • 15
  • a

    ancient-apartment-59274

    11/01/2021, 10:07 AM
    Hello everybody, we currently facing an issue when deleting an image from an abstract product image set. When we delete a single image, there is a message on the publish queue which looks like the following
    Copy code
    {
      "listenerClassName": "Spryker\\Zed\\ProductImageStorage\\Communication\\Plugin\\Event\\Listener\\ProductAbstractImageStorageUnpublishListener",
      "transferClassName": "Generated\\Shared\\Transfer\\EventEntityTransfer",
      "transferData": {
        "id": 12573,
        "event": "Entity.spy_product_image.delete",
        "name": "spy_product_image",
        "foreign_keys": [],
        "modified_columns": [],
        "original_values": [],
        "additional_values": []
      },
      "eventName": "Entity.spy_product_image.delete"
    }
    Looking at the corresponding listener that should proceed the message, we find the following logic
    Copy code
    public function handleBulk(array $eventEntityTransfers, $eventName)
        {
            $this->preventTransaction();
            $productImageIds = $this->getFactory()->getEventBehaviorFacade()->getEventTransferIds($eventEntityTransfers);
            $productAbstractIds = $this->getQueryContainer()->queryProductAbstractIdsByProductImageIds($productImageIds)->find()->getData();
    
            $this->getFacade()->unpublishProductAbstractImages($productAbstractIds);
        }
    We are wondering if this can really work for the delete event as implemented in the EventSubscriber
    Copy code
    protected function addProductAbstractImageDeleteStorageListener(EventCollectionInterface $eventCollection)
        {
            $eventCollection->addListenerQueued(ProductImageEvents::ENTITY_SPY_PRODUCT_IMAGE_DELETE, new ProductAbstractImageStorageUnpublishListener(), 0, null, $this->getConfig()->getProductImageAbstractEventQueueName());
        }
    The problem: In case of delete, the retrieval of the product abstract ids will not work since it was already deleted from the database at this point. The method will return no result and therefore no delete for storage will follow. For unpublish (the entity still exists) it will work. But for delete at least in our opinion it will not work or do we miss something? Best regards
    • 1
    • 1
  • g

    gentle-architect-75453

    11/02/2021, 1:32 PM
    Hi #help 🙂 I have a detailed question concerning the implementation of a payment method with Computop. Can you name me one of the developers so that I can address my question directly? It concerns the order of calls (URLSuccess/Failure and URLNotify) - and how to cope/react when e.g. URLSuccess call is not made 🙂 e.g. because the user closed it's browser etc. Best regards,
    p
    • 2
    • 1
  • a

    acceptable-waitress-80115

    11/02/2021, 2:42 PM
    Hi #help, I'm pretty sure, that I found a bug in the GiftCard-Module. To verify this, I need a working giftCard in the demoshop (http://www.de.b2c.demo-spryker.com/). Does anybody know how to create one (and get the cardcode)?
    👍 1
    a
    b
    • 3
    • 13
  • a

    adamant-oil-10501

    11/02/2021, 8:19 PM
    Hello#help Iam trying to set up the react app example from the documentation but i keep getting the CORS error for /guest-cart s. can somebody tell me where exactly i need to set the access-control-allow-origin and access-control-allow-credentails headers. i tried setting them in docker/generator/src/templates/nginx/http/glue.server.conf.twig but that did not help. some of the CORS exceptions were fixed but the one from /guest-carts never goes away.
    l
    • 2
    • 4
  • a

    ancient-apartment-59274

    11/03/2021, 6:45 PM
    Hello, in this tutorial, the import of data using a queue instead of a file is described. But it seems this just describes the usage of the data importers located in the data-import module … how to use a queue based import along with plugin-based importers like category data? Best regards https://docs.spryker.com/docs/scos/dev/tutorials-and-howtos/advanced-tutorials/tutori[…]ng-a-default-data-importer-with-the-queue-data-importer.html
    l
    • 2
    • 18
  • c

    clean-painter-47981

    11/05/2021, 7:22 AM
    Hello, for a Spryker project, we will be using the Glue API and therefore would like to remove Yves from the project. Is this possible or is it better to keep Yves?
  • m

    mysterious-ambulance-11183

    11/05/2021, 8:10 AM
    Hi #help, We are preparing a new customer project and the question is how to do the inital setup. Our first approach would be to take the demo B2C project and throw away the stuff that is not needed (stores, currencies, etc). To your knowledge, is there any guidance on what all needs to be checked config-wise before launch? (Something like PW swapped, flag xy set or taken away, etc.). Is this approach ok, or is any other way recommended?
  • k

    kind-vegetable-16151

    11/05/2021, 12:53 PM
    Hello, as far as I read from the documentation, when customer purchases something (and that item is shipped) and when there is more than one warehouse then spryker deducts the bought quantity from the warehouse which has the most items first. Is there any way to change the logic, the order in which items get removed from warehouses? If so, where?
  • h

    hundreds-flower-81270

    11/05/2021, 1:09 PM
    Hi, is there a property for products to mark them as not discountable, so that no voucher will ever work on them?
    ➖ 1
    p
    • 2
    • 3
  • g

    gorgeous-optician-66846

    11/05/2021, 3:58 PM
    Hello Spryker-Developers, we are hitting a problem with the Publish&Sync mechanism regarding Updating the Elasticsearch Index. To be specific the ProductAbstractPagePublisher is our concern. We have customized the query a little but even in vendor code a big SQL query is constructed which joins over a lot of tables which takes time and memory. Propel seams to be the bottleneck for reading and writing into shadow tables. To update all our products in the index it takes about 10h. With the Collector (deprecated solution) back then it was way faster. Do you have any recommendations to tackle this problem? What are the biggest leverages to speed this up? I have seen somewhere that you use Postgres CTEs for writing into DB in the Demo-Shop/Suite afaik. What else can we do 🙂 Thank you in advance! Posted in #general
    m
    • 2
    • 3
  • e

    early-art-81990

    11/09/2021, 12:11 PM
    Hi. we’re busy with the spryker upgrade to latest version 202108.0 and I am facing a problem which makes me a bit confusing. Among other modules we have updated spryker-shop/cart-page to 3.29.0 and
    frontend:yves:build
    is throwing an error:
    Copy code
    ERROR in /app/vendor/spryker-shop/cart-page/src/SprykerShop/Yves/CartPage/Theme/default/components/molecules/cart-items-list/cart-items-list.ts(5,22)
       TS2515: Non-abstract class 'CartItemsList' does not implement inherited abstract member 'readyCallback' from class 'Component'.
    The CartItemsList extends the abstract class Component but the readyCallback() was replaced with init() which results in that error. Am I missing something? The components.ts hasnt changed -> https://github.com/spryker-shop/shop-ui/blob/master/src/SprykerShop/Yves/ShopUi/Theme/default/models/component.ts so to me it looks like a bug. thanks in advance.
    👍 1
    m
    q
    c
    • 4
    • 5
1...474849...102Latest