Skip to main content

118 posts tagged with "Frontend"

Template, dataLayer and storefront JavaScript announcements.

View All Tags

Accessibility improvements – focus styles

· One min read
Martin Stehlík

In order to improve our templates accessibility, we will be adding several minor updates in forthcoming releases. These will affect 3rd generation templates for now, but could affect also other templates in the future. First of all, we will be restoring focus styles with help of :focus-visible polyfill library and add following general rule:

Unification of validator message on the 3G – class removal alert

· One min read
Pavel Husa

To provide more consistent visual feedback when a validation error occurs, we unified the validation error display in all 3G templates.
New class js-validated-element-wrapper was added to the input wrapping element already containing form-group class. Validation error is now bellow validated input field.
A new included error message will contain both the former validator-msg class and the new js-validator-msg for a limited amount of time.

Affiliate program login removal

· One min read
Pavel Husa

In following week (starting 8. 3. 2021), login to affiliate program both from login page and widget will be removed. Affiliate login will be still available form http://www.YOURDOMAIN.cz/affiliate-login/. Main changes will be in login widget on 3G templates. Whole tab section is removed leaving only user login remained. See widget on Classic template:

Title attributes removal

· One min read
Martin Stehlík

In the forthcoming days, there will be change regarding title HTML attributes. We decided to remove them in cases where they just duplicate the same text content (usually in links). Menu items are a typical case:
Title attribute in Classic template menu

Important notice for Blank template authors

· 2 min read
Pavel Husa

As we noticed you through ours partner managers, we scheduled breaking change in HTML and JavaScript of checkout process, which is going to break it in blank templates without your cooperation. We need you to follow several steps listed below.

Multiple custom scripts after form validation

· One min read
Pavel Husa

For some time we offer to use custom function after (un)succesfull validation, see Vlastní script před odesláním formuláře. To bring some “culture” between multiple addons/custom adjustments, we had recently improved the behavior – from now on is possible to set own function without overwriting previously set function. See example below and please update your scripts, if you are using these custom functions in your scripts.

Hiding additional menu items

· One min read
Pavel Husa

In all of our templates, you can have almost unlimited number of items in main menu. To make this possible and clear menu-helper contains all items which doesn’t fit in full menu width. This dropdown menu is filled right after page is loaded and refilled on every window resize, to prevent menu item to overflow. Hiding menu items is provided via JavaScript function that can be called anytime after DOM content loaded.