Book Image

Magento 1.3 Sales Tactics Cookbook

Book Image

Magento 1.3 Sales Tactics Cookbook

Overview of this book

Magento is a feature-rich, professional open source e-commerce solution that offers users complete flexibility and control over the look, content, and functionality of their online store. Although Magento provides users with the power to create dynamic e-commerce sites, it can be challenging to get beyond the basics and create sites that are tailored to your unique business needs.This book gives you a hands-on experience on Magento, helping you increase your revenue by implementing proven sales tactics on your Magento site.This book contains techniques to help you with each stage of selling to your customers: attracting visitors, driving them to your product pages, making the sale, increasing sales, engaging your customers, and more. It contains a powerful mix of techniques for increasing sales in your online storefront. Over thirty of the techniques are short and stand alone. A few are designed to be used together, such as the seven techniques in the chapter on creating an international storefront. Some techniques make creative use of Magento’s standard features. A few techniques combine Magento with other tools, such as social networking sites. All the techniques are explained in clear, step-by-step directions, with many screenshots. The book uses an example site for each technique, so that you can see exactly how it will affect your storefront. You can jump into the book at any point, or, work through it from beginning to end.
Table of Contents (15 chapters)
Magento 1.3 Sales Tactics Cookbook
Credits
About the Author
About the Reviewer
Preface

Setting up your international website/store/store view under a separate URL


For our example store, we use http://brew-me-a-cup.com. We are going to set up our store for Spain under http://brew-me-a-cup.com/spain. However, we must be careful from now on to ensure that we never have a product or category that uses the URL /spain. That URL is now reserved only for our Spanish customers.

How to do it....

First, we will copy .htaccess and index.php into the new website's directory.

  1. 1. On your web server, under the default Magento directory, create another directory for your international store. In our example, we will create http://brew-me-a-cup.com/spain.

  2. 2. From the default Magento directory, copy the files .htaccess and index.php into the directory that you just created.

  3. 3. With a text editor, open the copy of index.php.

  4. 4. Look for the line $mageFilename = 'app/Mage.php';. Change it to $mageFilename = '../app/Mage.php';.

  5. 5. Look for the line Mage::run();. In the parentheses, insert the code for...