Product Builder

Product builder is useful shopping tool, it allows potential customers to “build” an ideal version of a product by combining different options. At the end of this process, the user is given an action to buy the product.

Foodly Product Builder (Fig. 3.37) can contain up to 4 recipes (packs) with products. Recipes (packs) are articles from Blog.

The instructions, how to create a blog are described in the following chapter, how to add a new article - in the following chapter and how to transform an article into a recipe - in the following chapter of this guide.

All products which are related to a recipe must be specified into the recipe content using a special shortcode. [recipe-products]...[/recipe-products]. Between an opened shortcode tag ([recipe-products]) and closed tag ([/recipe-products]) is specified a list of product titles separated by a comma without spaces. The script from Product Builder is automatically bind products to recipe using those titles.

Similarly, accessories have a special shortcode: [recipe-accessories]...[/recipe-accessories].

The example of recipe content for Product Builder:

                Ingredients

[ingredients]
2 medium red onions
8 rashers higher-welfare pancetta or smoked streaky bacon
2 lugs olive oil
4 sprigs thyme
1 good handful pine nuts
1 tiny pinch salt
4 big handfuls rocket
balsamic vinegar
[/ingredients]

Directions

[directions]
Warm salads can be blooming amazing or a complete disaster. First, you have got to get your hungry guests around the table before you plate up, so as soon as their bums are on the chairs, you are tossing the warm ingredients in with the rocket leaves. Boom, boom, boom on a plate and it's in front of them.
Peel, halve and quarter 2 medium red onions, then quarter again, to give you 8 pieces from each onion. Heat a frying pan and fry off 8 whole rashers of pancetta or smoked streaky bacon until crisp. Remove, add a couple of lugs of olive oil to the pan, and add 4 sprigs of thyme, the onions and a good handful of pine nuts with a tiny pinch of salt. Toss around and fry on a medium heat for about 5 minutes until caramelized and sweet (not black!).
Put your pancetta or bacon back into the pan, toss around, then throw everything into a salad bowl with 4 big handfuls of rocket or any nice salad leaves. Drizzle generously with balsamic vinegar – this will make a natural dressing as it mixes with the olive oil. Serve with some shaved Parmesan over the top – you can use a potato peeler to do this. Munch away.
[/directions]

[recipe-products]Green Beans,Leek,Chives,Lime,Cherry Tomatoes 2016,Cucumber[/recipe-products]
[recipe-accessories]wooden bowls,Wooden Spoon[/recipe-accessories]
            

Some information which should taken into account:

Figure 3.37
Figure 3.38