-
Hreflang for separated store setup
For optimizing SEO, we would need a "hreflang" reference for a product detail page, pointing to the same product on (any) other existing language. E.g. a PDP for abc.shop.de/product/1234 would contain something like <link href="abc.shop.fr/product/1234" hreflang="fr_FR"> <link href="abc.shop.es/product/1234"…
-
Get Referer after login
Hello, Currently on our app, we are redirected on a defined page (for the example let's say /landing-page ) after login, whatever the link (for example /whatever-category/random-product ) which brought us on the website. So if someone wants to share a link "www.mywonderfulplatform.com/whatever-category/random-product". I…
-
How to run swagger URL for US locale
By Default Swagger is running for DE locale, how can we run it to US locale
-
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
curl --location --request GET 'http://glue.us.spryker.local/guest-carts' \--header 'X-Anonymous-Customer-Unique-Id: 164b-5708-8531' using above giving 404 not found , using b2b market place demo shop in local instance. { "errors": [ { "status": 404, "detail": "Not Found" } ]} any one please help me out , how to enable cart…
-
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.
-
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.