sparse-fall-78248
04/09/2020, 5:53 AMancient-apartment-59274
04/09/2020, 12:11 PMlittle-secretary-81579
04/10/2020, 10:14 AMwitty-airline-10433
04/13/2020, 10:48 PMfull-rocket-52349
04/14/2020, 12:40 PMgreen-motorcycle-81841
04/15/2020, 8:57 AMwitty-airline-10433
04/20/2020, 9:24 AMwitty-airline-10433
04/20/2020, 11:21 AMsparse-kangaroo-34355
04/21/2020, 6:23 AMglamorous-quill-49387
04/21/2020, 10:54 AMconst API_PLP_ROUTE = '/api/product';
const API_PDP_ROUTE = '/api/product/{hashedProductAbstractId}';
const ROUTE_PLP_NAME = 'api-product';
const ROUTE_PDP_NAME = 'api-product-detail';
/**
* @param \Silex\Application $app
*
* @return void
*/
protected function defineControllers(Application $app)
{
$this->createController(self::API_PLP_ROUTE, self::ROUTE_PLP_NAME, 'ProductApi', 'Index', 'index');
$this->createController(self::API_PDP_ROUTE, self::ROUTE_PDP_NAME, 'ProductApi', 'Index', 'index');
glamorous-kite-16163
04/22/2020, 9:49 AMphilipppaul@YODA:/b2c-demo-shop$ docker/sdk bootstrap deploy.dev.yml
mkdir: cannot create directory 'docker/deployment/_tmp': Permission denied
philipppaul@YODA:/b2c-demo-shop$ sudo docker/sdk bootstrap deploy.dev.yml
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Docker version 0 is not supported. Please update docker to at least 18.09.1.
If I run the command without sudo, I get "permission denied". If I use sudo, it tells me docker deamon may not run. I guess it's a problem with user access rights.
I would be very happy if someone could help me out here! 🙏sparse-kangaroo-34355
04/22/2020, 10:30 AMApplicationConstants::HOST_YVES
? I am at a point where my shop needs to be accessed from another URL, too (myshop.com for usual, now I need shop.newdomain.com).aloof-electrician-43662
04/22/2020, 2:20 PMprotected function addSearchClient(Container $container)
{
$container[static::CLIENT_SEARCH] = function (Container $container) {
return $container->getLocator()->customSearchModule()->client();
};
return $container;
}
now i want showing results in my custom search result page, where should I add it,
I have my custom module in
src/Pyz/Client/CustomSearchModule
and
src/Pyz/Yves/CustomSearchModule
but i can't see no correlation to showing results in my custom page,
and data goes from:
src/Pyz/Yves/CatalogPage/Theme/default/templates/page-layout-catalog/page-layout-catalog.twig
and for example i want show results from:
src/Pyz/Yves/CustomSearchModule/Theme/default/templates/my-view.twig
in brief: i must create view to showing results from searchcrooked-house-89121
04/23/2020, 8:23 AMwide-easter-55589
04/23/2020, 5:00 PMearly-art-81990
04/23/2020, 6:38 PMwitty-airline-10433
04/24/2020, 8:37 AMrhythmic-microphone-10950
04/24/2020, 11:17 AMglamorous-kite-16163
04/24/2020, 12:22 PMwide-easter-55589
04/25/2020, 5:31 PMsparse-kangaroo-34355
04/27/2020, 8:14 AMManufacturer
== "Apple"?ancient-apartment-59274
04/28/2020, 7:43 AM"data": {
"type": "carts",
"id": "c317c11b-a342-53ce-8831-63189dc02122",
"attributes": {
"priceMode": "GROSS_MODE",
"currency": "EUR",
"store": "DE",
"totals": {
"expenseTotal": 0,
"discountTotal": 0,
"taxTotal": 1596,
"subtotal": 9999,
"grandTotal": 9999
},
"discounts": []
},
"links": {
"self": "<http://glue.de.spryker.local/carts/c317c11b-a342-53ce-8831-63189dc02122>"
},
"relationships": {
"items": {
"data": [
{
"type": "items",
"id": "002_25904004"
},
{
"type": "items",
"id": "002_25904004"
}
]
}
}
},
...
As you can see, relationships for a concrete product appears twice. I found out, that the relationship plugins gets applied twice but for the first time it can be avoided by setting a flag called
ALLOWED_CART_ITEM_EAGER_RELATIONSHIP
to false.
1. What exactly is the information in the relationships sections for?
2. Why the plugins get applied two times?
3. What is the general purpose of that eager loading mechanism?
4. Shouldn’t the items be grouped together?
Thanks a lotmysterious-king-59256
04/29/2020, 7:51 AM0
1
translated to no
yes
. In elasticsearch and even in zed’s spy_product_abstract
table this attribute is saved with translated yes
value, but i need raw values in yves to check if it’s true or not.fast-gpu-10437
04/29/2020, 10:25 AMzend_extension=xdebug.so
xdebug.profiler_enable=1
xdebug.trace_enable_trigger=1
xdebug.profiler_enable_trigger=1
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.remote_host=${SPRYKER_XDEBUG_HOST_IP}
xdebug.remote_port=9000
xdebug.profiler_output_dir=/tmp/xdebug/profiler
xdebug.trace_output_dir=/tmp/xdebug/trace
# This is needed to prevent max recursion exception when Twig templates are very complicated
xdebug.max_nesting_level=1000
I'm using Docker environment. The containers are started with -x, but in CLI container, /tmp directory stays empty. Any ideas?ripe-librarian-883
04/29/2020, 1:48 PM"spryker-eco/braintree"
module (version: 3.0.0) for payment processing and have found a possible issue.
First some background: we have a custom checkout and are currently trying to catch errors by plugins which do not set is_successful flag to false in case of error (as some other plugins in the checkout/placeOrder process, like BraintreePreCheckPlugin plugin) by adding an additional check for errors (error count > 0) in CheckoutResponseTransfer.
The issue: we found a CheckoutWorkflow postSaveHook plugin (in detail: "BraintreePostSavePlugin"), which could possibly prevent order placement by adding an error to the CheckoutResponseTransfer (it does not set is_successful flag to false).
1) Why ist an error possibly created (in BraintreePostSavePlugin) after the order was saved? The question is: how to react to this error? We possibly have a valid saved order in this moment, but we can not say: "Thanks for your order, but your payment has failed."
2) The implementation is maybe incorrect. It looks for a PaymentBraintreeTransactionStatusLogTransfer instance AND code != ApiConstants::PAYMENT_CODE_AUTHORIZE_SUCCESS (1000). This check only matches an entry with wrong code, but what about missing status-log entry? Does "no status-log entry" mean no error?
https://github.com/spryker-eco/braintree/blob/master/src/SprykerEco/Zed/Braintree/Business/Hook/PostSaveHook.php (no changes here atleast since 3.0.0)
Thanks for any help!many-continent-24692
04/29/2020, 3:09 PMvoid
from a GatewayController ? or rather, do we have to create a transfer object even if the action is a notification?clean-glass-99425
04/29/2020, 4:48 PM{{ product(['sku1', 'sku2']) }}
in your CMS page I guess the resulting HTML will be added to the page and the whole thing goes into the redis cache. But this means the cach has to be invalidated if the product data changes. I can't find any cache tags mechanism. So how will spryker know what to invalidate if the product changes?little-secretary-81579
04/30/2020, 6:58 AMagreeable-dawn-36295
05/04/2020, 9:20 AMglamorous-kite-16163
05/04/2020, 12:57 PM