Skip to main content

This guide takes a WordPress 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 front page built in this guide

 

Before you start

  • WordPress 6.6 and PHP 8.1 or later.
  • HikaShop for WordPress in its latest version.
  • folio.zip, from your downloads on our website (tpl_folio.zip is the Joomla template).
  • If your site is already online, make a backup first, and work on a copy if you can.

 

1. Install HikaShop and Folio

In Plugins > Add New Plugin > Upload Plugin, upload HikaShop's package and activate it; its setup assistant opens. In Appearance > Themes > Add New Theme > Upload Theme, upload folio.zip and activate it. The front page, the header with the cart and the footer are ready at once.

In Settings > Permalinks, choose any structure but Plain.

Folio activated

 

2. Choose a style

In Appearance > Editor > Styles, Browse styles shows the eight of them: Music (the theme's own), Video, Software, Ebooks, Creative assets, Stock photos, 3D models and Patterns. A style changes the colours, the fonts and the kind of shop. Change any of its colours in Colors and its two fonts in Typography.

The styles in the Site Editor

 

3. The Folio settings

Appearance > Folio settings holds the rest. Layout: the header, the gallery of the product page, the bar on phones. Shop: the kind of shop and the corners (they follow the style, unless you choose), the newest product at the top, the players, the list of files, one copy per file, before and after, and the fields. Effects: how the sections of the front page appear.

Appearance, Folio settings

 

4. The menu and the logo

In Appearance > Editor > Navigation, list your categories (HikaShop's pages), your help and the account. The mark and the name of the shop are in the Header part, your columns of links in the Footer part: edit them in Appearance > Editor > Patterns.

 

5. The front page

It is the theme's Front Page template (Appearance > Editor > Templates): the opening, which shows your newest product with its price and its first audio preview, then HikaShop's Products block, the newest first. In the Folio settings, give the ID of a product to open on that one, or turn it off to show the blocks you put inside the opening. Add your own sections under the list: free files, categories, a newsletter.

 

6. 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 (HikaShop > 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 (HikaShop > 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 the shortcodes of your plugins: put the one of a flipbook plugin in the field to let readers leaf through a sample (our Hikari Flipbook is free).

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 HikaShop > 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

HikaShop's screens are the same on Joomla and WordPress: the pictures of this part were taken on Joomla.

 

7. The library and the checkout

The library is HikaShop's page of downloads. The customer reaches it from their account; add its address to your menu or your footer. 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 HikaShop > 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.

 

8. Your own CSS

Appearance > Editor > Styles > Additional CSS: your rules there survive the theme's updates. The colours are CSS variables (--ink, --paper, --accent...): use them, and your rules follow the style.

 

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.