Your Word Press database

As you probably recall from initially setting up WordPress, all of WordPress' settings are stored in a database. This database is invaluable because without it, not only will WordPress not work, but you will also have lost all of your posts, pages, and comments, as well as your WP e-Commerce products and settings. It's not enough to simply transfer your existing files and folders to your new server, but you must also export your database, import it on the production server, and then tell your...

Payment gateway versus merchant account

A payment gateway is simply a computer-driven service that authorizes a customer's credit or debit card, thus allowing for a collection of funds from that account. It also checks whether or not the card is legitimate. A merchant account, on the other hand, is an account that you set up with a bank or other third-party company. The purpose of this account is to actually process credit or debit cards and transfer the funds to the bank account that you have arranged to receive those funds. Do you...

Platform

One strong recommendation is to create a testing ground in which to install WordPress and the WP e-Commerce plugin that is independent from your production server. That way you can test, and re-test, any changes without fear of breaking your live site. Turning your personal computer into a testing platform is simple. We only need a few different tools in order to create a development environment, including A web server, such as Apache A database server, such as MySQL Fortunately, a few free...

Changing the theme colors

This brings us to our last bit of tweaking the colors used in our theme. Let's examine that style used for the text body in your stylesheet once again font-size 62.5 * Resets 1em to 10px * font-family 'Lucida Grande', Verdana, Arial, Sans-Serif background d5d6d7 url('images kubrickbgcolor.jpg') color 333 Take a look at the value given for the background property. Notice how it has both a color and an image We can use a combination of colors and images when styling our theme. Colors unless you...

CSS basics

Go to your WordPress Dashboard and click on the Editor link underneath the Appearance menu, as seen below. In the right-hand side column of the Theme Editor, take a look at the file called Header (header.php). Part-way down the page, you should see a line of code like this < link rel stylesheet href < php bloginfo('stylesheet_url') > type text css media screen > What this seemingly innocuous line of code does is pull the style sheet into the page, thereby loading all the formatting...

Product Settings

Underneath the Button Settings are the Product Settings which gives you an assortment of options with regard to how customers can interact with your products. The following screenshot shows the Product Settings options Display Fancy Purchase Notifie a irons Add quantity field to each product description If you want your customers to be able to rate your products, set the Show Product Ratings option to Yes. Doing so will enable a five-star rating system beneath each product, which will keep...

Shortcode and PHP tags

Shortcode and PHP tags are advanced means of customizing your online store. Using literally a short snippet of code, you can add any number of functional bits to your store. These can Display products from a specific group So, what is the difference between a shortcode and a PHP tag From a visual standpoint, a shortcode is a snippet of text between square brackets, such as this dosomething . In a nutshell, a shortcode is really just a macro code that can be expanded at runtime to reflect some...

Creating a new eCommerce theme

Once you have backed up your theme files to the appropriate place, you can work on creating a new theme. The easiest way to get started with a new theme is to make a full backup of the default theme folder inside wp-content uploads wpsc themes. Once you have a backup copy 1. Give the folder a new name, such as myshoptheme. 2. Inside that folder, you will find a file called default.css. Rename that file to the same name as the containing folder. In our case, we will change the name to...

General Shipping Settings

To view and modify your shipping settings, switch to the Shipping tab at the top of the Settings page, as seen in the following screenshot General Presentation Admin Shipping Payment Options Under the General Settings, you have the option to globally enable or disable shipping. If your shop is comprised of digital downloads only, then you can safely switch the Use Shipping option to No and rejoice You no longer have to worry about any shipping configuration. The following screenshot shows the...

Pay Pal Payments Standard

Acquired by eBay in 2002, PayPal is perhaps the largest and most recognized payment processor in the world. Due to a turbid past, it is also the most criticized. That said, PayPal has been around since the dawn of the 21st century and is available in over 190 countries, making it a sound choice for a default payment gateway. For buyers, PayPal offers a convenient way to pay for items by using either a credit or debit card, an electronic check, or from their existing PayPal balance. Customers do...

Available payment gateways

The free version of the WP e-Commerce plugin offers access to several different payment gateways. They each have their own benefits and potential downsides, as well as pricing schemes. Purchasing the Gold Cart grants access to several additional gateways, most notably Authorize.net. The first step in choosing which gateway is right for you is to do your homework. Spend some time reading about the services offered by each gateway, as well as any limitations. Also, what fees does each gateway...

Product Specials widget

Need a place to highlight your on-sale items You can use the Product Specials widget to ensure that your customers won't miss your discounted items. Just like with the Product Donations widget, you must first flag certain items as being on sale for the widget to receive input from them. You can do this by setting a Sale Price when editing one or more of your products in your catalog, as seen in the screenshot below. Products with automatic discounts will appear wherever you place the Product...

Product Tags widget

Perhaps you have visited websites or blogs that utilize a tag cloud sometimes called a word cloud , which is a popular way of visually depicting the content of a site using user-generated tags. Arranged alphabetically, the relative size of the tag shows its importance or frequency of occurrence. In other words, the more frequently a tag is associated with an item, the greater weight it will have, resulting in a larger appearance within the cloud. By using the Product Tags widget, we can do the...

Cross sales

Enabling cross sales for your store is another simple option at your disposal for helping to increase sales. What are cross sales Imagine that you are shopping at a popular online merchant such as Amazon.com. Whenever you view an individual item, further down the page you will find a list of other items that customers have purchased along with the current item. These are cross sales. The suggestion is to buy other items along with the current one. Enabling cross sales is a one-click affair....

Changing the header image

Almost every theme has some kind of image in the header. Generally, replacing that image with one of your own choosing is relatively simple. A few themes even come with their own user-friendly options for replacing the header image, but if your theme does not, you can still customize it. The header image is loaded from a graphic file defined in the CSS property for the header area. Use the WordPress Default theme as an example. If you open the Header file header.php , you can find the markup...

Use a custom Add to Cart image

Height 2 5px text-align center vertical-align top padding 0px 0px 0px 0px font-size 8pt margin-top 3px This is the code that controls how the Add to Cart button appears, taken directly from the ishop.css file. If you are using the Default or the Marketplace theme as your foundation, you will not see this much styling. In particular, notice how this section contains a background-image with a url associated with it. That is the image that currently displays as your Add to Cart button. Using your...

Coupons and discounts

One of the simplest and most effective ways to attract a customer's attention is to offer coupon codes for discounts on your products. Likely, we have all seen these in action before at our favorite online retailers. The basic premise is that the customer can enter a valid code during the checkout process to get a discount on a single item or on the entire order. The code that you create could be valid for only one use or for a set period of time. To create a coupon for customer usage, first...

Setting up Google Checkout

If you are dissatisfied with PayPal, or want to offer an alternative payment gateway in conjunction with PayPal, then we recommend Google Checkout. As with PayPal, there are no monthly fees you only have a pay a small, per-transaction fee. Keep in mind that as of this writing, Google Checkout is only available for sellers in the United States and the United Kingdom, though customers can purchase items from almost any country. Google Checkout will hopefully be available in more countries in the...

Basic YAK setup and usage

Getting started with YAK is pretty simple. First, install it like any other plugin for WordPress, either by uploading it manually or by using the built-in plugin installer. Once it's installed, you will see new entries for Yak General and Yak Shipping under Settings in your WordPress Dashboard. Just as with WP e-Commerce, there are a few initial settings that you should configure. First of all, switch to the Basic tab at the top to configure the Basic Settings Most of the settings displayed on...

Chronopay

Based in Amsterdam, Chronopay is a reputable payment gateway for store owners based in the European Union. Like Authorize.net, Chronopay requires integration with a merchant account from an outside company. Chronopay offers seamless integration with the shop owner's website, meaning that the entire transaction will occur without being transferred to an external site. This level of integration looks professional, but also requires the purchase of a Secure Sockets Layer SSL certificate from your...

Purchasing and installing the Gold Cart module

At present, the Gold Cart upgrade has two pricing schemes one for individual bloggers or hobbyists, and one for groups or businesses. What's the difference The difference is only in the price, not in features or functionality. Individual store owners and non-profit organizations can purchase the Single Blogger license. If your for-profit company has more than one staff member, you should opt for the Business license This Module for ttie WordPress e-Commerce Plugln adds mare functionality to...

Add to Cart Buy

The easiest way to find all the code required for individual products is to navigate back to your product catalog and select your desired product. When editing that product, you should notice the blue information icon to the right-hand side of the product name, as seen below. By clicking on the information icon, you will expose a plethora of code and tags unique to that product, as seen below. Display Product Shortoode wpsc_products product_id '47' Buy Now Shortoode buy_now_button 47 Add to...

Basic Word Press Simple Pay Pal Shopping Cart setup and usage

You know the drill by now install WPSPSC just like any other WordPress plugin. Once it's installed, you should see a new entry for WP Shopping Cart under Settings in your Dashboard, as seen below. That link will lead you to a shocking single-page of configuration settings. You will likely only have to alter one or two settings, particularly your currency settings or your PayPal e-mail address, as seen in the following screenshot Your Shopping Cart Your cart is empty USD e.g. USD, EUR, GBP, AUDJ...

Database backup and restoration

If you have completed this chapter up to this point, then you already have a backup of your database, and exported it either via phpMyAdmin or via the command line. All you need to do is follow those same steps that we completed earlier to create another database backup. But wouldn't it be nice if we could automate this process so that we don't need to remember to manually back up everything We can. One method is to use the excellent WP-DB-Backup plugin This plugin not only allows you to...

Using an external Shipping Calculator

The WP e-Commerce plugin supports integration with UPS and USPS. As these are both third-party services, you should create an account with one or the other before you can offer them as valid shipping options. Using one of these services relieves you of some of the burden of determining how much shipping to charge. UPS or USPS will calculate it exactly for you and present the cost to the customer during checkout. The UPS Shipping Calculator differs from USPS in that it does not actually require...

Basic eShop setup and usage

Getting started with eShop is as easy as, if not easier than, YAK. The first step is to install the eShop plugin just like you would any other plugin for WordPress. Once it's installed, you will see in your Dashboard an eShop link under Settings and a full, expandable eShop side menu, as shown in the following screenshot There are only a few minor settings to configure before you can hit the ground running. To get started, click on the eShop link under Settings to make a few basic configuration...

Product Page Settings

The largest number of presentation options falls under the Product Page Settings category. The following screenshot shows the available options Select what product group you want to display on the products page Replace Page Title With Product Category Name Product Groups Only All products displayed O Sliding Product Groups 1 product per page Unless you purchased any of the Gold Cart upgrades, there is only one view available next to Product Display. Have no fear, the Gold Cart is not required...

Table of Contents

Chapter 1 Getting Started with WordPress and e-Commerce WordPress is flexible and extensible Installing from the WordPress Dashboard Installing themes through the WordPress Dashboard Activating third-party themes 29 Enabling and disabling comments 31 Disabling comments on individual posts and pages 33 Removing comment traces from your theme 33 Setting up a static front page 36 WordPress SpamFree contact form 45 Chapter 3 Configure Your e-Commerce Settings_49 Base Country Region, Tax Settings,...

Word Press 29 eCommerce

Build a proficient online store to sell products and services Build a proficient online store to sell products and services All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information...