Frontend news from February 26, 2025

Warnings in the browser console to using deprecated shoptet functions

As part of improving our JavaScript code, we are modifying or relocating some of our JavaScript functions. In some cases, we need to change their namespace. To ensure backward compatibility and prevent breaking your modifications, we are adding fallbacks, allowing both the new and old function calls to work seamlessly.
If you are using a function in the old way, we will now notify you with warnings in the browser console. These warnings will include information on the new way to call the function. Over time, we will gradually remove fallbacks for old functions, so the warning will also specify when this will happen.


Breaking Changes

Cookie bar position

In the coming days, we will move the Cookie bar right after the footer element. This change is being made due to performance issues, as in some cases, the Cookie bar is taking over the position of the LCP element. Since it loads only after the JavaScript execution, it causes extremely long delays and negatively impacts this metric.
If your modifications rely on the position of the Cookie banner element, we recommend taking this change into account.


Improvements

Added explaining texts to arrows in the gallery modal buttons

For accessibility reasons, the arrow buttons in the gallery modal now include a hidden text description of the respective button.

Removed redundant category image alt text

To improve accessibility, we have removed duplicate alt descriptions for category images in navigation and subcategories.


Bugfixes

Wrap product appendix

In the following days in Enhanced advanced order we will wrap the product appendix with the corresponding class="product-appendix" span.

Samba logo dimensions

In rare cases, the mobile header on the Samba template was displaying incorrectly when scrolling.

Banner links

If you have selected the option in the admin to open a link in a new window, the link now correctly receives the target="_blank" attribute.


What we plan in upcoming days

Post navigation