Saleor 2.10 Release: multi-warehouse, permission groups, new checkout, and new docs
The new release is here, so instead of writing a monthly update, we’ve decided to explain the major changes in the latest version of Saleor.
Welcome everyone to Saleor 2.10! It’s been six months since we had our last major release. During this time, we’ve been working on creating new key features, fixing bugs and removing barriers essential to the user experience.
So let’s summarize what the new update brings to the platform:
- Multi-warehouse inventory
- Permission groups
- New storefront checkout with Improved performance
- New documentation
Saleor multi-warehouse
We have had a multi-warehouse feature on our radar for a long time. In short, it gives you the ability to split inventory among multiple locations. Since many of our users mentioned it, we decided to make it a priority.
You can assign multiple warehouses to only one shipping zone for now. If you set a shipping zone for only one country, then you can manage multiple warehouses there.
How does it work? The whole stock management process is handled in the dashboard. So, you just log in to the dashboard, go to configuration and there you’ll find a section called ‘Warehouses’. You will be able to manage the whole process from there. You can find more information and watch a video about Saleor warehouses here
An example of multi-warehouse inventory
Permission groups
From now on you can create groups of staff members with similar access permissions to your store. It will help you easily maintain permissions in your organization.
When you invite someone to manage the store, you will choose a specific permission group for that person. A staff member can be assigned to multiple groups with different permissions.
The feature is available in the configuration settings.
An example of permission proup
New storefront checkout and improved performance
We have carried out several fixes and provided improvements to the storefront which have had a significant impact on its performance—you can find all changes here.
The new release adds stateful checkout and cart to the SDK. The logic for handling cart and checkout was previously distributed across many React components. This, as we had observed, made it difficult to understand and also complicated creating your own checkout and cart-related UI.
From now on, you only need to use SaleorProvider. It can deliver the whole cart and checkout maintenance through hooks.
If you prefer not to use React, you can still use SaleorManager instead. This delivers the same checkout and cart logic as SaleorProvider:
In addition to the SDK, we have prepared a new UI. It is presently using new hooks.
A new checkout
New documentation
Together with the release of Saleor 2.10, you’ll find new documentation with the aim of lowering the entry level for Saleor users. Additionally, alongside the docs, we are working on an FAQ section to be added soon.
To make your life even easier, we’ve created a splash screen that appears when you run a Saleor instance locally.
Thank you!
As always a big thank you 🙏 to all our contributors and supporters! If you have any questions or feedback, feel free to reach us on Spectrum or Twitter.
Related Articles:
- PerformanceImproved API performance through limiting the number of database queries and optimizing the existing ones.
- MonitoringWe've added OpenTracing support for performance monitoring.
- RemovedWe've dropped the old storefront (rendered by Django) and dashboard views (replaced by the new storefront and dashboard apps).
- CORE APIA full summary of Core API changes is available here
- CheckoutA new checkout and cart UI based on the Saleor JavaScript SDK.
- ProductThere is a new product page available—check it out in our demo.
- CategoryThere is a new product list UI available—check it out in our demo.
- StorefrontA full summary of Storefront changes is available here
- InventoryYou can create and add multiple warehouses to shipping zones—learn more about how to do that here.
- PermissionYou can create and manage permission groups in the configuration section of your dashboard.
- UXYou can easily navigate through the dashboard by using the navigator tool.
- DashboardA full summary of Dashboard changes is available here