Diese Seite ist auch auf Deutsch verfügbar. Zur deutschen Seite wechseln

Shopware 6 Release News – November 2020

To the German article

Once again, our developers were hard at work, so we have lots of updates to share with you in this month’s release. We’ll present them to you in detail as usual.

*** General updates ***

#1 Roles & Permissions (ACL)

This release brings along with it the highly requested Roles & Permissions, also referred to as ACL (Access Control List). This allows you to assign certain rights in the administration as well as assign roles to users. The administrator is the one who can set up new users and edit them. They can also set up roles, edit them, and assign them to users. It’s also possible to attribute users a job description in the "Job title" field.

What benefits and opportunities do you gain from this?

  • Clarity and control: Allocate defined roles to various users and determine their roles precisely
  • Responsibilities can be clearly differentiated in doing so
  • More security: Users with defined roles can only access areas relevant to their role

Users-and-permissions

You can find an overview of users and their respective rights if you go to Settings > System > Users & permissions. You can assign several roles to one user as well. For instance, they can have an editor as well as a media manager role.

Define-a-role

Do you want your employee with the role of editor to be able to set up and maintain products, but not delete them? No problem! As the administrator, you can determine rights for each of the roles as precisely as you wish.

Find out more about Roles & Permissions in our documentation.

#2 Individual Sortings

As a merchant, you shouldn’t settle for a random product listing order. Here are two examples:

  • Let’s say you have a couple of shelf warmers that could do with more sales. You would like to place them at the very top of your listing to catch your shop visitors’ attention.
  • It’s now peak season and you want to swiftly pique shop visitors’ interest by offering them popular products. Get them to the top of your listing!

Of course, you were able to make your own changes to product sortings even before this release (for example by price or name). But now you can sort individually and exactly define your sortings.

How do I do that? You can make the relevant Sorting options in the administration under Settings > Products.

When arranging your products, you have several sorting criteria to choose from:

  • Release date
  • Product stock
  • Product review
  • Product list price
  • Product name
  • Product number
  • Sold units
  • Custom field

You can select several sorting criteria and prioritise them accordingly. You can also choose whether you would like to sort in ascending or descending order depending on the relevant criterion.

In a nutshell:

  • Make your own sortings based on specific product parameters
  • Define a default sorting for a listing
  • Hide arrangements in specific categories
  • Define individual sortings on sales channel basis

Get to know more about individual sortings in our documentation.

#3 Better usability for your shop visitors: Deactivate filter options with no results

Shop visitors can activate various filters when looking through products in your online store. This allows them to find their desired product much quicker. However, some filter combinations don’t yield any results. That’s why it’s all the more important to present the filter options in a user-friendly way in terms of results. From now on, you can make only those filter combinations visible to shop visitors that also yield results – and avoid little moments of disappointment.

Here’s an example:

Customer Karen is looking for a large coffee pot made by her favourite manufacturer with whom she’s had exclusively good experiences with so far. She also wants the coffee pot to hold 1 litre to be more efficient when brewing her coffee. In the online store, she selects her favourite manufacturer from the filter options and 1 litre from the capacity filter options. Karen’s favourite manufacturer currently only offers coffee pots with a capacity of 1.3 litres. The 1 litre filter combination she selected yields no results.

To avoid such unpleasant filter results, this is what you as the store operator can do: Only make filter options available that lead to a result in combination with the previously selected filters. Filter options that don’t yield any results are then greyed out and can no longer be selected.

Now Karen can easily and quickly see which filter options make sense. She can immediately see that there are filter results for a capacity of 1.3 litres and, therefore, selects this option. She’s equally happy with 1.3 litres and moves the coffee pot into her shopping cart.

prevent_invalid_filtering

As soon as a shop visitor hovers over the greyed-out filter with their mouse cursor, a text appears explaining why that filter option is non-selectable.

Do you want your shop visitors to exclusively select filter options that yield results? Then activate the according feature in the administration under Settings > Products > Disable filter options without results.

#4 Optimised checkout process

Every online store operator knows: To achieve a high rate of conversions, the checkout process should be as easy as possible with as few clicks as possible. That’s why we made several improvements in this particular area as part of this release. For instance,

  • customers are better guided through the checkout process when an error occurs during payment.
  • You can determine in which events you want your customers to receive an email notification. Go to Settings > Event actions to make the according settings.

Caution ⚠️

Because of the adjustments made to email outgoings in the order process, you should verify the settings in the new module "Event actions” after the update. Here you can define, as just mentioned, which emails should be sent out when a status update occurs.

#5 Data protection compliant with the 2-click solution for YouTube videos

Many retailers embed YouTube videos in their online store, for example to present their business or explain products and procedures. This is a good idea because videos are engaging and many things are easier and better explained with moving images. However, the embedding of YouTube videos poses a risk under data protection law because user data is passed on to YouTube.

To circumvent any warnings, we recommend a 2-click solution. With this 2-click solution your site visitors are initially shown a preview image rather than the actual video. The video is only embedded once the user has agreed to the data transfer.

What to do as a store operator:

  • Activate the "Load video only after confirmation by the user" under the respective Element Settings
  • You can also upload a preview image there, which is initially shown to the user instead of the video

#6 Find products quicker with new Search keywords

We have integrated a new field on the product detail page located in the administration where you can log search keywords (Product detail page > Assignment > Search keywords). By logging keywords here, you’ll benefit twice:

  • Storefront: Visitors to your online store can find products in the search through allocated keywords.
  • Administration: In the administration search, you and other users can find products through allocated keywords.

*** Developer News ***

To all developers, here we listed all important developer-related information for this release. As usual, you will find all changes also in our Upgrade.md.

#7 Store API is feature-complete with the Sales Channel API

Shopware 6.3.3.0 comes with the new Store API. The Sales Channel API will be still available until spring 2021.

The new Store API differs fundamentally from an architectural point of view and also behaves differently. All information about the differences between the Sales Channel API and the new Store API can be found in this blog post: The new Store API.

Removing the Sales Channel API

The Sales Channel API is expected to be removed with the next major release (scheduled for spring 2021). You should already start upgrading your plugins to the Store API now to be compatible with the next major release as soon as possible.

You can find all information about the Store API in our developer documentation.

#8 Improved import for properties

Importing new properties using the "Default Profile Properties" and leaving the UUID field empty has been modified and no longer causes an error message.

#9 Roles & Permissions (ACL)

In order for store operators to be able to use the feature Roles & Permissions to its full extent, we recommend that you make your plugins compatible. You can find more information in the documentation for developers.

#10 Support of disabled filters feature

If your custom filter should support the new feature you need to create a refreshDisabledState() function. This plugin gets two parameters:

  • filters: Result of the widgets.search.filter request
  • filterParams: Actual filter parameters of the page

These parameters can be used to refresh the state of the filter plugin. Here is a small example for a boolean filter:

#11 Deprecation of the current sortings implementation

The current defined sortings in the service definition xml are deprecated for release 6.4.0.0.

If you have defined custom sorting options in the service definition, please consider upgrading to the new logic via migration.

Before, custom sortings were handled by defining them as services and tagging them as shopware.sales_channel.product_listing.sorting:

Now it is possible to store custom sortings in the database product_sorting and its translatable label in product_sorting_translation

#12 Shopware Boost Day tickets

The second Shopware Boost Day took place on September 17th, 2020 and it was awesome. To be more precise, you were awesome - as always. In total you created 44 pull requests and we merged 25 tickets. If you want to know which tickets made it into this release, you can find an overview here.

More information

  • Missed out on any release updates? Read about our August, September and October feature updates!
  • Are you already familiar with the Global Product Update? It’s our monthly video series which gives you insights into our current development process. Check out the explanatory blog or go directly to the video.
  • No matter which issue you’re dealing with, it’s often worth checking out our documentation first.

Go download the latest Shopware version here

Shopware 6 Changelog

Newsletter

Never miss out - get all the latest news sent straight to your inbox.