Skip to main content

News

API and frontend release news for developers building on Shoptet.

Categories: API news · Frontend news

Subscribe: RSS · Atom · JSON

PriceId and itemId in the cart dataLayer

· One min read
Pavel Husa

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.

Complete orders snapshot

· One min read
Pavel Kácha

Many addons need to retrieve all order to perform their tasks. Until now, the only possible way was to iteratively call order detail endpoint for each order one by one. To make this task easier, we have introduced a new endpoint List of all orders.

New cookie bar classes

· One min read
Pavel Husa

Bringing a new cookie bar, we extended classes to make it more customisable. All the following classes are in the production stage already.

Updated price calculation in checkout

· 3 min read
Pavel Husa

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

3rd party marketing and analytics cookies in add-ons

· 2 min read
Pavel Husa

From 1. 1. 2022 all marketing and analytics cookies must be approved by the user. A new cookie toolbar will be implemented according to the new legislation by that date. We are aware of a short time to implement all necessary functionality, but all addons must reflect users’ settings and collect data only if it’s granted.

Category deletion

· One min read
Pavel Husa

There is a new endpoint available in our API: Product category deletion. Optionally you can also delete product assignments if the category is not empty (parameter deleteUsed=true) and its subcategories (parameter deleteChildren=true). If the category in not empty or it has sub-categories and no parameter is provided, the request fails with status code 409.