-
I am getting exception while trying to get product with this API http://glue-backend.de.spryker.loca
Propel\Runtime\ActiveQuery\QueryExecutor\QueryExecutionException - Unable to execute statement [SELECT spy_product_abstract.id_product_abstract, spy_product_abstract.fk_tax_set, spy_product_abstract.approval_status, spy_product_abstract.attributes, spy_product_abstract.color_code, spy_product_abstract.new_from,…
-
I am facing error while running codecept run tests after migrating spryker to latest version
So, I have verified the codeception.yml files as such but I am not sure about how to fix this. so, if anyone have idea about this help me out
-
Add Asciifolding filter search to ElasticSearch
Hey here, For our catalog search, we need to ignore accents. I can easily add the fuzzyquery filter to my search, but I don't have relevant result. I think, the perfect filter should be the Asciifolding, but it seems not to be implemented. How could I add this native ES filter to my Spryker project?! Thank you for all!
-
Is there an easy way to configure post build actions for Jenkins jobs via code?
Without a way for doing so, any such actions need to be set up manually again after each instance restart/regeneration. It would be nice if this chore could be avoided. As I see, this is not possible via the jenkins php file, although that would be the simplest. Or am I missing something…? (I hope, otherwise custom…
-
Type hinting in PHPStorm for transfer object collections
Hello community! Recently on our project we've updated the `spryker/transfer` module, including this version: In the changelog, it says: Adjusted docblock type hint for the collection using generic syntax ArrayObject<Object> instead ArrayObject|Object[]. This improvement makes sense to me, but PHPStorm does not support…
-
Glue API access-token and token endpoints
Hello all, I've been looking into the API specs of Spryker and I found that there are two types of toek requesting endpoints, one is '{{baseUrl}}/access-tokens' and another one is '{{baseUrl}}/token'. I couldn't make the latter work as well, tried a few options for passing the arguments and headers, but no luck. I would…
-
unable to call guest cart glue api in b2b marketplace demo shop
http://glue.us.spryker.local/guest-carts
-
main domain over multiple AWS instances (regions) and Geo DNS
Hi! Does anybody has experience with following requirements: shop.customer.com/country1/language1 → points to store in AWS region in Australia for example shop.customer.com/country2/language1 → points to store in AWS region US-east shop.customer.com/country3/language1 → points to store in AWS region US-east as well…
-
Bug: Twig cache warmer does not respect twig files on (second) project level
Hello everyone! I have a problem with the console command to warm up the Twig caches. Console twig:cache:warmer This command doesn't seem to respect our project structure as it should. structure src <OurProjectNamespace> … Yves … Pyz … Yves … Every time we use the command "console twig:cache:warmer", a file…
-
Trigger command from backoffice
Hi team, I need to trigger a data export command from the back office, but I'm not sure how to do it. The command works fine in Jenkins, but I need to run it from the back office.
-
How to add a deploy key.
Hi Team, I have a private composer github repository that are configured with deploy key (can be access using deploy key). I have that deploy key, now I am not sure how to add that deploy key with my current spryker b2b marketplace setup. Where can I add this information in my yml files. If someone could provide any…
-
Having 403 Forbiddon error while saving manage attribute in product backoffice on server?
When we go into product section in backoffice we have manage attribute in which we can assign and update attribute values in product but when i click on Save button that ajax request comes with 403 Forbiddon error . That error is only occures in Production Environment but in local there is not any error .How can i solve…
-
Is default Bcc is broken ?
Hi team, I am using the default Spryker mailer and trying to set the BCC email, but it is not being set. Can anyone confirm if the default code should work fine, or is there something specific I should check? I have debugged, and my BCC email is being set, but it does not appear in the headers. Thanks!
-
notification icon on order in navigation merchant portal
How can we implement notification for navigation in merchant portal. We have a scenario. Let say 5 new order is created so we want to show 5 in order tab in navigation. Please suggest.
-
Facing issue in creating custom index in Elastic Search
Hello Team, Following this document(, we are trying to create new custom index in Elastic Search. But not able to get it. Please suggest.
-
Monitoring Backend and Storefront Glue
Hi, is New Relic monitoring not possible for backend and storefront Glues or do I have something misconfigured? From my code digging it looks like the monitoring functionality is tied to the event dispatcher, and seems that in \Spryker\Glue\GlueApplication\ApiApplication\ApiApplicationProxy::run if the application is…
-
Shipping Prices After Discount
We have multiple shipping methods with different prices. There is a cart rule in place that says, customer should receive free shipping when order amount is greater than X. When we provide the data to the front-end using GLUE checkout-data endpoint, there are all shipping methods with their prices in the response. The…
-
sync:data doesn't work in an edge case
If getSynchronizationDataQueryExpanderStrategyPlugin() returns the "WhereBetween" plugin as it does in spryker-suite: and the auto-increment id in spy_product_abstract_page_search and/or spy_product_concrete_page_search doesn't start from zero (or technically between 0 and chunk size), then sync:data product_abstract and…
-
Unable to open Store and Backoffice in local host.
Hi, After updating spryker using "compose update", frontstore and backoffice are not working under spryker.local Frontstore: Backoffice:
-
Where do Jenkins job logs go?
I don't know if I'm missing something again, but seems I cannot find logs created during Jenkins job runs anywhere in Cloudwatch. In the Jenkins UI I can of course see the console output and stuff per run, but doing like $this→getLogger()→error("stuff") in job code doesn't send anything to Cloudwatch.
-
Creates agent's access token issue
I'm trying to generate a token for an agent user but it gives an exception Undefined array key "customer_reference" during mapping customerIdentifier to RestUserTransfer /agent-access-tokens $customerIdentifier = $this->utilEncodingService->decodeJson( $oauthAccessTokenDataTransfer->getOauthUserId(), true, ); // this is…
-
I have used command docker/sdk console cache:empty-all to clean up the Sample Spryker B2B shop Data
Hello All, I have used command docker/sdk console cache:empty-all to clean up the Sample Spryker B2B shop Data. The data is cleared from the storefront. However, still it is present in the Spryker Backoffice. How can I get rid of it ?
-
FYI: symfony/filesystem version 6.4.7 breaks some console commands
For example propel:install fails with ErrorException - Exception: fileperms(): stat failed for /data/src/Orm/Propel/Schema//spy_acl.schema.xml This is because of using the STFU operator @ to silence fileperms() in vendor/symfony/filesystem/Filesystem.php:689 and from what I understand, Spryker's error handler doesn't like…
-
How to retrieve the checkout summary "/checkout/summary" via glue
I'm trying to find a way how to get the cart summary overview "/checkout/summary" via glue. Art their any endpoints?
-
How to use the default address when post checkout data via glue
Hey spryker, Your example "Request sample: submit checkout data with a split shipment and addresses passed as IDs". Does not work. The Response ist always: { "errors": [ { "code": "901", "status": 422, "detail": "shipments.0.items => This field is missing." }, { "code": "901", "status": 422, "detail":…
-
Facing issue while creating a "Custom component" in Spryker B2B demo shop
Hi All, I am creating a custom component in B2B-Demo-Shop and have followed the document linked below to complete the task. However, I am facing some issues. Please review the attached screenshot and help me resolve this issue. Document Link: Creating Components Screenshot: Below is the content of my twig file for your…
-
A voucher code used by multiple user but each customer uses the code once.
Is it possible to have one discount code used by multiple customers say 10, but each customer uses the code once? I have checked the Spryker documentation as well as Backoffice discount. I did not find any relevant setting for that. We are using b2b marketplace.
-
Backend Gateway not working on Local Environment
Hello Team, We are calling backed gateway but unable to complete my request. Getting below error. "Spryker \ Shared \ ZedRequest \ Client \ Exception \ RequestException (500)Failed to complete request with server authority http://backend-gateway.de.spryker.default.local. Configured with (SSL Disabled)…
-
Override Form Using Plugin
Hello Team, I want to add new field in this from class "/vendor/spryker/product-attribute-gui/src/Spryker/Zed/ProductAttributeGui/Communication/Form/AttributeForm.php" using plugin concept. Tell me the steps how can we achive this?
-
How can I quickly move CMS and catalog data from Spryker development to production?
Hi Team, I have completed my development in Spryker and need to export my CMS and catalog data to my newly set-up production server. Does anyone have suggestions or know of a fast solution for moving data from the development environment to production? Thanks.