Vous êtes sur la page 1sur 9

Page 1 / 9

9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05


S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06

Module - Lookbook

Date : November 25th 2013




Business Tech Installation & Customization Service

If you need assistance, we can provide you a full installation and customization service
which you can purchase on our own addons shop at :

http://prestashop-modules.businesstech.fr/en/installation-service/14-installation-
and-configuration-service.html

IMPORTANT : Dont forget to choose the correct module name from the dropdown menu.


Operation







Table of Contents


Module Purpose 1
Technical description 1
Server requirements 1
Module installation 1
IMPORTANT AND MANDATORY PRE-REQUESITES. 1
Lookbook module configuration 1



Page 2 / 9
9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05
S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06
Lookbook creation and product assignment 2
Lookbook categories creation 2
Lookbooks creation 2
Product and lookbook assignment 2
Lookbook assignment to one or many categories 2
Product assignment to one or many lookbooks 2
Add images to lookbooks 2
Displaying the result 2
Customizing templates 2

Module Purpose


The module Lookbook from Business Tech allows you to create product assortments.

For example, in the case of fashion, you can create an assortment of various items that
make up a look of a person (hat, shirt, jacket, pants, shoes, and accessories)

The Lookbook module will allow you to :

Create categories of lookbooks (example: women clothing)
Create lookbooks (Example: sixties)
Assign lookbooks to one or many categories.
Assign products to one or many lookbook.

Technical description

Version : 2.1.3
Lastest update : November 28
th
, 2013
Development : Business Tech modules@businesstech.fr

Server requirements

Prestashop : version 1.4+

Module installation




Page 3 / 9
9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05
S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06
IMPORTANT AND MANDATORY PRE-REQUESITES.

For PrestaShop < 1.5

If URL rewriting is activated, you must go in the back-office of your store, click on the
Tools tab and then on Generators

In the textarea, copy and past the following line :

RewriteRule ^[a-z]+/lookbook/([a-z-]+)/?([a-z-]+)?$ /modules/lookbook/show-
lookbook.php?category=$1&lookbook=$2 [QSA,L]

and then click on Generate .htaccess file

For PrestaShop > 1.5 until PrestaShop 1.5.4. (no more necessary after v1.5.4)

Edit .htaccess file on your web root and add this line manually just after RewriteEngine On.
To install the module you must copy the module folder directly in the folder "modules" of
your PrestaShop Shop software by transfering it by FTP.

Refer to PrestaShop FAQ, topic FTP transfer:

http://addons.prestashop.com/en/content/21-howto

Once your module is transferred, check permissions. Your shop should be able to write
recursively in the folder "uploads" of the lookbook module. These permissions must be set
to rwxrwxrwx or
777, ie. read / write /
exe- cute for every-
one.

After the copy of the
file completed, you
can log in the back
office of your shop to
per- form the installa-
tion itself.

Click
the
"modules" back office tab.
Unfold the "Front Office features."
In this list, you will find the module "Block Lookbook"
Click "Install" on the right.

Congratulations! Your Lookbook module is now installed.




Page 4 / 9
9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05
S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06
For further assistance on installing PrestaShop modules, thank you for visiting the online
help at the following address:

http://addons.prestashop.com/fr/content/21-howto

Lookbook module configuration

Module configuration is quite simple.
You only have to configure two parameters.

The size of the banners.
The size of the thumbnail.

By default, these values are set respectively to 555 pixels and 120 pixels.

Set the desired values to match the theme customization of your shop and click "Save".


Lookbook creation and product assignment

Your module is now configured.
1
2
4 5
3



Page 5 / 9
9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05
S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06

Now you need to add new categories and new lookbooks in these categories.

When you installed the module, a new section is added automatically to the tab "catalog"
of your shop.

Click on the "Catalog" tab of your shop.
Then click on the "lookbook" item on the right below the tab bar.


Lookbook categories creation
Fig.1

In the field "Category Name" (Fig.1-1), enter the name of your class (all alpha-
numeric characters are allowed, including accented characters and dashes.)
In the field "Category description" (Fig.1-2), enter the category description. (IM-
PORTANT: This field is mandatory but is not yet used by the module.)
The checkbox "Active" (Fig.1-3) is used to select whether the category is active
or not. If it is not active, it will not appear in the front office and will not be usable
in the back office as long as it remains inactive.)
Click on the flag (Fig.1-4) to choose the next language and enter the translated
values.
Finally click on "save" (Fig.1-5) to save your category.

Fig. 2

In the list of categories, is now the new category you created. The equity portion (Fig.2-1) includes
three buttons. Their actions are respectively:

[Des]activate the category.
Edit the category.
Delete category. (Note this step is irreversible and does not expect any confir-
mation.)

1



Page 6 / 9
9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05
S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06
On the line, is also the notion of "# lookbooks." This index indicates the number of look-
books that are assigned to this category.

Next: Add a lookbook.Lookbooks creation

Choose the tab "lookbooks" module.

Fig. 3


In the fields "Name lookbook" (Fig.3-1), enter the name of your Lookbook (all
alphanumeric characters are allowed, including accented characters and dash-
es.)
In the fields "Description lookbook" (Fig.3-2), enter the description of the Look-
book.
The box "Active" (Fig.3-3) is used to select whether the Lookbook is active or
not. If not active, it will not appear in the front office and will not be usable in the
back office as long as it remains inactive.)
Click on the flag (Fig.3-4) to choose the next language and enter the translated
values.
Finally click on "save" (Fig.3-five) to save your Lookbook.

Product and lookbook assignment

Lookbook assignment to one or many categories

1
2
4
5

1
2
3 4



Page 7 / 9
9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05
S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06
Fig. 4

From the dropdown menu (Figure 4-1), select the desired category.
In the right panel (Fig. 4-2), select the lookbooks you want to assign to the se-
lected category. You can make multiple selections by hitting the command key
on Mac or the Control key on PC.
Finally press the "Add" button (Fig. 4-3), to validate the addition of lookbooks to
the selected category.
Repeat for all categories.



N.B. : You can remove a lookbook from a category. To do so, select one or many look-
books from the left panel and click the "Remove" (Fig. 4-4) button.

Product assignment to one or many lookbooks


Fig. 5

From the dropdown menu (Figure 5-1), select the desired lookbook.
From the dropdown menu (Figure 5-2), select the desired supplier.
From the right panel (Fig. 5-3), select the products you want to assign to the se-
lected lookbook. You can make multiple selections by hitting the command key
on Mac or the Control key on PC.
Finally press the "Add" button (Fig. 5-4), to validate the addition of selected
products to the selected lookbook.
Repeat for all the lookbooks.


1 2
3
4 5
1
2 3



Page 8 / 9
9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05
S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06
N.B. : You can remove one or more products from a lookbook. To do so, select one or
many products from the left panel and click the "Remove" (Fig. 5-5) button.

Next: add an image to a lookbook.
Add images to lookbooks

This part is very simple.

Fig. 6

Choose a lookbook from the dropdown menu (Figure 6-1).
Choose the language from the dropdown menu (Figure 6-2).
Choose a file to your computer and drag in on the gray box (Fig. 6-3).

N.B. : Instead of dragging a file directly to the shape, you can click it and choose a file di-
rectly from the classic exploration menu of your operating system.

N.B. : It is not possible to delete an image once it has been added. It is assumed that a
lookbook will always show an image which represents it. By cons, we can replace an im-
age by an other.

IMPORTANT : Only JPG (.jpg extension) files are accepted.
Displaying the result




Page 9 / 9
9, Rue Paul Czanne, Sophia Antipolis, 06560 Valbonne Tl / Fax: 04 93 64 43 05
S.A.R.L au capital de 7.625 Euros RCS Grasse 450 947 106 TVA : FR 814 509 471 06


Customizing templates

The module is based on smarty templates.

All templates are listed in the directory "templates" in the module folder.

Vous aimerez peut-être aussi