Book Image

Instant E-commerce with OpenCart: Build a Shop

By : Murat Yilmaz
Book Image

Instant E-commerce with OpenCart: Build a Shop

By: Murat Yilmaz

Overview of this book

<p>For years, starting an e-commerce shop was considered a hard task with the need of a significant amount of money, time, and resources. OpenCart makes this process easier and enables anyone to create an attractive and profitable e-commerce solution. This concise guide will show you how to create a robust and striking online store with OpenCart.</p> <p>"Instant E-Commerce with OpenCart: Build a Shop" teaches you how to build your own online shop with step-by-step, easy-to-follow instructions. You will learn how to install, configure, and customize your own shop in order to create an attractive and fully functional store in no time. If you have always wanted to create an online shop, but don’t know how, then this book is for you!</p> <p>In "Instant E-Commerce with OpenCart: Build a Shop", you will be taken through the required steps to create an awesome e-commerce solution. This book starts by showing you how to correctly set up and install OpenCart, before moving on to creating products and their attributes.</p> <p>If the world of payment gateways and shipping options sounds complicated, don’t worry. This guide will take you through the essentials required to set up and manage how your customers are going to pay for and receive their orders! Finishing with vouchers, templates, and SEO, this book will ensure you end up with a powerful, attractive, and profitable online store.</p>
Table of Contents (7 chapters)

Localization (Simple)


OpenCart is a very flexible system and allows running online stores in multiple languages and currencies.

How to do it...

In this recipe, we will learn how to install new languages and currencies for our store.

Installing a new language pack

We will download and install the French language pack as an example:

  1. Let's browse to http://www.opencart.com and click on the Extensions tab from the menu at the top, and search for french in the languages category:

  2. We have found a free language pack. Let's download it to our computer and extract the contents.

  3. There are two folders named admin and catalog. The admin folder holds the translations of the administration screens while the catalog folder provides them for the shop interface.

  4. Let's browse to the language folder under the catalog folder and find the compressed french folder (french.zip). We will upload it to /catalog/language on the server and extract the contents.

  5. Finally, we will open System | Localization | Languages and add a new language with settings as shown in the following screenshot:

  6. We can see that the French flag is displayed at the top of the store along with the English flag so that it is easy to change between the languages.

Adding a new currency option

  1. In this example, we will add Canadian Dollars (CAD) as additional currency for our store.

  2. Let's open System | Localization | Currencies and insert a new currency. The following screenshot shows that it has been activated on the shop interface after the addition.

  3. We have provided an initial value for the CAD, but it is also possible to update the currency automatically using the information from the Yahoo! Finance website. This setting is located on the Local tab under System | Settings.