Table Of ContentPrestaShop 1.3
Beginner's Guide
Build and customize your online store with this speedy,
lightweight e-commerce solution
John Horton
BIRMINGHAM - MUMBAI
Download from Wow! eBook <www.wowebook.com>
PrestaShop 1.3
Beginner's Guide
Copyright © 2010 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmitted in any form or by any means, without the prior written permission of the
publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the
information presented. However, the information contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly or
indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: June 2010
Production Reference: 1080610
Published by Packt Publishing Ltd.
32 Lincoln Road
Olton
Birmingham, B27 6PA, UK.
ISBN 978-1-849511-14-8
www.packtpub.com
Cover Image by Vinayak Chittar ([email protected])
Download from Wow! eBook <www.wowebook.com>
Credits
Author Editorial Team Leader
John Horton Akshara Aware
Reviewers Project Team Leader
Tomer Grassiany Lata Basantani
Ardian Yuli Setyanto
Project Coordinator
Acquisition Editor Shubhanjan Chatterjee
Dilip Venkatesh
Proofreader
Development Editor Aaron Nash
Tarun Singh
Production Coordinator
Technical Editors Shantanu Zagade
Shadab Khan
Hithesh Uchil Cover Work
Shantanu Zagade
Copy Editor
Lakshmi Menon
Indexer
Hemangini Bari
Download from Wow! eBook <www.wowebook.com>
About the Author
John Horton comes from a retail sales background where he learned the importance
of selling, rather than the mere passive offering of a product or service. By 2005 he was
disillusioned with the greedy, integrity-lacking, low-reward, corporate world, and was looking
for a way to earn a living without the grind of the 9 to 5 and without having to sell his soul.
He decided to investigate an e-commerce venture.
John started his first e-commerce website in 2005. Although only a modest success initially,
it was the seed of a eureka moment, a blindingly obvious moment that comes only once
in a lifetime. If you can start and run a business with virtually no costs (one that once up
and running, has virtually no ongoing time commitment), why not make lots of businesses
around the same idea?
John now has numerous e-commerce sites as well as other types of web businesses, earning
revenue in different ways. John's latest venture is a product comparison website with a
unique slant.
It is the low-time commitment model of John's businesses that has allowed him to write
books aimed at helping others who want to achieve the same thing. He has published
training manuals and books with other publishers on the same subject area and this is his
first book for Packt. He is an avid fan of all things open source.
John has no formal, technical, or programming background, had no relevant previous
business experience, no related educational qualifications, has never borrowed startup
capital, is of average intelligence at best, does not have the gift of the gab or any other
magical quality, is not especially "lucky" and would sincerely like to point out that it doesn't
matter if you are in the same situation as him!
John works from home and spends his spare time with his family, Jo, Jack, and James, in
Norwich, UK and pursues his hobbies of running, computer gaming, and reading.
Download from Wow! eBook <www.wowebook.com>
Acknowledgement
To Jack for being such a wonderful son. I am so proud of you. James for being the loveliest
little fellow anybody could wish to know. Jo, whom I love so much, for accepting me and my
mad ideas and for your love. Ray for being someone I admire so highly and Rita as well. Olivia
and Casey for being the prettiest girls, bar none, and Stan for being a great dad to them. And
also to my newly found friend Mary Patel.
Sylvia for actually wanting a copy of my crazy ramblings and the first person in the whole
world (and probably the last) to ask for my autograph.
A big thanks to all the people at Packt who made this a better book than I could ever have
done on my own. A big thanks to the technical reviewers, Tomer Grassiany in New York and
Ardian Yuli Setyanto, for pointing out improvements and blunders.
Also worth a mention: Higgsy, John (eboy) Barton, and Peter EggbuttNoBacon for being my
friends. David Swinnerton for being a friend, doing my math homework and completing
Bounty Bob Strikes Back. A long overdue thanks to the Ebbutt family for putting up with
me and letting me in their house so often, especially when mine was empty. And to Chris, I
sincerely apologize about the loft, bucket, shower thing—it was Pete’s idea!
And mostly to those whose memory has inspired me all my life, especially this last year, who
will sadly never read the next sentence. To Valerie and Ann, I dedicate this book.
Download from Wow! eBook <www.wowebook.com>
About the Reviewers
Tomer Grassiany, born in Israel, has been interested in computer science since an early
age. His serious work in computers and computer networks began during his high school
years in Israel. Prior to coming to the U.S. at the age of 19, he administered networks at two
Israeli computer animation schools.
As Chief Technology Officer and later Chief Software Architect of Meaningful Machines, a
New York-based company, Tomer was in charge of research and development, including
bringing the inventors' ideas to life. His focus was on the company's new and sometimes
experimental applications. From 1999 to 2007, Tomer developed applications that brought
the company's new technologies from concept to reality in the fields of Machine Translation,
Data Mining, and Artificial Intelligence. During this time, he worked closely on machine
translation with Professor Jaime Carbonell, the Allen Newell Professor of Computer
Science at Carnegie Mellon University.
Tomer went on to found COMET Classifieds in 2007. The leading classifieds website in
COMET's portfolio is TennisLessons.com, which has coaches listed in over 400 cities across 40
countries. Helping to connect over 30,000 students and coaches every month, it has become
the most popular website for finding tennis lessons.
Tomer has been working since the start of 2009 doing custom PrestaShop projects for
new and existing shops worldwide. He is also a PrestaShop Moderator on the English
and Hebrew forums.
Tomer's newest venture is Presto-Changeo.com. Created in 2009, the website offers his
PrestaShop modules and provides tips on how to troubleshoot and customize PrestaShop.
His modules help shops to create a better experience for their customers, and increase
productivity and sales.
I would like to acknowledge my parents, Dalia and Telo Grassiany, who
supported and backed me throughout my life, and Eli Abir, who taught me
a lot and always believed in me and my abilities.
Download from Wow! eBook <www.wowebook.com>
Ardian Yuli Setyanto is a 22-year-old website developer from Indonesia and currently
specializes in PrestaShop module and theme creation. He also moderates the PrestaShop
local forum for Indonesian users.
Being a freelancer and a householder for a year has been a wonderful experience for him
and he thanks his wife, Niela Pratamasari, for always supporting him.
You can get an update on PrestaShop tutorials and modifications on Ardian's blog
(http://ardianys.com/) and follow him on Twitter (http://twitter.com/
ardianys). His opinion about PrestaShop: "Although currently PrestaShop lacks in
documentation, I have already found the great PrestaShop documentation in its
source code."
Download from Wow! eBook <www.wowebook.com>
Download from Wow! eBook <www.wowebook.com>
Table of Contents
Preface 1
Chapter 1: Building Your PrestaShop 13
Case studies 13
Downloading PrestaShop 14
Time for action – transferring files to your web host 15
Making a database 17
Time for action – creating a database 18
How to install PrestaShop 20
Time for action – the PrestaShop auto-installer 20
Post-install security 25
Deleting the install folder 25
Time for action – how to delete the install folder 25
Renaming the admin folder 26
Time for action – renaming the admin folder 26
Your shop-front explained 27
Header 27
Column (left & right) 27
Main content 28
Footer 28
Your admin control panel 28
Time for action – logging in to your PrestaShop control panel 29
Control panel guided tour 29
Before we continue 31
Summary 32
Download from Wow! eBook <www.wowebook.com>
Description:The book is structured so that following the chapters in order leads to building a fully functioning and live trading PrestaShop. Guidance is also given should you wish to learn or practice your skills in an offline, non-trading environment. Every chapter contains clearly structured and illustrated