Skip to main content

This guide takes a Joomla website from nothing to a shop that sells files: HikaShop for the shop, Folio for the look. It installs them, sets them up, then makes the product pages with their previews, their formats and the customer's library. The screenshots are of our demo's products. You can see the result on the Folio demo.

The home page built in this guide

 

Before you start

  • Joomla 6 and PHP 8.1 or later.
  • HikaShop in its latest version: Starter, Essential or Business.
  • The packages, from your downloads on our website: com_hikashop_*.zip and tpl_folio.zip (folio.zip is the WordPress theme).
  • If your site is already online, make a backup first, and work on a copy if you can.

 

1. Install HikaShop and Folio

In System > Install > Extensions, upload com_hikashop_*.zip. Its setup assistant opens: give your address, your currency and your tax. Then upload tpl_folio.zip, and in System > Site Templates > Templates (Styles) click the star of Folio - Default.

Folio as the default site template

 

2. Set up the template

Open the Folio style. Style: the preset gives the colours, the fonts and the kind of shop. What the shop sells and Corners follow it, unless you choose. With the Custom preset, pick the colours and the two fonts yourself. Fonts served by this site keeps your visitors' browsers away from Google.

The Style tab

Layout: your logo or your name, the favicon, the header, the footer's text, the gallery of the product page and the bar on phones. Load Joomla's Bootstrap is for an extension that looks unstyled without it: otherwise leave it off.

The Layout tab

Shop: what Folio adds to HikaShop's pages. Parts 6 and 7 use these settings.

The Shop tab

Effects: how each section of the home page appears as the page scrolls. They do not play for a visitor who asks for less motion.

The Effects tab

 

3. Create the menus

In Menus > Manage, create a menu for your shop: a menu item of type HikaShop > Products listing for each category, with its category chosen in the item's options, 4 columns and the newest first. Create a second menu for the account, with an item of type HikaShop > Downloads named Library, and the customer's account. A third one can hold your help pages.

 

4. The module positions

  • announcement and topbar above the header; logo, menu, search, header-icons (the cart) and header-cta in it.
  • hero, home-latest, home-free, home-categories and newsletter on the home page.
  • breadcrumbs, sidebar-left (listings), sidebar-right (other pages), main-top, main-bottom, bottom-a and bottom-b around the content.
  • footer-brand, footer-a to footer-d and footer-bottom.

Modules in Folio's positions

 

5. Header and footer

  • The menu: a Menu module in menu, without its title.
  • Search: Joomla's Smart Search module in search, without its label. Index your products first in Components > Smart Search.
  • The cart: HikaShop's Cart module in header-icons, as the small cart that opens a drawer, with the icon media/templates/site/folio/images/bag.svg.
  • The footer: Menu modules in footer-a (the shop), footer-b (help) and footer-c (the account), with their titles.

 

6. The home page

It opens on your newest product, with its picture, its price and its first audio preview. In the Shop tab, give the ID of a product to show that one, or turn it off to use your own modules in hero. The Photos demo does that: a custom module with the title, and a Smart Search module.

Under it, HikaShop's module in home-latest: products, Div layout, 4 columns, Image and title, the newest first. The other sections work the same way: a product module of your free files in home-free, a category module in home-categories, your form in newsletter. A position with no module shows nothing.

 

7. The products and their files

A product that sells files is an ordinary HikaShop product. What Folio shows comes from its files, its variants and its fields.

The files sold

In the product's form, Images and files, add each file with the + button under the pictures. Give it a clear name: it is what the customer reads in What you get, with its type and its size. The sizes show for files kept on your server; a file at another address shows without one.

A product with its files in HikaShop

The previews

Add another file and set its Free download to Yes. Folio chooses what to show:

  • MP3, M4A, OGG, WAV, FLAC: a player. Several of them make a Tracklist, in their order. The first one also plays from the product's card and from the top of the home page.
  • MP4, WebM: a video player. In a Video shop the first one is the trailer, at the top of the page.
  • Anything else (a sample PDF, a trial version): a download button, under Try before you buy.

A preview can be downloaded by anybody: upload a short extract, never the whole file.

The formats and the licences

MP3 or WAV, 1080p or 4K, personal or commercial: create a characteristic (Products > Characteristics), then the variants of the product with a price each. In HikaShop's configuration, show the characteristics as radio buttons to get the list with its prices. A file added to a variant is sold with that variant only, and the page shows it while that variant is picked.

A music product: formats, tracklist and files

The other sections of the page

Create product custom fields (Display > Custom fields, table Product). Those you leave alone are listed in a Details table: version, length, pages, size... To give one a section of its own, with its label as the title, write its column name in Product fields shown as sections, separated by commas: versions,lessons. Use a WYSIWYG field: your text keeps its headings and lists.

A software product, with its versions

A section also runs Joomla's content plugins. To let readers leaf through a sample, install a flipbook plugin (our Hikari Flipbook is free) and put its tag in the field.

A book to leaf through

3D models

To let customers turn a model on the product page, install our free 3D product display plugin, enable it in System > Manage > Plugins, and add the model in the product's images. Folio gives it the shape of the picture and the colours of the page.

A 3D model on its product page

The author

Under the product's name, Folio shows its brand: the artist, the author, the maker. If you keep it in a custom field instead, write that field's column name in Product field: the author.

Before and after

In a shop of creative assets, the first picture of a product is the result and the second the original: the page shows one over the other with a handle. A product with a single picture shows it as usual.

Before and after

 

8. The library and the checkout

The library is HikaShop's page of downloads. Link it from a menu with an item of type HikaShop > Downloads. It has a card for each product bought, its files, and how many downloads are left.

The customer's library

  • When the files are given: in HikaShop's configuration, the order statuses that allow downloads, and how many downloads and days each purchase allows.
  • After the payment: the last page of the checkout has a button to the library, for a customer with an account.
  • A short checkout: a product without a weight has no shipping step. In Display > Custom fields, table Address, unpublish the fields you do not need. Keep the country: it decides the VAT.
  • Licence keys: with HikaSerial, the keys of a purchase show on its card with a button to copy them.

 

9. Your own CSS

Write your rules in media/templates/site/folio/css/user.css (create it): Folio loads it last and its updates never touch it. The colours are CSS variables (--ink, --paper, --accent...): use them, and your rules follow the preset.

 

Questions

The preview is a button, not a player. Check that its name ends with .mp3 or .mp4 (or another type listed above), that Free download is Yes, and that the players are on in the settings.

A customer paid and has no file. The status of their order must be one that allows downloads, and the limits in days and in number must not be reached.

The quantity box is hidden. That is One copy per file. Turn it off to sell several copies of a file at once.

My custom fields do not show. A field must be published and displayed on the front-end product page.