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)

Adding categories and subcategories (Simple)


We will look at the different ways to categorize a sample musical instruments shop and enter a sample category and subcategory under it.

Getting ready

OpenCart creates sample categories and products upon completion of the installation process. We will first need to delete them to start with a clean store structure. Let's browse to http://yourwebsite.com/admin, log in to the system, and click on the Catalog/Categories menu. Let's select all the categories and click on the Delete button.

How to do it...

  1. Let's add our first category to our web store. Open the Catalog menu, click on Categories, and then click on the Insert button.

  2. There are several tabs on this page. We will provide data for the General tab first.

  3. For the Data tab, let's fill the textboxes, select the options according to the following screenshot, and click on the Save button:

  4. In a similar manner, let's add a subcategory under the category that we have just added. Here is the sample screenshot to achieve this:

  5. Here is how the user interface will look when a visitor browses to the subcategory:

How it works...

Here's an explanation of the fields under the General tab:

  • Category Name: This is shown as a link to the visitor on the left sidebar by default, and it can optionally be displayed at the top of the page as well. The subcategories and the products listed under a category are shown to the visitor when a category name is clicked.

  • Meta Tag Description: This is used by search engines to describe a web page. So enter this information wisely to get a better rank with regard to relevancy and attract more visitors to your shop from the search engines.

  • Meta Tag Keywords: This is also for the search engines. It is useful to fill this textbox even though some search engines now ignore it. The search engines will relate our web page to the keywords we provide here.

  • Description: This is for our shop visitors. It describes what the category does and some of the items visitors can find under it.

Here's an explanation of the fields under the Data tab.

  • Parent Category: It is used when we open a subcategory under another category.

  • Image: The image we provide here is shown on the website. It is useful to provide such images whenever possible. It will attract more attention and provide more views for the product.

  • Top: If you have lots of main categories, you can use this option to show the most important ones at the top.

  • Status: If the Disabled option is selected, a category is not shown in the store.

    Note

    Be careful! Disabling a category will not disable the products in the category. The products will still be available by direct URL browsing if they are enabled.