Lookbook is more famous in the fashion world, as a page where people can get ideas on how to style outfits, or to see what the latest fashions are.
As Foodly Theme "likes" foods, its lookbook represents latest "hot" recipe and helps customers a buy products to cook this dish. This page has a look as in Fig. 5.31.
Before to create a new Lookbook page, you need a blog with one recipe. The blog creating is described in the special chapter of this page. About recipes, you can read in the following chapter.
Also, you need All Products collection. This collection will be used to find an appropriate product from Lookbook page, in your store. The creating of All Product collection is mentioned earlier in the following chapter.
To use lookbook page in your store, please, go through the following steps:
page.lookbook (
Fig. 5.33 -
[ 5 ])
title - the product title.
top,
left - the position of circle point on the recipe image. You can use
px,
% or
em
recipe-description - the product description in the recipe. You could use this attribute to describe how to use product in th recipe.
Example of lookbook page content:
[product title="Paprika" top="39%" left="33%" recipe-description="You need 1 kg of this ripe cherry tomatoes for 4 people dish. It requires to be scalled before addingg to other ingredients."]