Without a shared shop, different merchants' widgets and the shopping basket don't work correctly on the same page. In the shared model, the customer's purchases go through the portal's own Johku shop, and the products are brought to the page either with the portal's Category widget or with the merchants' individual product widgets. We recommend the Category widget: the merchants then don't need to deliver their own widget codes, and the products come to the page through the portal's own shop. Cross-selling in full, with invitations and commissions, is described in the Cross-selling and partnerships category.
1. Set up a Johku shop for the portal
- Register a Johku shop for the portal and fill in the shop's company and contact details; see Getting started.
- If you bring other merchants' products to the page with a Category widget, create a category in the shop: on the Products page, click Create new..., select Category as the type and give it a name.
- On the category's Sales Channels tab, select Make this category available to other merchants and save. The Include in product catalog option is not needed when you use a Category widget.
If the products are displayed individually through the merchants' own product widget codes, the category and the Category widget are not needed.
2. Publish your sales channel
- Open Settings → Sales Channels → My Sales Channel.
- Select Publish this sales channel to other Johku merchants and enter at least the sales channel's name, URL, short description and default commission.
- Save.
Note: if you set a default commission other than 0%, you need a Visma Pay payment processing agreement.
3. Set up Visma Pay
Visma Pay makes it possible for the customer to order products from several different Johku merchants in the same payment transaction, and the commissions are settled automatically. With other payment providers, the customer can buy only one merchant's products at a time from the portal, and the commissions must be invoiced by hand.
If the portal's shop will have no products of its own and you don't charge commission (default commission 0%), no Visma Pay agreement is needed: it is enough to select Visma Pay in your shop. If you sell your own products or charge commission, make a Visma Pay application and turn the payment method on in your shop; see Payment services.
4. Invite merchants to the sales channel
- Open Settings → Sales Channels → Shops Using Your Sales Channel.
- Send invitations to the Johku merchants whose products you want in the portal.
When a merchant accepts the invitation, they publish their products to your sales channel and the products become selectable in your shared category.
5. Create a Basket widget and a Category widget
- Open Settings → Storefront → Widgets and click New widget.
- Create a widget of the Basket type and save. Copy its embed code and keep it.
- If you use a Category widget, create a second widget with the type Category, connect to it the category you shared with other merchants (one category per widget) and save. Copy the embed code and keep it. Create more Category widgets if needed.
6. Install the widgets on the portal's pages
- Place Johku's general embed script in the HEAD section of the portal's page.
- In the page's BODY section, first place the embed code of the Basket widget of the portal's own shop.
- Place below the Basket widget either the embed codes of your shop's Category widgets or the embed codes of individual products delivered by the merchants.
- Test that the widgets and the ordering process work in the portal.
Result
The portal's page shows the invited merchants' products, and the customer can collect several merchants' products in the shopping basket and pay for them at once through Visma Pay.
If the portal's widgets don't work
Another merchant's widget doesn't work on the page. The page lacks a shared shop: the widgets have been placed without the portal's own Johku shop and Basket widget. Set up the shop and install the widgets in the order of these instructions.
The customer can't pay for several merchants' products at once. Visma Pay is not in use. With other payment providers, purchases work from only one merchant at a time.
The shared category's products don't show in the widget. The merchant has not yet accepted the invitation or published their products to the sales channel, or the products lack the Include in product catalog option.