1. Trang chủ
  2. » Công Nghệ Thông Tin

PrestaShop 1 5 beginners guide

260 227 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 260
Dung lượng 5,76 MB

Nội dung

www.it-ebooks.info PrestaShop 1.5 Beginner's Guide Build your own attractive online store with this fast and flexible e-commerce solution Jose A Tizon John Horton BIRMINGHAM - MUMBAI www.it-ebooks.info PrestaShop 1.5 Beginner's Guide Copyright © 2013 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 Second Edition: April 2013 Production Reference: 1120413 Published by Packt Publishing Ltd Livery Place 35 Livery Street Birmingham B3 2PB, UK ISBN 978-1-78216-106-6 www.packtpub.com Cover Image by Asher Wishkerman (wishkerman@hotmail.com) www.it-ebooks.info Credits Authors Jose A Tizon Project Coordinator Anugya Khurana John Horton Proofreader Reviewers Samantha Lyon Bart Sallé Bryan Shaw Indexer Tejal R Soni Acquisition Editor Andrew Duckworth Production Coordinator Pooja Chiplunkar Lead Technical Editor Susmita Panda Cover Work Pooja Chiplunkar Technical Editors Saumya Kunder Ishita Malhi www.it-ebooks.info About the Authors Jose A Tizon studied computer engineering at the University of Huelva and Czech Technical University in Prague He started developing websites as a hobby in the year 2000 It then became a profession, as he is now a Software Development Engineer at Amazon In this way, he has developed e-commerce websites for small and big companies in Spain, Czech Republic, and the UK, finding a new experience in every single one Jose spends his spare time with his love, Yolanda, and in developing new ideas Yolanda, for standing me every day and not getting angry when I spend so much time developing some of my ideas I love you! Mua My parents Antonio and Paqui; brother, Francisco; and my dog, Simba who give me all the support in the world and inspire me Ivan (Kaly), for being himself, and friends from Huelva and Prague, who were with me in every significant moment of my life Cesar Mariel, for pushing me in the startup world The open source community, because without them, this world would be completely different And of course, you, for reading this! www.it-ebooks.info John Horton is a fan of most things digital and particularly enjoys the growing mobile industry He has published books, apps, and websites He spends his working hours helping people make a success out of their web/ e-commerce enterprises through his design business, www.HadronWebDesign.com He is encouraging the pursuit of mathematics through the free Android app, MathLegends www.MathLegends.com In his spare time, he likes shooting Zombies with his two sons To the other author, who must take the credit for this book! www.it-ebooks.info About the Reviewers Bart Sallé is a web developer from the Netherlands specializing in HTML5, CSS3, PHP, MySQL, JavaScript, and jQuery He loves open source software and works with TYPO3, WordPress, Joomla!, PrestaShop, WooCommerce, osCommerce, and VirtueMart Bart Sallé was one of the first people in the Netherlands who started building his webshops using PrestaShop as a base He is still as excited about PrestaShop now as he was back when the first stable version of PrestaShop was released His company website can be found at www.os-evolution.com His personal website can be found at www.bartsalle.nl I would like to acknowledge Jolanda, my wife, and my beautiful kids, Noa and Fenne I would also like to acknowledge my mother Lies, and my father Theo, who passed away in January this year www.it-ebooks.info www.PacktPub.com Support files, eBooks, discount offers and more You might want to visit www.PacktPub.com for support files and downloads related to your book Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy Get in touch with us at service@packtpub.com for more details At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks TM http://PacktLib.PacktPub.com Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library Here, you can access, read and search across Packt's entire library of books Why Subscribe? ‹‹ ‹‹ ‹‹ Fully searchable across every book published by Packt Copy and paste, print and bookmark content On demand and accessible via web browser Free Access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books Simply use your login credentials for immediate access www.it-ebooks.info www.it-ebooks.info Table of Contents Preface 1 Chapter 1: Getting Started Know your business Downloading PrestaShop Technical requirements Time for action – transferring files to your web host Making a database Time for action – creating a database How to install PrestaShop Time for action – the PrestaShop auto-installer Post-install security Deleting the install folder Time for action – how to delete the install folder Renaming the admin folder Time for action – renaming the admin folder Your shop front explained Your shop-back explained Time for action – logging in to your PrestaShop control panel Control panel guided tour Before we continue Summary Chapter 2: Back Office 8 10 10 12 12 18 18 18 19 19 20 22 23 24 25 27 29 Dashboard Catalog Orders Customers Price rules Shipping and localization 30 30 31 31 31 31 www.it-ebooks.info Pop Quiz Answers Chapter 1, Getting Started Pop quiz – starting your e-commerce Q1 Enable multistore Q2 Stats Q3 Click on Catalog and then click on Product Chapter 2, Back Office Pop quiz – themes and things Q1 Editing the HTML template with CSS and JavaScript Q2 Editing the CSS file of the theme Q3 Click on the Themes sub-tab under Preferences and once there, I select my logo Chapter 3, Merchandising for Success Pop quiz – a few product marketing questions Q1 Creating a special offer Q2 The new body toner uses the latest fitness technology www.it-ebooks.info Pop Quiz Answers Chapter 4, Getting More Customers Pop quiz – PrestaShop search Q1 Setting weight in the section Search under the Preferences tabs Q2 Adding to the file the following line, Disallow: [Path] Chapter 5, Tools, Newsletters, Extra Income, and Statistics Pop quiz – tools and preferences challenge Q1 By selecting Use PHP mail() function Recommended; works in most cases Q2 By clicking on Menus under the Administration tab Q3 Yes, PrestaShop does everything for us Chapter 6, Security and Disaster Recovery Pop quiz – security Q1 To be consistent with every profile Q2 Change the design of our store, add or delete an other employee, modify the orders, among others Q3 Using SSL [ 228 ] www.it-ebooks.info Pop Quiz Answers Chapter 7, Checkouts and Shipping Pop quiz – a refresher Q1 Because it is a protocol for encrypting information over the Internet Q2 Because, when the customers use the PayPal payment gateway, they automatically jump to the PayPal servers Chapter 8, Ready to Sell Pop quiz – sell your products Q1 Forum, specialized webs, search engine registration and AdWords Q2 Products that the customer often buys Q3 Having a good SEO, writing good posts and giving a good customer services Chapter 9, Go… to the Future Pop quiz – become an e-commerce expert Q1 It is more important to have a very good product line and customer services Q2 Magento, PrestaShop, and osCommerce Q3 Audience [ 229 ] www.it-ebooks.info www.it-ebooks.info Index A accessories about 69 creating 70 admin folder renaming 19 Administration about 49 Employees 221 Menus 221 Permissions 221 Preferences 221 Profiles 221 Quick Accesses 221 Advanced Parameters about 49 Configuration Information 220 CSV Import 220 DB backup 220 E-mail 220 Logs 220 Performance 220 SQL Manager 220 Webservice 220 AJAX 33 Amazon about 7, 142 URL Apache articles about 86 creating, CMS used 90, 91 displaying 86, 87 keyword density 87 page formatting 87 tips 86-88 writing 86, 87 attributes about 73, 74 example 74-76 Aweber URL 114 B backup process 133 Bank wire 143, 150 Beetailer Widget 178 Bikes4U.com about 125 users 125 Bing 81, 177 brute force attack 124 business repeating, with customer loyalty scheme 170-172 C canonical URLs about 85 selecting 86 cart block 33 Cart redisplay at login, Preferences tab 102 Cash on delivery 143, 149 catalog 30 www.it-ebooks.info Catalog tab about 215 Attachments 216 Attributes and Values 215 Categories 215 Features 216 Image Mapping 216 Monitoring 215 Products 215 Suppliers 216 Tags 216 categories content, creating for 60 creating 57 category descriptions adding 60 category structure planning 56 cheque 149 CMS about 35 used, for creating articles 90, 91 using 38 competitors learning from 195 Configuration Information subsection 49 contacts departments, creating to 53 content adding, to home page 35-37 creating, for categories 60 creating, for subcategories 60 Content Management System See  CMS control panel guided tour 24, 25 control panel, PrestaShop logging in 23, 24 copy creating, for store 132, 133 using 135 cross-site scripting 124 CSS file modifying 45 CSS file, editing background color 47 font size 47 currencies about 152 adding, to PrestaShop 152, 154 auto exchange rate updates 155 currency rates setting 154 customer account creating 168-70 creating, for shop 50, 51 customer loyalty scheme about 170 business, repeating with 170-172 setting up 170-172 customers about 31 vouchers, giving to 157 Customers preferences subsection, Preferences tab 40 Customers tab about 189, 190, 217 Addresses 217 Contacts 217 Customer Service 217 Groups 217 Shopping Carts 217 Titles 217 customizations adding, to products 77 D dashboard 30 database backing up 133 creating 10, 11 restoring 135, 136 database backup utility 133 DB Backup tab 49 dedicated SSL 131 departments creating, to contacts 53 discount voucher creating 175 putting, on front page 175, 176 showcasing 176 downloadable product 54 [ 232 ] www.it-ebooks.info E e-commerce about 194 future 212 e-commerce business profitability, increasing 206-211 e-mail list accessing 115, 116 e-mail marketing about 107 stages 109 with newsletters 108 E-mail, Preferences tab 103 e-mail service provider for sending newsletters 114 e-mail system for sending newsletters 114 E-mail tab 49 employees security 125 F FAB technique 62 Facebook 183 features about 71 using 72, 73 feedback getting, for products 173-175 files backing up 134 restoring 136 transferring, to web host friendly URL 84 front page discount voucher, putting on 175, 176 FTP 134 G General, Preferences tab 102 General subsection, Preferences tab 40 gift wrapping setting up 164, 165 GIMP images, creating 63 URL 63 global.css file 45 good posts writing 178 Google 81, 177 Google AdSense installing 116, 117 setting up, in PrestaShop 116, 117 Google AdWords 201 Google Analytics about 80, 120, 201 account, obtaining 120 audience 201-203 content 203 installing 120, 121 traffic sources 203 URL 120 using 121 Google Checkout about 142, 169 Bank wire 150 cash on delivery 149 cheque orders 149 installing 147-149 using 147 Google sitemaps tutorial 93 Google Webmaster Tools 177 graph, PrestaShop statistics 118 grid engines, PrestaShop statistics 118 groups about 183, 189 creating 190 using 190 guest checkout 152 H home page content, adding to 35-37 modules, moving 39, 40 secure payment 38 USP 34, 35 Home text editor 35 [ 233 ] www.it-ebooks.info I Image, Preferences tab 103 images creating, with GIMP 63 image size modifying 41 improvements, PrestaShop site 204 installation, Google AdSense 116, 117 installation, Google Analytics 120, 121 installation, Google Checkout 147-149 installation, PayPal module 146, 147 installation, PrestaShop 12-16 installation, shopping cart module 33, 34 installation, themes 43 install folder deleting 18, 19 invoices 191 K keywords selecting 80 value, discovering 81 L localization 31 Localization, Preferences tab 103 Localization tab about 218 Countries 218 Currencies 219 Languages 218 States 218 Taxes 219 Tax Rules 219 Translations 219 Zones 218 logs 49 M MailChimp about 111 URL 114 Maintenance, Preferences tab 103 MAMP marketing, PrestaShop site 204 Menus 104 merchandise returns 191 merchant account 142 meta descriptions 82 meta information entering, for products 82, 83 meta keywords 82 meta tags about 81 types 81, 82 meta tags, types meta descriptions 82 meta keywords 82 meta titles 81 meta titles 81 modules about 31, 219 arranging 32, 33 moving 39, 40 payment 219 positions 219 Modules tab 32 multistore feature 53 must have pages about us 52 creating 52 delivery 52 legal notice 52 terms and conditions 52 MySQL 10 MySQL database 10 N newsletter module setting up 109 newsletter modules about 111 Mailchimp 111 newsletters about 111 creating 112 designing 112 sending 113 sending, PretaShop module used 113 sending, web host used 114 [ 234 ] www.it-ebooks.info newsletters, e-mail marketing 108 Nginx Notepad++ about 45 URL 45 O one page checkout 151 order about 31 handling 184, 185 placing 168-170 processing 188, 189 order messages creating 184, 185 Orders preferences subsection, Preferences tab 40 Orders, Preferences tab 102 Orders tabs about 189, 216 Credit Slips 217 Delivery Slips 217 Invoices 217 Merchandise Returns 217 Order Messages 217 Statuses 217 osCommerce 54 P payment gateway chargebacks 144 cost 143 flexibility 143 friendliness 144 getting your money 143 SSL requirements 143 payment provider 142 payments checking 184-187 handling 141 PayPal about 142, 169 using 145 PayPal account 145 PayPal checkout setting up 145 PayPal module installing 146, 147 Performance tab 49 permanent links block 51 permissions about 128 configuring, to profiles 128, 129 levels 128 phpList 114 PHPMyAdmin 135 post-install security, PrestaShop admin folder, renaming 19 install folder, deleting 18, 19 Preferences tab about 40, 219 Cart redisplay at login 102 CMS 220 Customers 220 Customers preferences subsection 40 E-mail 103 exploring 102 General 102, 219 General subsection 40 Geolocation 220 Image 103, 220 image size, modifying 41 Localization 103 Maintenance 103, 220 Orders 102, 219 Orders preferences subsection 40 Products 220 Products preferences subsection 40 Search 220 SEO & URLs 220 SEO & URLs subsection 40 Store contacts 102 Store Contacts 220 Themes 220 Themes subsection 40 PrestaShop control panel, logging in 23, 24 currency, adding 152, 154 database, creating 10, 11 downloading features, using 72, 73 [ 235 ] www.it-ebooks.info future 212 Google AdSense, setting up 116, 117 installing 12-16 meta tags 82, 83 product, adding 63-66 sales tax, handling 150, 151 search weightings 93, 94 SSL, setting up 132 technical requisites themes 41 upgrading 138, 139 URL URL, for forums 47 web resources 223, 224 PrestaShop auto-installer 12 PrestaShop field Database Engine 16 Database name 16 Database server address 16 Login 16 Password 16 Tables prefix 16 PrestaShop module used, for sending newsletters 113 PrestaShop site improvements 204 marketing 204 performance, measuring 195 plan, making 205, 206 statistics, analyzing 195-203 PrestaShop statistics about 117, 196 best categories 198, 200 best products 198, 200 catalog statistics 198, 200 graph 118 grid engines 118 modules, setting up 118 Pages not found 197 setting up 117 shop search 201 statistics engines, setting up 118 statistics options, exploring 119, 120 summary 201 PrestaShop thimble hunting 25 Price Rules about 31, 218 Cart Rules 218 Catalog Price Rules 218 product categories creating 57-60 product comments getting 172-175 product descriptions translating 98 product notifications about 110 switching on 110, 111 products adding, to PrestaShop 61-66 best sellers 69 customizations, adding to 77 highlighting 66 meta information, entering for 82, 83 recently viewed 69 selling technique 62, 63 Products preferences subsection, Preferences tab 40 profiles about 127 branding 179 creating, steps 127 permissions, configuring to 128, 129 Q Quick access about 105 creating 106 R recycled packaging options 164, 165 regular tweets 180 restored shop securing 137 robots.txt about 91, 92 creating 92 [ 236 ] www.it-ebooks.info S sales taxes 150 sale value shipping, configuring by 160, 161 Search Engine Optimization See  SEO search engines registering with 177 search-friendly URLs obtaining 84, 85 search weightings, PrestaShop about 93, 94 languages conclusion 99 languages, switching 96, 97 translations, creating 97, 98 secure payment 38 Secure Sockets Layer See  SSL security attacks brute force 124 common sense issues 124 cross-site scripting 124 SQL injection attack 124 types 124 user error 124 SEO 80 SEO & URLs subsection, Preferences tab 40 shared SSL 131 shipping about 31, 158, 218 calculated by sale value 160 configuring, by sale value 160, 161 configuring, by weight 161, 162 scenarios 159, 160 shipping options about 158 super-simple shipping configuration options 159 Shipping tabs Carriers 218 Price Ranges 218 Weight Ranges 218 shop customer account, creating for 50, 51 shop-back 22, 23 shop categories about 55 structure, planning 56 shop front 20, 21 Shop Importer 54 shopping cart module installing 33, 34 Shopping Carts tab 190 site marketing 177 sitemap 93 sitemaps.xml file 93 social media Facebook 183 Twitter 179 used, for promoting store 179-184 Social Share buttons 178 spam 113 spamming avoiding 183 special offer about 67 creating 67 SQL injection attack 124 SSL about 130 setting up, in PrestaShop 132 using 143 statistics options exploring 119, 120 statistics, PrestaShop site analyzing 195-203 Stats about 51, 221 Referrers 221 Search Engines 221 statuses 186, 187 store contacting 53 copy, creating for 132, 133 promoting, social media used 179-184 Store contacts, Preferences tab 102 store logo uploading 48, 49 subcategories content, creating for 60 subscriber list obtaining 114, 116 subscribers list, building 111 [ 237 ] www.it-ebooks.info summary writing 89 super-simple shipping configuration options 159 T tabs customizing 104, 105 tag clouds about 83 creating 84 technical requisites, PrestaShop template creating 45 CSS file, modifying 45 customizing 44 themes about 41, 47 installing 43 searching 42 selecting 42 store logo, uploading 48, 49 Themes Catalog 219 Themes, Preferences tab 40 tutorial, Google sitemaps 93 tweeting lightning guide 180 Twitter 179 W WAMP web host files, transferring to used, for sending newsletters 114 web resources, PrestaShop 223, 224 website translating 99 weight shipping, configuring by 161, 162 X XAMPP Y Yahoo! 177 U Unique Selling Proposition See  USP users creating 126, 127 user security 125 USP about 34, 35 V vouchers about 155 creating 155-157 giving, to customers 157 [ 238 ] www.it-ebooks.info Thank you for buying PrestaShop 1.5 Beginner’s Guide About Packt Publishing Packt, pronounced 'packed', published its first book "Mastering phpMyAdmin for Effective MySQL Management" in April 2004 and subsequently continued to specialize in publishing highly focused books on specific technologies and solutions Our books and publications share the experiences of your fellow IT professionals in adapting and customizing today's systems, applications, and frameworks Our solution based books give you the knowledge and power to customize the software and technologies you're using to get the job done Packt books are more specific and less general than the IT books you have seen in the past Our unique business model allows us to bring you more focused information, giving you more of what you need to know, and less of what you don't Packt is a modern, yet unique publishing company, which focuses on producing quality, cutting-edge books for communities of developers, administrators, and newbies alike For more information, please visit our website: www.packtpub.com About Packt Open Source In 2010, Packt launched two new brands, Packt Open Source and Packt Enterprise, in order to continue its focus on specialization This book is part of the Packt Open Source brand, home to books published on software built around Open Source licences, and offering information to anybody from advanced developers to budding web designers The Open Source brand also runs Packt's Open Source Royalty Scheme, by which Packt gives a royalty to each Open Source project about whose software a book is sold Writing for Packt We welcome all inquiries from people who are interested in authoring Book proposals should be sent to author@packtpub.com If your book idea is still at an early stage and you would like to discuss it first before writing a formal book proposal, contact us; one of our commissioning editors will get in touch with you We're not just looking for published authors; if you have strong technical skills but no writing experience, our experienced editors can help you develop a writing career, or simply get some additional reward for your expertise www.it-ebooks.info Building eCommerce Sites with Drupal Commerce Cookbook ISBN: 978-1-782161-22-6 Paperback: 226 pages Over 50 recipes to help you to build beautiful, responsive eCommerce sites with Drupal Commerce Learn how to build attractive eCommerce sites with Drupal Commerce Customise your Drupal Commerce store for maximum impact Reviewed by the creators of Drupal Commerce: The CommerceGuys Mastering Magento ISBN: 978-1-849516-94-5 Paperback: 300 pages Maximize the power of Magneto: for developers, designers, and store owners Learn how to customize your Magento store for maximum performance Exploit little known techniques for extending and tuning your Magento installation Step-by-step guides for making your store run faster, better and more productively Please check www.PacktPub.com for information on our titles www.it-ebooks.info PrestaShop 1.3 Theming – Beginner’s Guide ISBN: 978-1-849511-72-8 Paperback: 312 pages Develop flexible, powerful, and proffessional themes for your PrestaShop store through simple steps Control the look and feel of your PrestaShop store by creating customized themes Learn the tips and tricks to make theming in PrestaShop easier Create your own PrestaShop theme in a few simple steps A beginner's guide packed with step-by-step exercises to simplify your task of developing a new theme for PrestaShop stores Instant E-Commerce with Magento: Build a Shop ISBN: 978-1-782164-86-9 Paperback: 52 pages A fast-paced, practical guide to building your own shop with Magneto Learn something new in an Instant! A short, fast, focused guide delivering immediate results Learn how to install and configure an online shop with Magento Tackle difficult tasks like payment gateways, shipping options, and custom theming Full of clear screenshots and step-by-step instructions Please check www.PacktPub.com for information on our titles www.it-ebooks.info ... scenarios Shipping calculated by sale value 14 5 14 5 14 5 14 6 14 7 14 7 14 7 14 9 14 9 15 0 15 0 15 0 15 1 15 2 15 2 15 2 15 2 15 4 15 4 15 5 15 5 15 5 15 6 15 7 15 8 15 9 15 9 16 0 Time for action – configuring shipping... Common sense issues Brute force SQL injection attack 11 3 11 3 11 4 11 4 11 4 11 4 11 5 11 6 11 6 11 7 11 8 11 8 11 8 11 9 12 0 12 0 12 0 12 1 12 2 12 3 12 4 12 4 12 4 12 4 [v] www.it-ebooks.info Table of Contents Cross-site... e-mail 10 9 10 9 11 0 11 0 11 1 11 1 11 1 11 1 11 2 Creating newsletters 11 2 Product information Genuine news Designing your newsletters 11 2 11 2 11 2 Sending newsletters 11 3 A quick word about spam Using a PrestaShop

Ngày đăng: 12/03/2019, 14:39

TỪ KHÓA LIÊN QUAN