Go to content

Johku widgets and widget types

Johku has six widget types: Product, Product card, Category, Search, Basket and Join sales channel. This page shows what each type displays on a website and which situation it suits.

Creating a widget is described in Create a widget. You can switch a widget between the Product and Product card types after creating it too.

Product

The Product widget shows only the name of a single product (unless hidden), the price, and the booking and buying functions. No image, description text or other details are shown, so the Product widget suits a situation where the product is presented in more detail on the website itself and the widget only handles the buying. The Book or Buy button takes the product to the widget's shopping basket or, if the shopping basket is disabled in the widget, straight to the Johku checkout page.

Product card

The Product card widget shows the product's name, main image, short description, tags, price and reservability, that is, duration and capacity. There is no separate buy button: clicking the card opens a pop-up window with a more detailed presentation of the product and the Book or Buy buttons. The Product card suits a situation where you want to tell more about the product directly in the widget.

Category

The Category widget brings the products of a whole category to the page at once as highlights. The widget shows the category's name (unless hidden) and each product's name, main image, short description, price and tags. For content-type products, only the name and main image are shown. Clicking a product opens a more detailed presentation in a pop-up window, as in the Product card. If full-text search or availability search has been set for the category in Johku, the search is also shown in the widget before the product list. The Category widget is also used to bring the showtimes of events to a website.

Search

The Search widget brings Johku's full-text search or availability search to your website, and the customer uses it to search your shop's products. If the shop uses both searches, the widget shows both the text search field and the time selections in the same way as on the Johku storefront. The Search widget requires that the search features are enabled in the shop; see Enable search on your storefront.

Basket

The Product, Product card and Category widgets have a built-in shopping basket, but it works only on the page where the widget is. The Basket widget is a separate shopping basket that is installed on every page of the website so that the customer's purchases are kept when moving from page to page. The basket is shown at the bottom of the page, and when it is closed, only the Show basket button is visible.

Join sales channel

The Join sales channel widget brings a Register as a merchant button to the website. Through it, other companies can join your sales channel and at the same time register as Johku merchants, or only register as merchants if joining the sales channel is blocked in the widget's settings. The type is useful when you want to grow your cross-selling and partner network; see Cross-selling and partnerships.

What widgets show

Widgets show only public products, that is, products that have the Include in product catalog option selected. The Category widget also requires that the category is either public or that displaying it in widgets is allowed separately. The requirements are described in Create a widget.