hallowed-coat-68810
01/13/2021, 11:00 AMsilly-motherboard-93855
01/13/2021, 11:18 AM$quote->setItems($objectItemsArrayOld);
$objectItemsArray->append($itemTransfer);
$cartChangeTransfer->setQuote($quote);
$cartChangeTransfer->setItems($objectItemsArray);
$quote = $zedcart->addValid($cartChangeTransfer);
I get:
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 allwide-wolf-99519
01/13/2021, 2:30 PMicy-sundown-8018
01/13/2021, 4:30 PMnode-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?gentle-vegetable-74963
01/14/2021, 8:57 AMsearch 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.quick-summer-4393
01/14/2021, 9:32 AMjolly-night-88032
01/15/2021, 1:14 PMSpryker\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.mysterious-king-59256
01/15/2021, 3:08 PMmountCallback
method, but then subcomponents are not initialized. Is there any 'Spryker way' for cloning custom components?echoing-notebook-55206
01/18/2021, 11:45 AMwide-wolf-99519
01/18/2021, 1:17 PMminiature-glass-12886
01/18/2021, 3:32 PMclever-lock-98656
01/18/2021, 3:33 PMhallowed-coat-68810
01/18/2021, 4:10 PMprotected 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.silly-motherboard-93855
01/19/2021, 1:13 PM$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)
$addressTransferShipping = new AddressTransfer();
$addressTransferShipping->setIso2Code($shippingAddress['countryId']);
$quote->setShippingAddress($addressTransferShipping);
$zedcart = new CartFacade();
$responseQuote = $zedcart->validateQuote($quote);
but the price seen in
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
$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?numerous-ghost-43588
01/19/2021, 2:11 PMwide-wolf-99519
01/19/2021, 3:12 PMblue-continent-9575
01/20/2021, 8:24 AMwide-wolf-99519
01/20/2021, 10:27 AMlate-oil-50726
01/20/2021, 1:18 PMAll the factory methods should be public by defaultin 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? 😉
mammoth-painting-63509
01/20/2021, 1:52 PMspy_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.silly-motherboard-93855
01/20/2021, 2:21 PMsilly-motherboard-93855
01/20/2021, 2:23 PMsilly-motherboard-93855
01/20/2021, 2:25 PMglamorous-salesmen-23019
01/20/2021, 3:15 PM202001
, 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:
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?ancient-apartment-59274
01/20/2021, 3:30 PMearly-art-81990
01/21/2021, 11:44 AMastonishing-lamp-41374
01/21/2021, 5:21 PMmodern-midnight-49232
01/22/2021, 9:43 AMechoing-notebook-55206
01/22/2021, 10:46 AMwide-wolf-99519
01/22/2021, 11:15 AM