Frontend news from April 8, 2025
Breaking Changes
Adding Lazy Load and dimensions to the images (via Deferred Template Updates)
We want to remind you of the Lazy Load mentioned in the previous FE news.
Add to cart string
On April 15, we will update the text of the conversion button (only in English) from “To cart” to “Add to cart”.
Possible display of parameters
On Wednesday, April 9, we will release a change related to GPSR. On all templates, we will start displaying the EAN (if provided) in the product detail. The EAN will appear in the section designated for product parameters. If the project previously had no parameters and the parameters section was therefore hidden, it will now be displayed for products with a filled-in EAN.
Improvements
Customizable product slider
We will add options to customize the product slider in the upcoming days, such as autoplay. To view all available options, run shoptet.abilities.config.product_slider in the browser console. The product slider is also initialized on DOMContentLoaded, so you can further customize it as needed.
Logging deprecated functions
We log all deprecated functions in the console. In case you find this console log: [Deprecated]: Function $.fn.unveil() is deprecated and will be removed after 2025-12-31. Please use shoptet.images.unveil() instead. Replace the function immediately.
Upcoming Improvements
- Keyboard accessibility for product sorting.
- Keyboard accessibility for the cart widget.
- Keyboard accessibility for category content.