-
How you deal with test coverage in your project. E2E, functional, unit, so on.
Hello dear community! Let's have some test automation related discussion to share your best practices. As everyone knows that every feature should be tested. In Spryker we follow concepts of TDD To balance between full test coverage and development speed I usually prefer to fit implementation process with agile testing…
-
Extending query from spryker/vendor to pyz
Hi Team, I am trying to add an extra column in the spyOmsOrderItemStateHistory table while changing the state from the backoffice. I discovered that entries for this history table are internally generated from the spySalesOrderItem. The issue seems to stem from a call generated by ORM, specifically invoking the method…
-
Error Related to Session During Checkout with SSO (OKTA)
Hello Team, We are encountering an error during checkout related to session handling. We are using SSO through OKTA, and the error log we are seeing is as follows: Uncaught exception 'Spryker\Shared\SessionRedis\Handler\Exception\LockCouldNotBeAcquiredException' with message…
-
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…
-
How to add custom drop down filed to cms page back office form
How to add custom drop down filed to cms page back office form Any one help me on this.
-
Is it possible to extend the redis-key
I want to extend the category_node_storage by a "stock" column that should be written to the key-value of redis. category:store:locale:stock:fk_category_node It works as intended, but the propel:schema:validator throws this message: Since vendor spy_category_node_storage.xml has fk_category_node as key_suffix_column. Whats…
-
how to show all product in merchant portal product section which are not related to loggedin merchan
In merchant portal we shows product list for edit which is related to merchant only , i want to show all the product which is assigned to that merchant or not , how can i show all product, i tried to remove idMerchant filter but it gives the result same there is not any chnages in that. I saw that it works based on login…
-
Having issue in merchant user creation
Hi team, I'm encountering an error while creating merchant user from merchants->merchantEdit->add merchant user . (this issue occurs sometimes not always) Error : "Uncaught exception 'ValueError' with message 'Bcrypt password must not contain null character'" when using the following function: password_hash($password,…
-
Personalizing the homepage based on customer groups
Hi everyone, I'm working on personalizing the homepage based on customer groups using the CMS, but I'm running into a challenge. Specifically, I'm trying to get the customer group data and use it to conditionally render content in the CMS templates. What would be the best approach to pass the customer group data and match…
-
Wishlist Items not returning product attributes data ?
Hi, we have added concrete items to wishlist, and when retrieving the data them its not returing the products attribute in Included section, data is already in backend for the products. can anyone please guide me , where i am missing anything ?
-
Tax is not included in grand total
Tax is not included in grand total any one help on this
-
Need to merge guest cart quote items to customer active cart quote while logging
Need to merge guest cart items to customer cart while logging from guest to customer, currently its adding guest cart items as separately added to customer cart. Can we merge guest cart items to customer active cart? any one please help me with this issue.
-
how to change order prefix in spryker
how to change order prefix in spryker any one please suggest how to change the order prefix.
-
Data Import from s3 bucket is not working
We've configured data import from s3 bucket, we're following this links to prepared configuration to import from s3 bucket (https://docs.spryker.com/docs/ca/dev/configure-data-import-from-an-s3-bucket.html#configure-the-s3-bucket-filesystem). our yml configuration is like below - data_entity: combined-product-abstract…
-
All routes redirected me to /login route
Following the upgrade to the latest version of the B2B demo shop in 202311, every route redirects to the login route, subsequently resulting in an ERR_TOO_MANY_REDIRECTS error. Additionally, I am unable to access any pages while in anonymous mode.
-
Clarification about creating a new mapping
Hey We already have a mapping(for products -OOTB) from sku→id_product_concrete/id_product_abstract and if we want to have one more mapping for product name→id_product_concrete/id_product_abstract, How can this be achieved without overriding the product storage module class,creating a new parameter mapping like…
-
Use Data Exchange Api to create a product - page_search entries missing
Hello, I'm currently trying to import products via the Data Exchange Api. I'm using this list of requests to create the product abstract and the one concrete: POST /dynamic-entity/product-abstracts POST /dynamic-entity/products POST /dynamic-entity/product-abstract-localized-attributes POST…
-
How to create a navigation only in merchant portal which not reflect in backoffice ?
Hello All I am creating a navigation into merchant portal as per documentation crating new navigation in config/zed/navigation.xml in that way : But the navigation shown into merchant portal and backoffice both. I only want to show only in merchant portal.
-
PreAuthUserCheckPlugins not executed anymore current demo shop?
Hello, I'm trying to execute some custom logic to verify customers prior to login. The interface \SprykerShop\Yves\CustomerPageExtension\Dependency\Plugin\PreAuthUserCheckPluginInterface seems to be the right fit, and I remember that we enabled a plugin at some point in the project…
-
OMS timeout API inconsistency
So, I was doing some micro-optimizations and noticed that: \Spryker\Zed\Oms\Business\OrderStateMachine\Timeout::dropOldTimeouts works differently than \Spryker\Zed\Oms\Business\OrderStateMachine\Timeout::dropOldTimeout where dropOldTimeout (singular) checks if the source state has a timeout event and drops it if it does,…
-
Custom discount module
Hi, I am working on the Annex Cloud Loyalty project where on successful order customer get loyalty points. I have to create a custom discount module with consume the loyalty points based to the loyalty calculation it reduces the cart amount which should be apply loyalty point discount. Please help me…. It'll be highly…
-
ERR_TOO_MANY_REDIRECTS while upgrading 202212.0 to 202307.0
This question is related to this topic where @M.abdallah has the same issue. It's not said how the issue was solved, so I would like to have some help about this. So, my issue is after having replaced deprecated SecurityPlugins by the new YvesSecurityPlugins and ZedSecurityPlugins, I could avoid the error…
-
Tip: Updating Elasticsearch synonyms list on-the-fly
So it came up that many Spryker customers wish there was a backoffice GUI for maintaining a synonyms list for the site search. Well there isn't, but technically it's a relatively simple operation: // Get index $index = $this->client->getIndex($this->indexName); // Close index $index->close(); // Update settings…
-
The option "constraints" does not exist.
Hello here, I've just upgraded my app from 202212.0 to 202404.0 thanks to upgrader tool (and the doc…). I'm now able to build my app with no issue, but when I go to the shop, every form throw this UndefinedOptionsException about 'constraints' option. If I comment the constraint option in forms, the form can be displayed.…
-
Default error levels
Hi, is there a reason the default error levels are: $config[ErrorHandlerConstants::ERROR_LEVEL] = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED; $config[ErrorHandlerConstants::ERROR_LEVEL_LOG_ONLY] = E_DEPRECATED | E_USER_DEPRECATED; Mostly since that also includes E_WARNING which is, you know, just a warning, but now throws…
-
Impersonating Agent and Customer log out each other
Hi fellow Devs 👋 I noticed, that an agent that is impersonating a customer is being logged out if the customer logs in. Also the other way around, a customer is being logged out if an agent impersonates this customer. (Tested with current master) This seems to be related to…
-
How Logout functionality works for all portal in b2b marketplace , and how can be customize it.
I am using Okta SSO , for login into portal , when i logout backoffice so i want to logout okta session too so i have to hit another URL for logout so bacisaclly i want to customize logout functionality , i didn't get any handeler or plugin like authenticationSuccessHandler, so whene that log out code is , how can i…
-
Glue Backend Request Validation
Hello everybody, is there a way to validate a request to the glue backend api in the same way that is described for the storefront api here ?
-
How can I get concrete products on catalog page instead of abstracts?
We want to show first available concrete product on catalog page. Therefore, currently we are fetching abstract data from algolia/elasticsearch. How can we adjust that?
-
Order Confirmation Mail Notification
Hi All, I'm facing an issue related to order mails. I'm receiving account related mails, like customer registration and forgot password. But, I'm unable to receive any mails for order processing, not even for order creation. Can anyone help me out?
-
how can create new custom module in merchant portal also add navigation in this ?
Hello Team Hope this message finds you well, Currently i am working on an issue in merchant portal i want to create a new module in merchant portal and add navigation for in merchant portal for custom development . I created a module and follow documentation for creating module in merchant portal also add one navigation in…