Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang
()
About this ebook
Do you want to set up an E-commerce site with WooCommerce and WordPress in multiple languages without getting migraines? Well, look no further! This book will show you the complete process step by step, with nothing but freely available open source WordPress plugins.
About This Book
- A step-by-step guide on how to set up a multilingual online store with WooCommerce, the most popular E-commerce solution for WordPress, and the free WordPress plugin Polylang.
- With open source code that you can apply directly to your WordPress website. The code snippets are also available for download from a supporting website.
- With a comprehensive index
- The author is open for feedback, so you can make this book better by contributing to it!
Who Is This Book For?
You already know the basics of WooCommerce (and, naturally, WordPress), and now you want to create a multilingual store, so you wonder how to achieve that with free WordPress plugins. You're not looking for any dry theory or a WooCommerce general beginner's book, but a practical step-by-step guide.
What Will You Learn?
- Step-by-step you create an E-commerce site with WordPress and WooCommerce in multiple languages.
- You create a Child WordPress theme and the theme functions.php file, so you can add all the code needed to make multilingual work.
- Installing and configuring WooCommerce and create a product that's ready for translation.
- Installing and working extensively with Polylang, a free WordPress that turns your WordPress site and your WooCommerce store multilingual.
- Fixing issues by adding custom code to your theme's functions.php file.
- How to edit WooCommerce language files directly.
Author Bio:
Have you ever had that feeling of being stuck in an unfulfilling professional life? The author knows this sounds awfully corny, but working with WordPress, and the great open source community surrounding it, gave his life the kick it thankfully needed.
Andrew F. Burton received his initial professional training at Zurich Business School, and worked for decades in banking and finance-related industries when he wasn't backpacking around the world way back before the lame Lonely Planet days. When the web came along, he set up an Internet startup soon after the first web browser became popular. However, being an Internet pioneer in a small place like Switzerland didn't quite turn out the way he had wanted it to be, so he switched back to finance. He regrets not moving to the U.S. instead.
When he discovered open source CMS and WordPress 3.0 that came out in 2010, he was instantly hooked. Always interested in getting the best out of WordPress for his clients, he now works as an independent consultant for all things Web in Switzerland, a country where being multilingual is part of an everyday life.
He loves learning about web technologies, so over the years he has become quite familiar with the classic tools like HTML, CSS, PHP, jQuery, but also more recent ones like AngularJS and Ionic Framework.
Last, but not least: The author feels that WordPress has one of the coolest communities, developers, designers and users, among others, that he's ever been in. He tries to take part in its local community in Switzerland whenever he has time to spare. He's also a member of the WordPress Meetup and WooCommerce Meetup in Zurich. He can be contacted via Twitter at woomultilingual.
Andrew F. Burton
Have you ever had that feeling of being stuck in an unfulfilling professional life? The author knows this sounds awfully corny, but working with WordPress, and the great open source community surrounding it, gave his life the kick it thankfully needed. Andrew F. Burton received his initial professional training at Zurich Business School, and worked for decades in banking and finance-related industries when he wasn't backpacking around the world way back before the lame Lonely Planet days. When the web came along, he set up an Internet startup soon after the first web browser became popular. However, being an Internet pioneer in a small place like Switzerland didn't quite turn out the way he had wanted it to be, so he switched back to finance. He regrets not moving to the U.S. instead. When he discovered open source CMS and WordPress 3.0 that came out in 2010, he was instantly hooked. Always interested in getting the best out of WordPress for his clients, he now works as an independent consultant for all things Web in Switzerland, a country where being multilingual is part of an everyday life. He loves learning about web technologies, so over the years he has become quite familiar with the classic tools like HTML, CSS, PHP, jQuery, but also more recent ones like AngularJS and Ionic Framework. Last, but not least: The author feels that WordPress has one of the coolest communities, developers, designers and users, among others, that he's ever been in. He tries to take part in its local community in Switzerland whenever he has time to spare. He's also a member of the WordPress Meetup and WooCommerce Meetup in Zurich. He can be contacted via Twitter @woomultilingual.
Related to Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang
Related ebooks
Building E-Commerce Solutions with WooCommerce - Second Edition Rating: 0 out of 5 stars0 ratingsCreate a WordPress Website in Ten Easy Steps Rating: 0 out of 5 stars0 ratingsShopify Application Development Rating: 0 out of 5 stars0 ratingsFire Your Web Guy!: Use WordPress to Build Your Own Ecommerce Website Without Any Coding Rating: 0 out of 5 stars0 ratingsWordPress in 20 Steps Rating: 0 out of 5 stars0 ratingsBuilding E-commerce Sites with VirtueMart Cookbook Rating: 5 out of 5 stars5/5WordPress Websites: Beginner's Guide to Easily Building a Website & Customizing It With Themes and Plugins Rating: 0 out of 5 stars0 ratingsCreate Your Website In Simple Steps - For Ages 9 To 99! Rating: 0 out of 5 stars0 ratingsMagento Beginner's Guide Rating: 0 out of 5 stars0 ratingsWordPress for Education Rating: 5 out of 5 stars5/5WordPress Web Design For Dummies Rating: 3 out of 5 stars3/5Wordpress Websites for Business: How Anyone Can Maximize Website Performance and Results Rating: 0 out of 5 stars0 ratingsWordPress Plugin Development: Beginner's Guide Rating: 0 out of 5 stars0 ratingsLearning Bootstrap Rating: 1 out of 5 stars1/5Apache Solr PHP Integration Rating: 0 out of 5 stars0 ratingsWordPress 3.7 Complete Rating: 5 out of 5 stars5/5Easy WP Transfer Rating: 0 out of 5 stars0 ratingsBootstrap 4 Cookbook Rating: 0 out of 5 stars0 ratingsWordPress 4 Business Website Redesign: With Custom Coding Of Imported Database Rating: 1 out of 5 stars1/5How To Build A Website Using WordPress Rating: 0 out of 5 stars0 ratingsResponsive Media in HTML5 Rating: 0 out of 5 stars0 ratingsSetup Your WordPress 4.X.X Website From Scratch Rating: 0 out of 5 stars0 ratingsAmazing plugins for Amazon Affiliate Website: Lesson 9 : Learn Affiliate Marketing in 9 Days Rating: 0 out of 5 stars0 ratingsosCommerce Webmaster's Guide to Selling Online Rating: 0 out of 5 stars0 ratingsWooCommerce Cookbook Rating: 0 out of 5 stars0 ratingsWooCommerce A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsWordPress 3.0 jQuery Rating: 0 out of 5 stars0 ratingsHow to Build an Online Store - eCommerce Project Management: Beginners Guide Rating: 0 out of 5 stars0 ratingsWordPress E-Commerce Blueprint: How to Create and Manage WordPress Online Store for Beginner Rating: 3 out of 5 stars3/5FBA Fortunes: The Mastermind Roadmap to 7 Figures Rating: 0 out of 5 stars0 ratings
E-Commerce For You
How I Made My First $1000 on Etsy (With No Social Media Following and No Money to Spend on Advertising Rating: 5 out of 5 stars5/5Chat-GPT Income Ideas: Pioneering Monetization Concepts Utilizing Conversational AI for Profitable Ventures Rating: 4 out of 5 stars4/5The Passive Income Cheat Sheet Rating: 4 out of 5 stars4/5A Beginner's Guide To Day Trading Online 2nd Edition Rating: 4 out of 5 stars4/52022 Best Ways To Make Money Online Rating: 4 out of 5 stars4/5Starting an Etsy Business For Dummies Rating: 5 out of 5 stars5/5The Digital Marketing Handbook: A Step-By-Step Guide to Creating Websites That Sell Rating: 5 out of 5 stars5/5How To Create & Sell Digital Products Rating: 4 out of 5 stars4/5Online Investing Rating: 0 out of 5 stars0 ratingsTrade Like a Stock Market Wizard: How to Achieve Super Performance in Stocks in Any Market Rating: 5 out of 5 stars5/5The Beginner's Affiliate Marketing Blueprint Rating: 4 out of 5 stars4/5Building a StoryBrand: Clarify Your Message So Customers Will Listen Rating: 4 out of 5 stars4/5Digital Marketing For Dummies Rating: 0 out of 5 stars0 ratingsWorking Backwards: Insights, Stories, and Secrets from Inside Amazon Rating: 4 out of 5 stars4/5Sewing to Sell: How To Sell Locally & Online; The Beginner's Guide to Starting a Craft Business Rating: 5 out of 5 stars5/5The Bitcoin Standard: The Decentralized Alternative to Central Banking Rating: 4 out of 5 stars4/5The YouTube Formula: How Anyone Can Unlock the Algorithm to Drive Views, Build an Audience, and Grow Revenue Rating: 4 out of 5 stars4/5Influencer: Building Your Personal Brand in the Age of Social Media Rating: 4 out of 5 stars4/580/20 Sales and Marketing: The Definitive Guide to Working Less and Making More Rating: 4 out of 5 stars4/5How to Write Copy That Sells: The Step-By-Step System For More Sales, to More Customers, More Often Rating: 4 out of 5 stars4/5
Reviews for Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang
0 ratings0 reviews
Book preview
Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang - Andrew F. Burton
Table of Contents
Cover
Free Multilingual E-commerce With WordPress, WooCommerce & Polylang
A Note on Updates
Found an Error? Missing a Topic?
Do You Need Support?
Contact
Version
Changelog
Preface
Welcome
Multilingual WordPress, E-commerce & WPML
Why this book? What’s it about?
Who is it for?
How to use this book?
The contents – a quick overview
What You Need to Know & Tools You Need
Important Note
Notes
Multilingual WooCommerce with Polylang – How Complete?
The Multilingual Features Table
Setting Up a Multilingual Store – Possible Workflow
WooCommerce language files
Theme (parent and child) language files
Code snippet for correct WooCommerce Pages routing
Further Strings translation using wpml-config.xml
Chapter One – Creating a WordPress Child Theme
Installing WordPress
WordPress – Creating a Child Theme based on TwentyFifteen
Notes
Chapter Two – Installing WooCommerce
Chapter Three – Configuring WooCommerce
WooCommerce Permalinks – Product category and tag base – Important!
WooCommerce Permalinks – Product permalink base
Installing WordPress languages
Installing WooCommerce languages
Chapter Four – Installing Polylang
Chapter Five – Configuring Polylang
Chapter Six – Multilingual WooCommerce Products, Categories, Tags and Custom Fields
Product Categories
Products
Product Tags and Custom Fields
Notes
Chapter Seven – Multilingual Product Image & Gallery
Chapter Eight – Multilingual WooCommerce Pages
Shop, Cart, Checkout, My Account, Order Tracking and Terms & Conditions
Order Tracking
Terms and Conditions
Notes
Chapter Nine – Set Up Multilingual WordPress Menus
Chapter Ten – Multilingual WooCommerce Pages Routing
Option One: Page Routing with default Shop Page slug from Permalinks Shop Base
Step One – Adding a code snippet to functions.php
Step Two – Multilingual Shop URLs in Menu
Option Two: Page Routing with Shop Page containing the page slug
Notes
Chapter Eleven – Cart Page – Return to Shop & Continue Shopping Redirect
Help! Redirect is not working – missing apply_filters()
Notes
Chapter Twelve – Product Attributes
Creating Product Attributes
Registering Taxonomy Product Attributes with Polylang
Translating Product Attributes – Polylang Strings Translation
Creating and Translating Attribute Terms
Setting Attributes for Variable Products
Setting Variations
Notes
Chapter Thirteen – Multilingual WooCommerce Widget Titles
Chapter Fourteen – Shipping Classes
Chapter Fifteen – Introduction to Strings Translation – With wpml-config.xml
Flat Rate Label – Translate Method Title with wpml-config.xml
Notes
Chapter Sixteen – String Translation WooCommerce Shipping Options – wpml-config.xml
Activating All Shipping Options
Flat Rate Method Title – Translating Using Steps from Chapter Fifteen
Retrieve All Shipping Label Strings - wpml-config.xml
Remove Free
from Shipping Method Labels
Notes
Chapter Seventeen – String Translation WooCommerce Checkout Options – wpml-config.xml
Activating All Checkout Options
Notes
Chapter Eighteen – String Translation WooCommerce Emails Options – wpml-config.xml
Email Options Main Page
Individual Emails
Chapter Nineteen – More WooCommerce String Translation – wpml-config.xml
WooCommerce Currency Options
WooCommerce Price Display Suffix (VAT/GST)
Chapter Twenty – WooCommerce Helper Plugins String Translation – wpml-config.xml
Stripe for WooCommerce – a credit card payment gateway
WooCommerce Pay for Payment – options added to payment gateways
Notes
Chapter Twenty-One – Multilingual Shop Page
Notes
Chapter Twenty-Two – Add to Cart
Label
Possible Translation Issue with Add to Cart
Label
Add to Cart
Label - Alternative to Theme language file: Use the get_text filter
Notes
Chapter Twenty-Three – Troubleshooting AJAX Issues – Cart & Checkout Page
Notes
Chapter Twenty-Four – Cart Validation – Avoiding Multilingual Product Duplication
Chapter Twenty-Five – Editing WooCommerce Language Files – Working with Loco Translate
Chapter Twenty-Six – Tips for Hard-to-reach Strings – Nested Options Arrays & pll_register_string
Strings from nested options arrays – wpml-config.xml
Polylang Functions – pll_register_string / pll__
Notes
Useful Links & Info
WooCommerce and Polylang
Polylang
Polylang Functions Used
WooCommerce
WooCommerce and WPML
WooCommerce Filters & Functions Used
WordPress Functions and Filters Used
WooCommerce Checkout Options - Chapter Seventeen
Thank you for reading!
Visit our web site for the code snippets of this book and Q & A:
Did you like this book? Please share your thoughts!
If you’ve got a moment, please leave a review at:
About the Author
Index
Free Multilingual E-commerce
With WordPress, WooCommerce & Polylang
Published by Andrew F. Burton
Distributed by Smashwords. Thank you guys!
© Copyright 2016, Andrew F. Burton, Egg/Zurich, Switzerland
All rights reserved.
Cover design by Andrew F. Burton
Cover Image by Igor Feuz
Tool used for EPUB Creation:
http://sigil-ebook.com/
Thank you, guys!
No part of this publication may be reproduced, or stored in a retrieval system, or transmitted in any form or by any means, mechanical, recording or otherwise, without the express written permission of the copyright holder, except in the case of brief quotations embedded in critical articles or reviews.
However, the code examples in this book are licensed under the GNU General Public License, the same version as WordPress, which you can read here:
https://wordpress.org/about/gpl/
Code may be downloaded from:
http://woomultilingual.com/
Or from GitHub:
https://github.com/andrewfburton/free-multilingual-ecommerce-code-snippets
Disclaimer:
The author has made every possible effort in preparing this book to ensure that the information presented is accurate. Please note that the information contained in this book is sold without warranty, either express or implied. Its author, and its selling points and distributors cannot be held liable for any damages caused or alleged to be caused directly or indirectly by this work.
WordPress is a registered trademark of the WordPress Foundation. WooCommerce was formerly owned by WooThemes. Since May 2015 both are part of Automattic, Inc. The author does not guarantee the accuracy of information about trademark information of companies and products mentioned in this book.
A Note on Updates
WordPress and the plugins used in this book are under constant development, which means I try my best to keep this book updated. You would not want to work with an outdated book, and a few months could already make a book on tech useless.
Whether you get an updated version of this book and when largely depends on how the selling point where you bought this book from handles updates. On my website (see Contact below) I always list the current version number of the book. If your book does not carry the most recent version number, please contact me.
Found an Error? Missing a Topic?
If you spot any errors in this book, or feel that a topic related to multilingual WooCommerce is missing, I’d appreciate it if you let me know. See the contact methods below.
Do You Need Support?
I set up a Questions & Answers section on my site, where I will try to answer general questions as best as I can. For anything beyond that, I do provide professional support for your particular WooCommerce multilingual setup using Polylang.
Contact
Website for code download and Q & A:
http://woomultilingual.com/
Contact form:
http://woomultilingual.com/contact
Twitter:
https://twitter/woomultilingual
Email:
andy@woomultilingual.com
Version
1.2 - February 2016
Changelog
1.2 - February 2016 - Certain WordPress terminology (e.g. WordPress Administration Screens) corrected.
1.1 - February 2016 - Screenshots updated to Polylang 1.8, texts amended, also for WooCommerce 2.5.x
1.0 - January 2016 - Initial Book Release
Preface
Welcome
H ope you enjoy this guide on how to set up a multilingual E-commerce site with WordPress, WooCommerce, and most of all, the WordPress plugin Polylang!
Multilingual WordPress, E-commerce & WPML
Do we need multilingual E-commerce?
Even though English still appears to be the prime language of commerce and its cousin E-commerce, try telling that to a Chinese consumer, a buyer in South Asia or South America, or one of the 45 million Hispanophones [ 1 ] (yeah, I know, the word is a mouthful) living in the USA.
At some point, the adjective multilingual
could crop up into your life and perhaps you, as a WordPress developer, a consultant or an experienced WordPress webmaster, want to build an online shopping experience in multiple languages.
For WordPress, there is one solution that appears to rule the whole multilingual arena and if you’ve looked at turning WooCommerce into a polyglot
, it’s likely that you’ve already visited this web