Skip to main content

News

API and frontend release news for developers building on Shoptet.

Categories: API news · Frontend news

Subscribe: RSS · Atom · JSON

Negative stock in Product detail

· One min read
Pavel Husa

We have added a new field to Product detail endpoint: negativeStockAllowed (data.variants[].negativeStockAllowed). In case an eshop does not allow to sell goods not available on stock (negative stock), this option can be overriden for individual products (variants). Possible values are:

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.

Currency information extended

· One min read
Pavel Husa

Endpoint Eshop info contains array of currencies containing basic information about each currency, visibility and exchange rate. We have extended the set of information provided to contain more information on formatting, rounding, order minimum value and bank account.

Default product availabilities

· One min read
Pavel Husa

In the Shoptet administration, products might have availabilities defined, such as “On stock”, “On request”, “Sold out” etc. These can be defined on product variant level (endpoint Product detail, items data.variants[].availability and data.variants[].availabilityWhenSoldOut). If they are not specified (the item is null), global eshop default values are used as per settings in the administration. The default values can be newly retrived from endpoint List of product availabilities, section defaultAvailabilities.

Better styling options for texts in banners

· One min read
Martin Stehlík

You probably want to use additional texts in your banners (Banner title, Banner text and Link text). These texts are easily editable by any Shoptet administrator without technical knowledge or special software. At last but not least, actual text also looks sharp all the time.