Fonts from admin are now loaded when Blank mode is enabled
We added an admin setting for fonts in Blank mode enabled. When the Blank mode is enabled (applied for a visual addon or Premium eshop), the selected font is loaded in the head tag.
Template, dataLayer and storefront JavaScript announcements.
View All TagsWe added an admin setting for fonts in Blank mode enabled. When the Blank mode is enabled (applied for a visual addon or Premium eshop), the selected font is loaded in the head tag.
As a part of the improved, more detailed category configuration, the DOM will be changed in the coming days, specifically in the sidebar. All of the 3G templates will now have their structure described below:
To allow better positioning of navigation elements in product slider on Disco template a change to elements nesting has been made. .product-slider-pagination and .product-slider-navigation are now a level higher in nesting hierarchy, positioned outside the hidden overflow element .product-slider.
Cart dataLayer contains now priceId. Before this update, dataLayer was inconsistent when added products, and dataLayer didn’t include itemId. This parameter is needed to update or remove the product from the cart.
Bringing a new cookie bar, we extended classes to make it more customisable. All the following classes are in the production stage already.
If you ever need fetch whole page via XHR, we strongly recommend use cached version of page. Let me explain it in examples below.
Recently we introduced the JS function addToCart as well as removeFromCart function. Now we are going to introduce you the updateQuantityInCart function, which is pretty similar to them.
The new version of checkout, including updated price calculation, is released. Please pay attention to the final step of the process mentioned:
We scheduled breaking change in HTML and JavaScript of checkout process, which is going to break it in some blank templates and JavaScript addons or customizations without your cooperation. We need you to follow several steps listed below. It’s going to affect you if:
– you are using Blank template with custom JavaScript (on /admin/html-codes checked “Omit Shoptet Javascript”)
– you are using one of elements listed in tables below in your JavaScript
Projects without any style modifications now have new version of mobile headers. For other projects, there was no change. You can read more about mobile headers in our detailed guide.