magento 1 diy - link.springer.com978-1-4842-2457-1/1.pdf · magento 1 diy viktor khliupko...
TRANSCRIPT
Magento 1 DIY
Viktor Khliupko
Magento 1 DIY
Viktor Khliupko Duesseldorf, Germany
ISBN-13 (pbk): 978-1-4842-2456-4 ISBN-13 (electronic): 978-1-4842-2457-1DOI 10.1007/978-1-4842-2457-1
Library of Congress Control Number: 2016961761
Copyright © 2016 by Viktor Khliupko
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.
Managing Director: Welmoed SpahrAcquisitions Editor: Louise CorriganDevelopment Editor: James MarkhamTechnical Reviewer: Richard CarterEditorial Board: Steve Anglin, Pramila Balan, Laura Berendson, Aaron Black, Louise Corrigan,
Jonathan Gennick, Todd Green, Celestin Suresh John, Nikhil Karkal, Robert Hutchinson, James Markham, Matthew Moodie, Natalie Pao, Gwenan Spearing
Coordinating Editor: Nancy ChenCopy Editor: Kim Burton-WeismanCompositor: SPi GlobalIndexer: SPi Global
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail [email protected], or visit www.springer.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.
For information on translations, please e-mail [email protected], or visit www.apress.com.
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–eBook Licensing web page at www.apress.com/bulk-sales.
Any source code or other supplementary materials referenced by the author in this text is available to readers at www.apress.com. For detailed information about how to locate your book’s source code, go to www.apress.com/source-code/.
Printed on acid-free paper
iii
Contents at a Glance
About the Author ����������������������������������������������������������������������������� xv
About the Technical Reviewer ������������������������������������������������������� xvii
■Chapter 1: Setup ����������������������������������������������������������������������������� 1
■Chapter 2: Sales Generation ��������������������������������������������������������� 99
■Chapter 3: Growth ���������������������������������������������������������������������� 145
■Chapter 4: Enterprise������������������������������������������������������������������ 177
■Chapter 5: Custom Magento Development ��������������������������������� 217
Index ���������������������������������������������������������������������������������������������� 223
v
Contents
About the Author ����������������������������������������������������������������������������� xv
About the Technical Reviewer ������������������������������������������������������� xvii
■Chapter 1: Setup ����������������������������������������������������������������������������� 1
Downloading and Installation ������������������������������������������������������������������ 2
Server/Hosting ���������������������������������������������������������������������������������������� 3
Local Hosting ������������������������������������������������������������������������������������������������������������ 4
Magento Templates ��������������������������������������������������������������������������������� 5
Marketplaces ������������������������������������������������������������������������������������������������������������ 5
Top eCommerce Website Design Trends ������������������������������������������������������������������� 6
Magento Extensions ������������������������������������������������������������������������������ 10
Extensions �������������������������������������������������������������������������������������������������������������� 10
Installation �������������������������������������������������������������������������������������������������������������� 29
Payment Gateways �������������������������������������������������������������������������������� 36
Magento Shipping ��������������������������������������������������������������������������������� 38
Data/Product Import ������������������������������������������������������������������������������ 39
CSV File Structure for the Magento Products Import ���������������������������������������������� 40
Magento Product Import Tips and Tricks ���������������������������������������������������������������� 42
Product Import Errors and Solutions ���������������������������������������������������������������������� 43
Magmi ��������������������������������������������������������������������������������������������������������������������� 44
Excel Import to Magento with Cobby ���������������������������������������������������������������������� 44
■ Contents
vi
Performance ������������������������������������������������������������������������������������������ 45
The Metrics ������������������������������������������������������������������������������������������������������������� 45
Magento Server-side Performance ������������������������������������������������������������������������� 46
Magento Application-side Performance ����������������������������������������������������������������� 57
Magento Cleaning ��������������������������������������������������������������������������������������������������� 60
Faster Re-index ������������������������������������������������������������������������������������������������������ 61
Varnish Cache ��������������������������������������������������������������������������������������������������������� 62
Improved Magento Catalog Search ������������������������������������������������������������������������ 63
How to Improve Checkout and Add to Cart Speed in Magento ������������������������������� 64
Enterprise-Class Magento Performance Solutions ������������������������������������������������� 66
Security Guide ��������������������������������������������������������������������������������������� 67
Name and Password ����������������������������������������������������������������������������������������������� 68
Custom Path for Admin Panel ��������������������������������������������������������������������������������� 68
Two-Factor Authentication �������������������������������������������������������������������������������������� 69
Encrypted (HTTPS/SSL) Connection������������������������������������������������������������������������ 69
File Upload with Secure FTP ����������������������������������������������������������������������������������� 69
Pre-Defined IP Addresses for Administrators ��������������������������������������������������������� 69
Malicious PHP Functions ���������������������������������������������������������������������������������������� 70
Directory Listing ����������������������������������������������������������������������������������������������������� 71
MySQL Injections ���������������������������������������������������������������������������������������������������� 71
Magento Security Extensions ��������������������������������������������������������������������������������� 72
SEO �������������������������������������������������������������������������������������������������������� 77
Stay Away from Manufacturer’s Descriptions �������������������������������������������������������� 77
Extract Benefits from Your Image Alt Tags �������������������������������������������������������������� 78
Tool up with Link Building �������������������������������������������������������������������������������������� 78
Get More Profit from Similar Products �������������������������������������������������������������������� 78
Utilize Popular Products Properly ��������������������������������������������������������������������������� 78
Make Discontinued Products Work for You ������������������������������������������������������������� 78
What Should I Do with the 302 Redirects ��������������������������������������������������������������� 78
■ Contents
vii
Create a Perfect 404 Page �������������������������������������������������������������������������������������� 79
Better SEO Results with Good Navigation��������������������������������������������������������������� 79
Clean up Your URLs from Store Codes �������������������������������������������������������������������� 79
Optimize your Magento Store Wisely with Google Analytics ����������������������������������� 79
Turn Your Visitors into Buyers with the Aid of the Right Keywords ������������������������� 79
Unleash the Power of Blogging ������������������������������������������������������������������������������ 79
Get More from Rich Snippets ���������������������������������������������������������������������������������� 80
Enhance SEO with the Help of Security ������������������������������������������������������������������ 80
Never Forget About Your Robots�txt File ����������������������������������������������������������������� 80
Stay Mobile-Friendly����������������������������������������������������������������������������������������������� 80
Be the King of Social Media ������������������������������������������������������������������������������������ 80
More Complex Search Engine Optimizations ���������������������������������������������������������� 80
Integration with Google Services ���������������������������������������������������������������������������� 84
Product Tags as a Powerful Cross Linking Tool ������������������������������������������������������ 90
Pre-Launch Checklist ���������������������������������������������������������������������������� 92
… and with Google Base ���������������������������������������������������������������������������������������� 94
Final Words About Performance ����������������������������������������������������������������������������� 95
Magento Store Audit ������������������������������������������������������������������������������ 96
Conclusion ��������������������������������������������������������������������������������������������� 97
■Chapter 2: Sales Generation ��������������������������������������������������������� 99
Evaluate Your Marketing Campaign ������������������������������������������������������� 99
Understand Your Goals������������������������������������������������������������������������������������������ 100
Identify Metrics for Measuring Your Campaign����������������������������������������������������� 100
Implement Comfortable Metrics Tracking ������������������������������������������������������������� 100
Be Original with All Media Representation on Your Site ��������������������������������������� 100
Use UTM Links to Direct Users to the Most Suitable Page ����������������������������������� 101
Run Some Tests Before Publishing Your Ads �������������������������������������������������������� 101
See the Results ����������������������������������������������������������������������������������������������������� 101
Make a Conclusion and Prepare for Further Campaigns �������������������������������������� 102
■ Contents
viii
The Main Traffic Sources ��������������������������������������������������������������������� 102
Direct Traffic ��������������������������������������������������������������������������������������������������������� 102
Email Marketing ��������������������������������������������������������������������������������������������������� 102
MailChimp ������������������������������������������������������������������������������������������������������������� 103
Organic Search Engine Results ���������������������������������������������������������������������������� 105
Paid Search Results ���������������������������������������������������������������������������������������������� 105
The Best Magento Affiliate Modules ��������������������������������������������������������������������� 108
Other Useful Traffic-Driving Techniques… ������������������������������������������ 110
…to Use on Your Website ������������������������������������������������������������������������������������� 110
…to Use Outside of Your Website ������������������������������������������������������������������������� 112
Banner Ads ������������������������������������������������������������������������������������������ 113
How to Use ����������������������������������������������������������������������������������������������������������� 113
Where to Buy �������������������������������������������������������������������������������������������������������� 114
AdWords ���������������������������������������������������������������������������������������������� 114
How It Functions ��������������������������������������������������������������������������������������������������� 115
How to Fit into Your Budget ���������������������������������������������������������������������������������� 115
How to Structure Your Ad Campaign ��������������������������������������������������������������������� 116
How to Manage Your Resources ��������������������������������������������������������������������������� 116
How to Launch an AdWords Campaign ����������������������������������������������������������������� 116
Creating a Shopping Campaign ���������������������������������������������������������������������������� 119
AdWords Conversion Pixel ������������������������������������������������������������������������������������ 120
Alternatives to Google AdWords ���������������������������������������������������������� 122
ExactSeek ������������������������������������������������������������������������������������������������������������� 122
Facebook Paid Ads ����������������������������������������������������������������������������������������������� 123
Clicksor ����������������������������������������������������������������������������������������������������������������� 123
Yahoo! Bing ����������������������������������������������������������������������������������������������������������� 123
Yahoo! Gemini Ads ������������������������������������������������������������������������������������������������ 123
BuySellAds ������������������������������������������������������������������������������������������������������������ 124
■ Contents
ix
BlogAds����������������������������������������������������������������������������������������������������������������� 124
StumbleUpon Ads ������������������������������������������������������������������������������������������������� 124
Partner Promotion ������������������������������������������������������������������������������������������������ 124
Social Media Advertising and SMM Campaigns ���������������������������������� 124
Facebook �������������������������������������������������������������������������������������������������������������� 127
Twitter ������������������������������������������������������������������������������������������������������������������� 130
Instagram ������������������������������������������������������������������������������������������������������������� 132
Pinterest ��������������������������������������������������������������������������������������������������������������� 134
Best Blogging Platforms Worth Using ������������������������������������������������� 134
WordPress ������������������������������������������������������������������������������������������������������������ 135
Movable Type �������������������������������������������������������������������������������������������������������� 135
Squarespace ��������������������������������������������������������������������������������������������������������� 135
Typepad ���������������������������������������������������������������������������������������������������������������� 135
Tumblr ������������������������������������������������������������������������������������������������������������������� 135
Pen�io �������������������������������������������������������������������������������������������������������������������� 136
Weebly ������������������������������������������������������������������������������������������������������������������ 136
Anchor ������������������������������������������������������������������������������������������������������������������ 136
Best Magento Modules for Blogging �������������������������������������������������������������������� 136
Real-Time Social Experience with Periscope and Meerkat ����������������� 137
Social Influencers for Promoting Your Products Online ����������������������� 139
Get to Know Some Instagram Influencers ������������������������������������������������������������ 140
Look for Popular YouTube Vloggers, Bloggers, and Press ������������������������������������� 140
Do Some Smart Advertising on Reddit������������������������������������������������������������������ 141
Convert Your Family and Friends into Customers Through Facebook ������������������ 141
Extend Your Website to Twitter ����������������������������������������������������������������������������� 141
Mention Your Potential Influencers in a Profound Blog Post��������������������������������� 142
Amazon Product Advertising ��������������������������������������������������������������� 142
Conclusion ������������������������������������������������������������������������������������������� 143
■ Contents
x
■Chapter 3: Growth ���������������������������������������������������������������������� 145
Conversion Rate Optimization ������������������������������������������������������������� 145
How to Increase Your eCommerce Conversion Rates ������������������������������������������� 146
Magento Extensions for Conversion Rate Optimization ���������������������������������������� 147
How to Optimize Each Page of Your Magento Store ��������������������������������������������� 152
Trusted Shops ������������������������������������������������������������������������������������������������������� 154
Cart Abandonment ������������������������������������������������������������������������������� 155
Referral and Affiliate Marketing, and Promotions and Discounts �������� 156
Referral and Affiliate Marketing ���������������������������������������������������������������������������� 156
Promotions and Discounts ������������������������������������������������������������������������������������ 158
Customer Support ������������������������������������������������������������������������������� 158
Live Chat ��������������������������������������������������������������������������������������������������������������� 159
Helpdesk Services ������������������������������������������������������������������������������������������������ 160
A/B Testing ������������������������������������������������������������������������������������������ 160
Extended Admin Management ������������������������������������������������������������ 160
Magento Tax Management ������������������������������������������������������������������ 162
Extended Invoice Management ����������������������������������������������������������� 162
Advanced Shipping Management �������������������������������������������������������� 163
Order Management ����������������������������������������������������������������������������� 164
Extended Analytics Extensions ������������������������������������������������������������ 165
How to Keep Your Magento Website Clean and Healthy ���������������������� 167
Migration to Magento 2 ����������������������������������������������������������������������� 167
Architecture and Technology Stack ���������������������������������������������������������������������� 168
Performance and Scalability��������������������������������������������������������������������������������� 168
New Shopping Experiences ���������������������������������������������������������������������������������� 170
Productivity Features �������������������������������������������������������������������������������������������� 171
Customization ������������������������������������������������������������������������������������������������������� 171
■ Contents
xi
File Structure �������������������������������������������������������������������������������������������������������� 171
Migration �������������������������������������������������������������������������������������������������������������� 171
Magento 2 Migration Tools ����������������������������������������������������������������������������������� 173
Conclusion ������������������������������������������������������������������������������������������� 175
■Chapter 4: Enterprise������������������������������������������������������������������ 177
Turning Magento Community Edition into Magento Enterprise Edition (How to get all Magento EE features on the Community Platform) ����� 177
Order Archiving ����������������������������������������������������������������������������������������������������� 178
Solr Search ����������������������������������������������������������������������������������������������������������� 179
Full Page Caching ������������������������������������������������������������������������������������������������� 180
Optimized Indexing ����������������������������������������������������������������������������������������������� 183
Configurable Order Tracking Widget ��������������������������������������������������������������������� 184
Support for Alternate Media Storage: CDN and Database ������������������������������������ 185
PA-DSS Certification/Payment Bridge Magento ��������������������������������������������������� 186
Strong Data Encryption, Hashing, and Key Management ������������������������������������� 187
Backup and Rollback �������������������������������������������������������������������������������������������� 188
Merging and Rollback of Content ������������������������������������������������������������������������� 188
Customer Attribute Management �������������������������������������������������������������������������� 189
Administrator Permission Roles on Website and Store Levels: Price and Promotion Permission ������������������������������������������������������������������������������������������ 190
Logging of Administrator Actions �������������������������������������������������������������������������� 191
Category View and Purchase Permissions per Customer Group (Limited Catalog Access) ����������������������������������������������������������������������������������������������������������������� 191
Reward Points ������������������������������������������������������������������������������������������������������ 192
Store Credits ��������������������������������������������������������������������������������������������������������� 193
Multiple Wish Lists������������������������������������������������������������������������������������������������ 194
Add to Cart by SKU (Stockkeeping Unit) ��������������������������������������������������������������� 194
Return Management Authorization (RMA) ������������������������������������������������������������ 194
Content Management System ������������������������������������������������������������������������������ 195
■ Contents
xii
Scheduled Import/Export Functionality ���������������������������������������������������������������� 196
Customer Segmentation, Targeted Promotions, and Merchandising �������������������� 197
Dynamic Rules ������������������������������������������������������������������������������������������������������ 198
Persistent Shopping ��������������������������������������������������������������������������������������������� 199
Automated Email Marketing Reminder ����������������������������������������������������������������� 199
Private Sales ��������������������������������������������������������������������������������������������������������� 200
Gift Registry ���������������������������������������������������������������������������������������������������������� 201
Multichannel Marketing ���������������������������������������������������������������������� 203
PIM ������������������������������������������������������������������������������������������������������ 204
Five Reasons to Use PIM in eCommerce �������������������������������������������������������������� 204
ERP ������������������������������������������������������������������������������������������������������ 205
CRM ����������������������������������������������������������������������������������������������������� 207
SAP ������������������������������������������������������������������������������������������������������ 208
Dropshipping ��������������������������������������������������������������������������������������� 210
B2B ������������������������������������������������������������������������������������������������������ 210
Magento B2B �������������������������������������������������������������������������������������������������������� 212
Magento Extensions for Quick/Fast Order ������������������������������������������������������������ 212
Customer Activation ���������������������������������������������������������������������������������������������� 212
Multivendor Marketplace �������������������������������������������������������������������� 213
Dynamic Pricing ���������������������������������������������������������������������������������� 213
Conclusion ������������������������������������������������������������������������������������������� 216
■Chapter 5: Custom Magento Development ��������������������������������� 217
Upwork (oDesk) ����������������������������������������������������������������������������������� 218
Elance �������������������������������������������������������������������������������������������������� 218
Toptal ��������������������������������������������������������������������������������������������������� 218
Freelancer ������������������������������������������������������������������������������������������� 218
PeoplePerHour ������������������������������������������������������������������������������������� 218
■ Contents
xiii
Guru ����������������������������������������������������������������������������������������������������� 219
Magento Community Events���������������������������������������������������������������� 219
Meet Magento Events ������������������������������������������������������������������������������������������� 219
Imagine Commerce ���������������������������������������������������������������������������������������������� 220
Developers Paradise ��������������������������������������������������������������������������������������������� 220
Magento Unconference ���������������������������������������������������������������������������������������� 220
Mage Titans ���������������������������������������������������������������������������������������������������������� 220
MagentoLive ��������������������������������������������������������������������������������������������������������� 220
MageStackDay ������������������������������������������������������������������������������������������������������ 221
Conclusion ������������������������������������������������������������������������������������������� 221
Index ���������������������������������������������������������������������������������������������� 223
xv
About the Author
Viktor Khliupko is an ecommerce expert, consultant, and developer. He is also a traveler and metal music fan. He has built successful Magento-based ecommerce businesses and startups worldwide. He is the founder of the Firebear Studio.
xvii
About the Technical Reviewer
Richard Carter is a seasoned web designer and front-end developer based in the North of England. His interest in SEO comes from a desire to help clients fully understand the implications of the ways websites are built and how they perform in search engines.
Richard lives in Newcastle upon Tyne. He is the founder of established UK web design agency Peacock Carter. He has worked with clients that include the University of Edinburgh, NHS, City & Guilds, University College Dublin, and the Scottish government.