Skip to main content

This guide takes a WordPress website from nothing to a shop that makes its goods to its customers' sizes: HikaShop for the shop, Price Calculations for a price that follows the sizes, Customization Preview for the drawing of each piece, and the Atelier block theme for the look. It installs them, chooses a style, builds the menu and the front page, then the configurator of the product page. Every screenshot was taken on a real site while following these steps. You can see the result on the Atelier demo.

The top of the front page built in this guide

 

Before you start

  • WordPress 6.6 or later, with a block theme (Atelier is one) and PHP 8.1 or later.
  • HikaShop for WordPress in its latest version, Price Calculations for the live price, and Customization Preview (HikaShop Business) for the drawing.
  • The packages, from your downloads on our website: HikaShop's WordPress package, plg_hikashop_calculations.zip, plg_hikashop_customizationpreview.zip and atelier.zip (the WordPress theme; tpl_atelier.zip is the Joomla template).
  • If your site is already online, make a backup first, and do the work on a copy of the site if you can.

 

1. Install HikaShop and the two plugins

In Plugins > Add New Plugin > Upload Plugin, upload HikaShop's package and activate it; its setup assistant opens. Then HikaShop's own plugins go through HikaShop: in HikaShop > Plugins, the Install button, and upload plg_hikashop_calculations.zip, then plg_hikashop_customizationpreview.zip.

Installing a HikaShop plugin on WordPress

HikaShop's plugins

 

2. Install and activate Atelier

In Appearance > Themes > Add New Theme > Upload Theme, upload atelier.zip and activate it. The front page, the header with the cart and the footer are ready at once; the theme also sets up HikaShop's cart drawer with its bag.

Atelier activated

 

3. Choose a style: colours and fonts

In Appearance > Editor > Styles, Browse styles shows the 14 styles: Atelier, Store, Parquet, Graphite, Ferronnerie, Etched (dark), Neon (dark), Cadre, Tapis, Mural, Voile, Matelas, Uniforme, Tampon. Pick one, then change any colour in Colors and the two fonts in Typography. A dark page works with any colours you pick.

The styles in the Site Editor

The name of the shop and its tagline are WordPress's own (Settings > General); a logo goes in Appearance > Editor > Identity.

 

4. The Atelier settings

Appearance > Atelier settings holds the settings the Site Editor has no place for, the same as the Joomla template's: the strip above the header (your line, the lead time, the phone and the hours), the footer's address, text and three promises, the fields of the cards and of the names (see 7), the bar of the product page on phones, the room of the front page (its pictures, the doorway, the measurements, the texts, the next room), the resize board, the materials, and the animations of each section.

Appearance > Atelier settings

 

5. Create the menu

In Appearance > Editor > Navigation, the header's menu: your departments (HikaShop's category pages), then your measuring guide. The footer's columns list the same pages and your help pages: edit them in the Footer part.

The navigation menu

 

6. The front page

The front page is the theme's Front Page template (Appearance > Editor > Templates). Its sections are blocks:

  • Atelier room: the room's line drawing measuring itself, the photograph growing out of the doorway, the scroll walking to the next room. Its pictures, doorway, measurements and texts are in Atelier settings; empty, the theme's own.
  • Atelier resize board: a piece the visitor resizes, with an indicative price (in the settings; 0 for none).
  • What we make: HikaShop's Products block showing your categories, which Atelier turns into a row that slides with the scroll.
  • Atelier materials, and the date an order placed today is ready.
  • Recently made: HikaShop's Products block, the newest first.

The Front Page template in the Site Editor

The resize board

The header part holds the strip, the logo, the menu, search, the account and the cart; the footer part the promises, the address and your menus.

The header part

 

7. The product cards and the measuring guides

A card shows, under the product's name, the size ranges, the price "from" with the size it is for, and the lead time. Each comes from a product custom field (HikaShop > Display > Custom fields, table Product), text fields with these column names (or others, named in Atelier settings):

  • sizes: the ranges, as you want them read ("W 60 to 300 · H 30 to 260 cm").
  • from_size: the size the lowest price is for ("100 × 80 cm").
  • lead_time: the working days it takes to make; it reads "Made in 5 days", "Made in 3 weeks" from ten days.

The measuring guide is a category custom field measuring_guide holding the address of your page on how to measure for that department: it shows under the category's title and beside the sizes of its products.

A listing with its cards

 

8. The configurator of the product page

The customer's choices are HikaShop item custom fields (HikaShop > Display > Custom fields, table Item). For each, choose its categories in Restrictions, and set Yes in its Display parts for the cart, the checkout, the cart product edition, the front-end order details and the invoice.

  • The steps: a step starts at each item field of type Custom text; its label is the step's title, its text the help under it. Order the fields so each heading comes before its fields.
  • The sizes: Text fields, required. In Attributes their limits and unit for the page, data-min="60" data-max="300" data-unit="cm" inputmode="numeric"; in Regular expression check the same limits for the shop, for 60 to 300: ^(6[0-9]|[7-9][0-9]|[12][0-9]{2}|300)$.
  • The other choices: dropdowns and radios, each with a default value.
  • The price: in HikaShop > Plugins, open Price Calculations: condition {width:optional:0}>0, formula {price}+{width:optional:0}*{height:optional:0}*0.045 (450 € per square metre of front added to the product's price).
  • The drawing: in HikaShop > Products > Customization preview models, a model from the ready-made Shelving one, its sizes and choices linked to your item fields, and the products it draws.
  • A name per piece: a Textarea item field names, "Names, one per line", sets the quantity and lists the names in the cart.

The formula of Price Calculations on WordPress

The steps of the product page, a size out of its range

 

9. The cart and the account

Each cart line lists the values chosen, its lead time and a Change the sizes link that reopens the product page with them; under the cart, the date by which everything is made.

The cart

 

10. 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

A site in a folder (example.com/shop/). The theme's links follow your site's address: nothing to change.

The values chosen are not in the cart. The item fields need their display options for the cart, the checkout, the cart product edition and the order.

The price stays the product's price. Check that Price Calculations is enabled in HikaShop > Plugins and that its condition is true for the values given.

No drawing. Customization Preview comes with HikaShop Business, and draws the products its model is linked to.