Skip to main content

News

API and frontend release news for developers building on Shoptet.

Categories: API news · Frontend news

Subscribe: RSS · Atom · JSON

New webhook on mandatory customer fields

· One min read
Pavel Husa

We have added a new webhook event eshop:mandatoryFields, which is emitted when “Required fields” on admin screen /admin/required-fields/ (Admin » Settings » Customers » Required Fields) get changed. Settings on this page affect fields, which are hidden or shown, optional or mandatory, on the customer registration and order billing & delivery information screens.

Zásilkovna Widget v6

· One min read
Pavel Husa

At the end of June, Zásilkovna is upgrading the widget for selecting pickup point, the new version 6 will replace v5 of the widget. See the blog post to read more.
Along with the new widget, we will change the implementation from packetaWidget.js to library.js to bring customers external pickup points and all features provided with v6. The new implementation is not backwards compatible with the previous one.

Fonts info in shoptet.config

· One min read
Pavel Husa

We now provide info about fonts set in admin in our shoptet.config object. This information should be used to load only those font, that is enabled in admin.
Example of structure:

Simplified OAuth process for addons integration in admin

· 2 min read
Pavel Husa

The best way to provide addons settings to the eshop admins is to integrate them into Shoptet administration. The settings page is integrated as an iframe. To avoid unathorized access to the settings page, an OAuth authentication is necessary. Formerly it was necessary to redirect to Shoptet OAuth server and perform challenge code verification. Now we provide the challenge code directly within iframe source url, which is faster and avoids using cookies, which are dropped by some more restrictive browsers for cross-site requests, such as Safari.