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

    hallowed-coat-68810

    01/13/2021, 11:00 AM
    Hello everyone, Are there any special adjustments needed to receive the order confirmation mail? Because I have only received the customer signup/register mail from the Spryker B2C demo shop. Thanks in advance.
    c
    • 2
    • 1
  • s

    silly-motherboard-93855

    01/13/2021, 11:18 AM
    If I want to add item to cart in Zed via
    Copy code
    $quote->setItems($objectItemsArrayOld);
                    $objectItemsArray->append($itemTransfer);
    
                    $cartChangeTransfer->setQuote($quote);
                    $cartChangeTransfer->setItems($objectItemsArray);
    
                    $quote = $zedcart->addValid($cartChangeTransfer);
    I get:
    Copy code
    Spryker\\Zed\\Discount\\Business\\Exception\\QueryStringException: Could not tokenize query string
    is there some requirement about the url format where we call add to cart from ? currently the url doesn't have the query string at all
  • w

    wide-wolf-99519

    01/13/2021, 2:30 PM
    I see that debug toolbar is working again, great work and many thanks I have a follow up question tho I rember that toolbar used to display all request so one wouldnt have to open browser console to track them an I dont see this now, do I have to enable that manualy?
    s
    m
    a
    • 4
    • 14
  • i

    icy-sundown-8018

    01/13/2021, 4:30 PM
    Hi everyone 👋, our deployment process takes up to 400 - 500 seconds only on command 'frontendprojectinstall-dependencies'. It seems that we lose a lot of time for the
    node-gyp rebuild
    task there.
    node-gyp rebuild
    therefore is only necessary for ‘node-sass’.   And 'node-sass' seems to be considered as deprecated (https://github.com/sass/node-sass/issues/2952) and can be replaced by 'dart-sass' (https://github.com/sass/dart-sass), like it is already recommended on webpacks documentation (https://webpack.js.org/loaders/sass-loader/). While we can easily replace it on Pyz/Yves level, we want to avoid to replace it in 'spryker/oryx-for-zed' ourselves. Are there any considerations to replace ‘node-sass’ with ’dart-sass’ in this package? Maybe @delightful-actor-37108? Any other recommendations to improve performance on this particular deployment step?
    👍 3
    d
    s
    a
    • 4
    • 5
  • g

    gentle-vegetable-74963

    01/14/2021, 8:57 AM
    Morning, I have a question for all of the search gurus out there 🙂 We are currently upgrading our shop and looking at the new
    search migration concept
    https://documentation.spryker.com/v4/docs/search-migration-concept#unblocking-elasticsearch-6 Does the new provider agnostic module still support ElasticSearch 5.6, or does it only work with ES6+? Ideally we would like to decouple upgrading services from the rest of the upgrade.
    • 1
    • 1
  • q

    quick-summer-4393

    01/14/2021, 9:32 AM
    Hey guys, I have a more frontend oriented question: There are e-mail templates for various status messages in the spryker System. These are located in the vendor folder in the spryker directory. What is the best way to alter these email templates? I need to change the optics and some of the texts, as well as generated links. Thanks in advance!
    p
    • 2
    • 2
  • j

    jolly-night-88032

    01/15/2021, 1:14 PM
    Hey there.. did anyone ever stumbled upon this kind of exception?
    Copy code
    Spryker\Zed\PriceCartConnector\Business\Exception\PriceMissingException - Cart item "..." can not be priced. in "/var/www/spryker/releases/current/vendor/spryker/price-cart-connector/src/Spryker/Zed/PriceCartConnector/Business/Manager/PriceManager.php::127"
    I can’t reproduce the issue for the given product.. and it happens randomly not product specific and across multiple stores. My best guess has been that the productFacade doesn’t return valid prices, but all data seems to be fine. The error happens on quote validation.
    a
    • 2
    • 5
  • m

    mysterious-king-59256

    01/15/2021, 3:08 PM
    Hello 🙂 I am using standard Spryker's fronted (with twig and components). I have to create some reactive element.. let's say it's similar to todo list with add and remove item. Problem is that these items are custom components and after cloning they are not initialized. I could use invoke
    mountCallback
    method, but then subcomponents are not initialized. Is there any 'Spryker way' for cloning custom components?
    q
    • 2
    • 2
  • e

    echoing-notebook-55206

    01/18/2021, 11:45 AM
    Hello everyone, I'm using a custom client to consume the Glue API. While developing, I sometimes run into exceptions in Spryker. This means that Glue responds with a 500 response, which is fine, but gives no further information on the error. Can you please explain or point me to the documentation on how to change my config to get an exception message and stack trace in my Glue responses?
    a
    i
    +2
    • 5
    • 16
  • w

    wide-wolf-99519

    01/18/2021, 1:17 PM
    hello, are these steps required to create new yves route? 1. create Pyz/Yves/ModuleName/Controller/ControllerNameController class, 2. create Pyz/Yves/ModuleName/Plugin/Router/ModuleNameRouteProviderPlugin class, 3. register ModuleNameRouteProviderPlugin in RouterDependencyProvider::getRouteProvider, 4. run routercachewarm-up command did I miss something or got something wrong?
    s
    • 2
    • 1
  • m

    miniature-glass-12886

    01/18/2021, 3:32 PM
    Hi, I have enabled the extensions for pdo_pgsql and pgsql in php.ini but receiving the same error 1.Root composer.json requires PHP extension ext-pdo_pgsql * but it is missing from your system. Install or enable PHP's pdo_pgsql extension. 2. Root composer.json requires PHP extension ext-pgsql * but it is missing from your system. Install or enable PHP's pgsql extension. and 3. - php-webdriver/webdriver 1.8.2 requires ext-zip * -> it is missing from your system. Install or enable PHP's zip extension.     - codeception/module-webdriver 1.1.0 requires php-webdriver/webdriver ^1.6.0 -> satisfiable by php-webdriver/webdriver[1.8.2].     - codeception/module-webdriver is locked to version 1.1.0 and an update of this package was not requested. below is the screenshot of php.ini
  • c

    clever-lock-98656

    01/18/2021, 3:33 PM
    Hi @all, does anyone have a running solution to add a time range to spryker zed gui tables? The actually search solution is terrible slow . The timeframe should be selected via zed gui and working the search aswell.
    m
    • 2
    • 2
  • h

    hallowed-coat-68810

    01/18/2021, 4:10 PM
    Hello everyone, I have tried to integrate the credit card payment using iframe logic (SprykerB2B Demo shop). But, the "event.preventDefault()" not working instead the payment form submitted before receiving a response from the payment gateway(postMessage). But, the same thing worked for me with the SprykerB2C Demo shop.
    Copy code
    protected init(): void {        
    	this.form = <HTMLFormElement>document.querySelector(this.formSelector);
    	this.mapEvents();
    }
    
    protected mapEvents(): void {	
    	this.form.addEventListener('submit', (event: Event) => this.onSubmit(event));
    }
    
    protected onSubmit(event: Event): void {
    	event.preventDefault();
    	// Payment gateway API request()
    	return;
    }
    Anyone, please assist me to resolve this issue? Thanks in advance.
    m
    • 2
    • 4
  • s

    silly-motherboard-93855

    01/19/2021, 1:13 PM
    I have an issue with the Delivery Price plugin, I'm creating a quote transfer
    Copy code
    $quote = new QuoteTransfer();
            $quote->setCartId($cartId);
    then setting the quoteShipping (I know the quote and not per-item is deprecated, but not removed yet, so I assume it should still work)
    Copy code
    $addressTransferShipping = new AddressTransfer();
    $addressTransferShipping->setIso2Code($shippingAddress['countryId']);
    $quote->setShippingAddress($addressTransferShipping);
    
    $zedcart = new CartFacade();
    $responseQuote = $zedcart->validateQuote($quote);
    but the price seen in
    Copy code
    quote->getTotals()->getShipmentTotal()
    is still the default shipment price from the
    /shipment-gui/shipment-method/index
    and not from the price plugin. What am I missing? Using
    Copy code
    $quote->setExpenses(new \ArrayObject([$shippingExpenseTransfer]));
    doesn't help either What I have confirmed so far is that the method of my plugin does fire and returns 0 (free shipping). Quote totals, however, still have default shipping price for store. So my question would be: how to apply effect of Shipping price plugins onto the QuoteTransfer?
  • n

    numerous-ghost-43588

    01/19/2021, 2:11 PM
    Hello, could you please provide the link for implementation and user guide documents for all Spryker Modules.
    s
    q
    • 3
    • 7
  • w

    wide-wolf-99519

    01/19/2021, 3:12 PM
    lets say I am implementing integration with some abstract external API, what would be most suitable place to put configuration and provider that adds API client to container? Pyz/Client? Pyz/Shared? somwhere else?
    p
    • 2
    • 2
  • b

    blue-continent-9575

    01/20/2021, 8:24 AM
    Good Morning. Can somebody tell me how to add Assets to Zed Backend, there is no example in the Demoshop. I want to add my Font (eot File) to Zed also, so it will be available in the Email templates. Searched the Documentation already, without luck
    s
    • 2
    • 2
  • w

    wide-wolf-99519

    01/20/2021, 10:27 AM
    it seems that I was asking wrong question before, I want to configure a create an external api client instance and put it in a container so that it would be accessible by both yves and zed what would be the best place to do that? I've tried doing that in Pyz/Client/ but it seems that container used there is not acessible from yves?
  • l

    late-oil-50726

    01/20/2021, 1:18 PM
    Hi there, is there any reason for
    All the factory methods should be public by default
    in the architecture sniffer settings? https://github.com/spryker/architecture-sniffer/commit/48cd48b51ad1709474c7af791acee068a56747c1# We havent't come to any conclusion yet what this should be helpful with. As a sidenote, spryker obviously doesnt comply with this rule as well - or do we interprete this totaly wrong? 😉
  • m

    mammoth-painting-63509

    01/20/2021, 1:52 PM
    Is there already a mechanism for clearing the
    spy_process_result
    table or should we do this on our own? We have some rows there, that are older than a year and the table contains >400.000 rows so far.
  • s

    silly-motherboard-93855

    01/20/2021, 2:21 PM
    follow up to my question from: https://sprykercommunity.slack.com/archives/CKJRJM5FG/p1611062026029800 downgrading spryker/shipment to 8.5.0 (from 8.6.0) made the totals finally have the prices from the deliverypriceplugin. Can anybody help me understand why ? 🙂
    a
    • 2
    • 2
  • s

    silly-motherboard-93855

    01/20/2021, 2:23 PM
    in theory changes https://github.com/spryker/shipment/compare/8.5.1...8.5.2 are backward compatible with priceplugins following the old interface, but that doesn't seem to be true.
    a
    • 2
    • 4
  • s

    silly-motherboard-93855

    01/20/2021, 2:25 PM
    sorry to call you in @average-branch-45579 but you maybe have some idea what else I'm missing here?
  • g

    glamorous-salesmen-23019

    01/20/2021, 3:15 PM
    While upgrading to Spryker
    202001
    , we apply split shipment. Now, if we go all the way down from
    SalesFacade:saveSalesOrder($quote, $saveOrder)
    , we end up in the
    SalesOrderSaver
    where we have to get the ShippingAddress directly from the quote before persisting the order, but this is deprecated:
    Copy code
    protected function hydrateAddresses(QuoteTransfer $quoteTransfer, SpySalesOrder $salesOrderEntity)
        {
            (...)
            if ($quoteTransfer->getShippingAddress() !== null && $quoteTransfer->getShippingAddress()->getFirstName() !== null) {
                $shippingAddressEntity = $this->saveSalesOrderAddress($quoteTransfer->getShippingAddress());
                $salesOrderEntity->setShippingAddress($shippingAddressEntity);
            }
        }
    Is there a way to avoid this?
  • a

    ancient-apartment-59274

    01/20/2021, 3:30 PM
    Hello, does anybody know if the computop spryker integration is tested with the current 2020.09+ spryker versions? On git it seems that there are changes ongoing the last months but i also found at least two places where it seems to work with the version before but does not work anymore with the current version (with the current b2b-demo shop at least). Any ideas? Does somebody run computop in a recent spryker version? Best regards
    c
    • 2
    • 2
  • e

    early-art-81990

    01/21/2021, 11:44 AM
    hi. question regarding gdpr .. is there any best practise how to deal with customer requests that wish information about their personal data or even want to have them deleted? seems that there is nothing on the roadmap. only individual solutions? thanks in advance
    a
    c
    • 3
    • 6
  • a

    astonishing-lamp-41374

    01/21/2021, 5:21 PM
    Heya, is there a good example somewhere of a middleware build? maybe in the core zed namespace? https://documentation.spryker.com/docs/spryker-middleware#how-the-middleware-works
    a
    • 2
    • 6
  • m

    modern-midnight-49232

    01/22/2021, 9:43 AM
    Creation of super-attributes after product import Hey everybody, we are working on an automatic product import from a third-party source into Spryker, right now. To simplify our import logic more, we would like to create (super-)attributes (via ZED or programmatically) right after the import of a product.   This works really nice for the display of product attributes. But for the product configurator functionality, the later added attributes are missing, or the attributes are not connected to the product. Is there some kind of functionality with which we can rebuild the data structure of the product configurator? Thanks in advance, Jonas
    p
    • 2
    • 3
  • e

    echoing-notebook-55206

    01/22/2021, 10:46 AM
    Quick question: I have a customer who has two company users assigned to them. Let's say the companies are named Company A and B. After authenticating the customer, I do a GLUE API call to /company-users?include=companies. As expected, the result includes two records of the type "company-users" with the correct IDs. However, in the relationship part of those records, both company-users point to Company A, even though one of the company-users is associated with Company B. This seems like an error, can anyone advise?
    👀 2
  • w

    wide-wolf-99519

    01/22/2021, 11:15 AM
    why does spryker/publisher-extension require spryker/event only as a dev requirement when PublisherPluginInterface clearly extends EventBulkHandlerInterface?
    i
    p
    • 3
    • 7
1...303132...102Latest