-
sync.search.product timeout on rabbit mq
Hello guys, I am facing a timeout issue [2023-10-26T08:09:26.253222+00:00] Zed.CRITICAL: PhpAmqpLib\Exception\AMQPChannelClosedException - Channel connection is closed. in "/data/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AMQPChannel.php::1565" {"exception":"[object]…
-
Persist a product using code
I pass a payload via URL containing th sku of the product and a name for example, I want to query to product table for the product with that sku update the name and save the product any Idea how to do this simple task taking also the store in consideration ?
-
Product-Relation Update taking very long
Hello fellow Sprykees, we are currently investigating an issue in a customer-project. The Jenkins job "product-relation:update" is taking ~11 hours, up from was previously ~5 hours, which is still a long runtime considering no problems in other projects. The command wasn't overwritten, other than 2 indexes on…
-
Product validity table cleanup
\Spryker\Zed\ProductValidity\Persistence\ProductValidityQueryContainer::queryProductsBecomingInvalid queries db table spy_product_validity for items that are valid_to < now. But is this table ever cleaned up anywhere? From what I can tell, the check-product-validity Jenkins job runs every hour (or whenever it's set up to…
-
Global Dependency Provider is not used in tests
Hi, We moved some dependencies to a Global Dependency Provider as documented by spryker here . This works fine. But when exeucting tests codeception does not recognize the dependencies registered in the Global Dependency Provider. The first assumption was that it just needs to be registered in yet another Class which uses…
-
Is it possible to enable RDS connection encryption in Spryker PaaS?
We are getting a requirement to enable the encrypted connection. I don't see any obvious settings or docs, but I see it would pe possible to provide 'options' to PDO. Would it be acomplishable in default spryker PaaS out of the box (just changing project code)? Or would we need to have infrastructure setup?
-
How to half the size of your Spryker vendor directory
I had a bit of a shock today while checking the size of our Spryker install. Naturally the vendor directory was the biggest but one particular module stands out: du -sh vendor/spryker 395M vendor/spryker du -sh vendor/spryker/chart 173M vendor/spryker/chart Unless I'm looking at this wrong, the chart module is nearly…
-
Spryker Upgrader
Hi, i try to install the Spryker Code Upgrader but i get an error with package conflicts. Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires spryker-sdk/upgrader dev-master -> satisfiable by spryker-sdk/upgrader[dev-master]. - spryker-sdk/upgrader dev-master…
-
Customer specific product discount
What would be the spryker way to get a discount price for a specific customer?
-
I want to export sales order data of a particular previous date.
Actually we have scheduled job that export the order data in csv daily , all of them works very well but sometime due to deployment time clashes or xyz issue, csv of particular day would not get generated and it lead to a problem to our sales person. Our sales or business owner want such provision in which we can generate…
-
Moved: How to Implement the steps to complete the certification for spryker B2C?
This discussion has been moved.
-
How do change the Order ID format i.e., DE--1 to some unique like DE-231017-1?
Hello Team! I need to change the order id format i.e. DE—1 to some unique particular format like DE-231017-1 Could you please help me how to accomplish it? Thanks, Jitesh Sinha
-
Product is searchable feature
Team where can I see the documentation to implement and utilize is_searchable flag in spy_product_search
-
Maintenance page
Hi Everyone, I have activated the maintenance page, and I am having trouble with login. Does anyone know what the problem might be? I am getting some error Yves.CRITICAL: Spryker\Shared\ZedRequest\Client\Exception\RequestException - Failed to complete request with server authority https://backend-gateway.beta
-
How to create buttontransfer entity while using CustomerTableActionExpanderPluginInterface?
Hi team! I am working on spryker plugin where I am using CustomerTableActionExpanderPluginInterface to adding the button in table view into the backoffice, public function execute(int $idCustomer, array $buttonTransfers): array{ // hre the buttontransfer getting expanded into the Communication/Table/SomeTable::class // But…
-
Tests Failed to connect to 0.0.0.0 port 4444 after 0 ms: Couldn't connect to server
Hello everyone. I'm trying to run tests for CmsGui, ProductRelation and Tax. Unfortunately, the result for all three is the same: [Facebook\WebDriver\Exception\Internal\WebDriverCurlException] Curl error thrown for http POST to /session with params:…
-
Got codeception errors after a new B2C marketplace demo.
I have installed the current B2C marketplace demo. After running codeception in the container, I got several errors. Did I forget to set something? The shop seems to run perfectly. ERRORS! Tests: 215, Assertions: 350, Errors: 7, Failures: 20, Skipped: 20. I could list all the details of the errors, but that would go beyond…
-
How to change the backoffice logo?
Hello everyone, i am working on B2B demoshop and i want to change the backoffice login page logo and dashboard logo but i am unable to locate the file path!
-
Limit results for PaginatedCustomerOrderOverview
Hi all, I´m trying to add a limit (first 5 orders sorted by date) on the PaginatedCustomerOrderOverview within Pyz/Yves/CustomerPage/Controller/CustomerController.php. It seems that it ignores every type of limit, whether it is on the orderListTransfer or the orderQuery itself. Is there a way to apply the rowlimit with…
-
Expired voucher codes in Order calculator stack
The order calculator stack is run when doing e.g. returns In the DiscountCalculationPlugin, this method is run: \Spryker\Zed\Discount\Business\Calculator\Discount::retrieveActiveCartAndVoucherDiscounts Here it's only retrieving vouchers that are currently active. So, if the order was placed with a then-active voucher code…
-
Where to put generalized logic
Hi all, are there any best practices for generalized logic? Specifically, I am currently interested in creating custom exceptions that also accept context information in addition to the simple message andcode. In the next step, I would like to extend the error handling to log that context information to improve our error…
-
Do I need to keep DateTimeConfiguratorPageExample module or I can safely delete it?
Background of it is that it creates me an invalid url in Content-Security-Policy if variables for product configurator are not set. And I saw that removing of it helps. Can anyone clarify?
-
How to: Solve "curl error 55" and "returning bool from comparison function is deprecated"
Heyhey, in the last weeks there are more and more questions about an exception while doing composer commands. It is normally about the "curl error 55" exception, for example: curl error 55 while downloading https://repo.packagist.org/p2/spryker/cms-block-gui-extension~dev.json: Failed sending data to the peer If there is…
-
How to import(via csv) custom field(placeholder) in custom CMS Block?
i have created a custom CMS Block and inside it placeholder named "image". In cms_block.csv there is no such placeholder in csv header, but if i add it and properly enter data it is not stored in db after running import. Is is possible to import custom placeholder via csv? and tutorial or documentation on that tomic?
-
Need to experiment the concept of ACP
Hello guys, I attended the Spryker excite 2023 event and it was very interesting to watch the live demo of ACP in the developer stage. So I was trying to check it in my local just to get to know more about ACP and trying to connect some third party apps to Spryker. But I got to know from the documentation that I need to…
-
Uploading file to file manager seems to be broken
I tested out this feature locally on latest version + on the b2b demo page. When I upload a file to the folder I get redirected back to the file manager page with an empty error message
-
ZedError-Call to undefined method Generated\Shared\Transfer\StoreTransfer::setDefaultLocaleIsoCode()
Hello, Recently i updated spryker using composer update command. Now i am facing this error while opening the backoffice. Can anyone tell me how can i fix this??
-
How to customise WYSIWYG bar in placeholder content?
Is it possible to restrict some buttons/options in WYSIWYG editor? for example: Remove html button, or remove bold button.
-
How to create custom Content Widget?
I would like to have an additional content item like "Content Banner" in WYSIWYG dropdown. is it possible to create such custom items in Backoffice and Yves? How? The idea is to dynamically pass all data displayed on the frontend and make life easier for content editors.
-
How to properly handle news?
Is it possible to add a separate section (something like pages or products) to store/edit all news on one place? What would be the best approach to handle news? The requirement is to be able to add some categories to each news post.