Skip to main content

News

API and frontend release news for developers building on Shoptet.

Categories: API news · Frontend news

Subscribe: RSS · Atom · JSON

Extended information about logged user and currency and product name in cart

· One min read
Pavel Husa

Introduction​

We’re happy to announce an expansion of the Shoptet dataLayer with the following data.
We have provided data about the customer in the shoptet.customer object. We decided these data also replicate to the dataLayer, which can come in handy. This data is available only when the user is logged. It’s forbidden to misuse these data without the user’s acknowledgement.
Also, to enable you to work better with currency, we provide information about the selected currency (decimalSeparator, exchangeRate, priceDecimalPlaces, symbol, symbolLeft, thousandSeparator). You can use this to format prices or count approximate prices in other currency.
Lastly, we now provide the product name inserted in the cart, a minor but desired modification.

Store ranking in JSON format detail view, caching

· 2 min read
Pavel Husa

Introduction​

We are happy to announce extension of our JSON formatted page hodnoceni-obchodu reffered here. We discovered that important data are missing, such as scores, average scores, etc.
To ensure backward compatibility, we added an optional header that will modify the display of details. Please compare the following request to the request mentioned in the previous post and change it accordingly. Please see that the former array has moved to an object called ratings.

Translations support in API

· One min read
Marko Chytka

You can find in our API new support for translations. See detail in our documentation here.
We expect this improvement will bring new possibilities for your daily operations with foreign languages, and you our partners, will be able to provide better service to all our customers.

Webhooks data retention change

· One min read
Marko Chytka

Based on the analysis and process of optimizing the response time for you, our clients, we have decided based on the average use of webhooks and our findings for change the Webhooks data retention from the original 30 days to 7 days history from the 08th of August 2022.

Upcoming update of the DOM in templates

· One min read
Pavel Husa

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:

Hardware upgrade

· One min read
Pavel Kácha

Today we will upgrade HW configuration for part of our infrastructure. Change is planned as outageless and will start at 11:00 PM. If outage will be needed it will be after 2:00 AM and will take approx 20 minutes. This outage can causes unavailability of API. We are sorry for that and we do the best for outageless change.