Skip to main content

News

API and frontend release news for developers building on Shoptet.

Categories: API news · Frontend news

Subscribe: RSS · Atom · JSON

Accessibility improvements – focus styles

· One min read
Martin Stehlík

In order to improve our templates accessibility, we will be adding several minor updates in forthcoming releases. These will affect 3rd generation templates for now, but could affect also other templates in the future. First of all, we will be restoring focus styles with help of :focus-visible polyfill library and add following general rule:

NegativeStock in product insert and update

· One min read
Pavel Husa

Products (or variants) have attribute negativeStockAllowed, which allows to sell a product (variant) even if it is not on stock. If global eshop settings are “not allowed”, this attribute can override the global settings. It is possible to allow a product (variant) in case the global setting is “disallow” but not vice versa (if global setting is “negative allowed”, you cannot prohibit it for one product/variant).