Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang
Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang
Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang
Ebook282 pages1 hour

Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang

Rating: 0 out of 5 stars

()

Read preview

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.

LanguageEnglish
Release dateJan 10, 2016
ISBN9781310124990
Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang
Author

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

E-Commerce For You

View More

Related articles

Reviews for Free Multilingual E-Commerce With WordPress, WooCommerce & Polylang

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    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 tag

    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

    Enjoying the preview?
    Page 1 of 1