Customize the webshop homepage ​

The Homepage document gives you a ready landing page with a hero section, featured products, and extra sections. For a page built freely from web templates, see Create a store landing page instead.

INFO

Homepage and Homepage Section are not part of ERPNext version 16. They come with the webshop app, together with the other e-commerce DocTypes.

Prerequisites ​

  • In Website Settings, the Home Page is home.

Set up the homepage ​

  1. Open Homepage.
  2. Select the Company.
  3. Enter the Title. It shows in the browser tab.
  4. Set up the hero section, see below.
  5. Save, and open your website.

Choose a hero section ​

In Hero Section Based On, select one of these:

  • Tag line and description (the default): enter the Tag Line, the Description, and the Hero Image. The URL for "All Products" sets the target of the explore button.
  • Slideshow: select or create a Homepage Slideshow. Use images of the same height that are wider than they are high.
  • Hero Section: select a Homepage Section with Section Based On set to Custom HTML, and write the HTML in Section HTML. You can use any Bootstrap markup.

Add the items to the Products table. They show as featured products on the homepage.

Add homepage sections ​

  1. Open the Homepage Section list and create a new section.
  2. Set Section Based On to Cards, or to Custom HTML.
  3. For cards, add a row for each card in Section Cards: the title, subtitle, image, content, and route.
  4. In Section Order, enter the position of the section. 0 shows first, then 1, and so on.
  5. Save.