- 1. Dashboard Widgets
- 2. Configuration
- 3. Products and attributes
- 4. Adding a simple product
- 5. Adding a grouped product
- 6. Adding a downloadable product
- 7. Adding an External or Affiliate product
- 8. Adding a variable product
- 9. Coupon management
- 10. Order management
- 11. e-commerce Widgets
- 12. e-commerce Shortcodes
1. Dashboard Widgets
Upon activation e-commerce will install several widgets detailing different aspects of your store. Just like any other dashboard widget, they can all be viewed and arranged on your WordPress dashboard.
First of all you will notice that the Right Now widget has been enhanced to contain a statistical overview of your e-commerce store.
There is also a handy monthly sales graph so that you can monitor your stores performance at a glance.
Finally, you will also find your stores most recent orders and product reviews.
Once installed you can configure your shop via the e-commerce > Settings screen.
Welcome to the e-commerce command center. Inside this panel you’ll find all the core e-commerce settings such as catalog settings, pages, payment gateways, shipping methods and tax rates accessible via the tabs at the top of the screen.
- Base Country/Region – This defines your shops base country (i.e. the country you are based in as a seller). It determines default tax rates and customer locations.
- Allowed Countries – Here you can select which countries you want to sell/ship to – useful if only trading in your own country for instance. Customers outside your allowed countries will not be able to checkout.
- Guest checkout – Determines whether or not users must be registered to checkout. If disabled, users will be prompted for an email address and password during checkout.
- e-commerce CSS – We’ve made the default e-commerce stylsheet as flexible as possible to ensure compatibility with many free WordPress themes. However, if you’re developing a bespoke theme, you will most likely want to disable these styles and start from scratch.
- Lightbox – This checkbox simply enables or disables the lightbox (pop-up image effect) on product pages. Useful if your theme comes with its own lightbox, or you want to use a different lightbox to the bundled ‘Fancybox’ (http://fancybox.net/).
- Demo store – Enable the demo store option to show a banner at the top of your store informing people its only a demo and that orders won’t be fulfilled.
- ShareThis Publisher ID – ShareThis provides you with some social sharing buttons. Enter your publisher ID to show the ShareThis widget on products pages.
- Google Analytics ID – If you want to use e-commerce’s in-built support for Google analytics enter your ID here. You can then enable standard tracking and eCommerce tracking.
There is also the force SSL option. SSL is a cryptographic protocol which provides communication security over the Internet. Shopping carts use this protocol to protect sensitive data typically gathered during the checkout process.
e-commerce ships with some offline gateways and PayPal Standard as default payment gateways. These do not involve the communication of credit card data from your server, rather directing the user to the respective payment portals. Users do however input other personal details such as their address(es), email and postal. For this reason we strongly recommend using SSL to encrypt that data and protect your customers personal information and yourself as a business.
It goes without saying that if you’re using a direct payment gateway (such as PayPal Pro, which transfers credit card details) you must be using SSL and should be looking at PCI compliance.
Fortunately, SSL certificates are inexpensive and your host will be able to install one for you providing your server meets other security requirements.
Here you specify your e-commerce specific pages. These will be populated by default once the plugin is activated. You may however wish to change these pages to something more bespoke to your store.
You will also notice the prepend base page option – this prepends the ‘shop’ page to all product URLs, for example, http://yourshop.com/product-category/tshirts/ would become http://yourshop.com/shop/product-category/tshirts/
Finally there’s the terms page ID option. The terms page is not created by default, but if you create one and set it in this option during checkout there will be a checkbox asking the user to agree with the terms and conditions. Handy!
The catalog options let you choose which product fields are enabled, weight units and the following:
- Image options – Define sizes for images in the product catalog. Some themes will change these values for you.
- Pricing options – This section lets you choose currency options so you can localise your store. If your currency is not listed then it may not be supported by any payment gateways; you can add currencies using code or by using additional payment gateway plugins.
- Inventory options - See below
For many stores (particularly those with a physical shop as well as an online shop) stock management is crucial. Fortunately, we’ve got that covered in e-commerce. It’s beneficial to decide whether you’re going to manage stock before setting up all your products so this is more of a warning than a guide.
The options in the inventory section control whether or not you want to manage stock, when email notifications should be sent out, what levels are classed as ‘out of stock’, and whether or not out of stock items should actually be shown on your site.
If you choose to manage stock, you will be able to input stock quantities on each individual product.
- Calculate shipping – Enable or disable shipping site-wide. No shipping means shipping will not be calculated at all – useful if running a store of downloadable products for example.
- Shipping calculator – The cart page can show a shipping calculator which takes a users country/state/postcode and works out available shipping methods. This option enables or disables it.
- Ship to billing – This option removes the ability for a customer to input a separate shipping address to their billing address. This can help prevent fraud, but may be inconvenient for customers.
The shipping methods section is self-explanatory – this is where you set your methods up. By default e-commerce comes with Flat Rate (a single rate per order or per item) and Free Shipping. More methods can be added through additional plugins.
If you’re selling taxable products you will need this to be calculated and displayed on your store. An important option to configure here is whether your catalog prices include tax (that is the price you apply to each individual product). There are two options, but you need to be consistent throughout your store:
- If you set catalog prices to exlcude tax, tax will be calculated based on the product price and applied at the cart/checkout.
- If you set catalog prices to include tax, then a backward calculation will be made based on your specified tax classes.
On the tax screen you will see a textarea for ‘additional tax classes’. This lets you define classes you can give products if they have a non-standard rate of tax. For example, books may have a lower rate than other products.
Below that is the main area for adding tax rates. This is the most important section as it controls what rates are applied to a customers order, based on their billing address. The tax rules system in e-commerce has been built to be as flexible as possible to work with any country.
To get started, add a rule and select the countries it applies to, the class (e.g. standard rate), the rate itself (a percentage with 4 decimal places to reduce rounding errors), and whether or not it applies to shipping as well.
In the UK for example, I would set up a standard rate of 20.0000% which applies to shipping.
e-commerce comes bundled withPayPal standard and two offline methods (Cheque and BACS). Each gateway is configured separately, click on its name to bring up the options. You can add more gateways by purchasing additional payment gateway plugins.
3. Products and attributes
Now for the fun stuff, adding your products! But before diving into your first product you should familiarise yourself with how product categories, tags and attributes work.
As you would expect, categories and tags work in very much the same way as any other post type categories and tags. They can be applied before, or during the creation of a product. Attributes on the other hand are a little different.
Attributes are pieces of data which can add more technical information to a product and help users further refine your catalog while browsing / searching. Creating an attribute set is done in a similar way to a category (we’ll get to that later). For now we’ll describe attributes and their primary benefit with a hypothetical example:
Say you’re opening a video game store, selling all the latest games for all the latest consoles. In this case, your top level product category will most likely be Games inside of which the majority of your catalog will reside.
Now, you could very easily create sub categories for different consoles, genres, etc etc but this information is better suited as attributes. Why? Because a user can select concurrent attributes while refining their search.
Example: they’re looking for a sports game for the PS3. This is as simple as navigating to the Games category, then selecting the PS3 and Sport attributes from a sidebar widget. As you’d expect, this will refresh the page so that it only displays sport games for the PS3.
Setting up attributes themselves uses an interface you will be familiar with. It’s recommended that you set up any attributes you will be using over and over in this way. Navigate to Products > Attributes and you will be presented with the following screen:
Here you can quickly and easily add attributes and their terms.
You also have the option to create attributes on a per product basis. This is useful should you want to display some extra information about one product which is unlikely to apply to any other. For example you may sell a one-off Japanese game to an English audience. You could make a ‘Language’ attribute for that one product and display in the product data section on the front end.
With attributes and categories set up and stock management configured, we can begin to actually add products. When adding your product the first thing to ascertain is which type of product it will be.
- The Simple product type covers the vast majority of any products you may sell. Simple products are shipped and have no options. For example, a can of drink.
- A grouped product is a collection of related products which can be purchased individually. For example, a PS3 could be a grouped product as there are 80GB, 120GB and 200GB variations of that same parent product.
- An External or Affiliate product is one which you list and describe on your web site, but is sold elsewhere.
- A variable product is a product which has several different variations, each of which may have a different SKU, price, stock options etc. For example a tshirt available in several different colours and/or sizes.
4. Adding a simple product
Adding a simple product is a straight forward process and not too dissimilar from authoring a standard WordPress post. In the Products menu click Add Product; you will be presented with a familiar interface, and should immediately see where to type the product title and full description.
Under the main dialog box is the Product Type & Visibility panel. Here you define the product type (as outlined above), specify it’s visibility, whether or not the product is featured and whether it is a downloadable (digital), or virtual (service) product.
Next is the Product Data tab set. This is where the majority of the product data is input. Price, SKY, weight and product dimensions are all configured here.
In the tax tab you define the products tax status and if you’ve set up additional tax classes, which tax class the product belongs to.
The inventory tab allows you to manage stock for the product individually and whether to allow back orders.
Up-sells and Cross-sells are added by searching for a particular product, then clicking the ‘Up-sell’ or ‘Cross-sell’ button in the search results.
In the attributes you can assign attributes to a product. You will see a select box containing any attribute sets you may have created (E.G. platform). Click add and you will be able to apply the terms attached to that attribute (E.G. Nintendo DS) to the product. You can choose to hide the attribute on the frontend by simply leaving the ‘Visible’ checkbox unticked. Custom attributes can be applied here too by choosing ‘Custom product attribute’ from the select box.
Finally you can add an excerpt which should be a short description of the product. Typically this will appear next to the product imagery on the listing page whilst the long description will appear within the Product Description tab.
On the right hand side of the Add New Product panel you will see your product categories in which you can place your product, just like a standard WordPress post. You can also assign the product tags and choose a featured image. The featured image will appear in the catalog / archive pages of your site and be the main image on the individual product page.
If you’d like to create a lightbox gallery of product images simply upload any further images, attach them to the product in the same way you’d upload any other image.
5. Adding a grouped product
A grouped product is created in much the same way as a simple product. The only difference in fact is choosing “Grouped” from the Product Type dropdown in the General tab. Upon choosing this the price field will disappear, this is fine, you’ll be adding the price to the individual child products. Once you’re happy with the grouped (parent) product, publish it and come back to the Add New Product page.
Now you need to add the child product which sits within the grouped product. The only information you’re required to fill in here is the following:
- Title. E.G. Playstation 3 80 GB
- Product Type (simple)
- Parent post (inside the Product Type Options panel, General tab). Choose your parent (E.G. Playstation 3) from the selectbox
We would also recommend changing “Visibility” to hidden so that people cannot browse to your child products individually. You should also configure stock etc if you’re planning to manage stock levels of your grouped product.
6. Adding a downloadable product
A downloadable product is added in the same way as a simple product with the following exceptions / differences:
In the “General” tab, choose your desired product type from the Product Type select box. Then check the ‘Downloadable’ checkbox beneath this drop down. Doing this will create a new ‘Download’ tab below.
Inside this panel you can also specify a download limit. If you want to restrict the amount of times a customer can download the file, simply place that number in this field.
Downloadable products also incur no shipping costs.
7. Adding an External or Affiliate product
Choose ‘External/Affiliate’ from the product type drop down. This will remove unnecessary tabs such as tax and inventory and insert a new product URL field. This is the destination at which users can purchase the product.
8. Adding a variable product
Variable products are arguably the most complex of product types. They let you define variations of a single product where each variation may have a different SKU, price or stock level.
To add a variable product first selection the type ‘variable’ from the product type dropdown. The interface will change to reflect your selection, for example, the attributes panel will show a new column called ‘variation?’ with which you can define which attributes will become variation options. Make sure to assign all values of the attribute to the variable product which will become options.
After defining the variation attributes you must save your product. After doing so you can begin to add variations, or link all possible variations.
Once added, each variation of a product may be assigned a unique image, SKU, weight, stock quantity, price and sale price. If the sku, weight, and stock fields are not set then it simply inherits the values assigned to the parent variable product. Price fields must be set per product, but there are some handy bulk-edit buttons at the top for assigning the same values to all variations.
On the frontend, when viewing a variable product, the user will be presented with dropdown boxes to select the variation options; selecting options will reveal the stock, price and add to cart button for the variation so the user can purchase the product. The user will only be able to select variations that exist (and that are enabled) – non-existing variations will be greyed out.
9. Coupon management
Coupons can be managed from the e-commerce > Coupons screen. Coupons have several attributes which make them really flexible:
- Coupon code – The code the user must enter to use the coupon
- Coupon type – Cart discount, Cart % discount and product discount
- Coupon amount – Value or percentage off
- Individual use – Determines whether the customer can use multiple coupons at once
- Product IDs – A list of product ID’s the cart must contain for the coupon to be valid
- Usage limit – How many times a coupon can be used by all customers before being invalid
- Expiry date – When a coupon should expire and no longer be used.
Once added, customers will be able to enter coupon codes on the cart page.
Used coupon codes will be viewable when viewing orders.
10. Order management
When you start taking orders the order management page will begin to fill up. You can view these orders by going to e-commerce > Orders in the left hand admin menu. Each order has a status which can be one of the following:
- Pending – Order received
- Failed – Payment failed/declined
- Processing – Payment received
- Completed – Order fulfilled
- On-Hold – Awaiting payment
- Cancelled – Cancelled by an admin or the customer
- Refunded – Refunded by an admin
On this page you can also see an overview of data relating to each order. Should you need more information, click the order number to see the single order page.
From the single order page, not only can you view all order data, you can edit/update it:
- Change order status
- Edit order items – Modify the product, it’s price and tax rate
- Stock – Reduce and restore stock for an order
- Invoice – Emails the customer order details and a payment link – very handy if manually creating an order for somebody
On this page you will also notice an ‘Order Notes’ panel. This is where notes for the order can be viewed or added.
Notes are added by e-commerce when an event takes place, such as reducing stock. Some payment gateways add notes for debugging also.
You also have the option to add customer notes here – they will be highlighted in purple. Customers can view customer notes by viewing an order, or using the e-commerce order tracking page.
11. e-commerce Widgets
There are several widgets bundled into e-commerce which allow you to display key information in your theme’s widgetised sections.
- Shopping Cart – Displays the shopping cart contents and links to the cart / checkout
- Price Filter – Allow the user to refine products based on price on product category pages
- Layered Nav – Allows the user to refine products based on attributes
- Recent Products – Display a list of recent products
- Top Rated Products – Display a list of top rated products
- Featured Products – Display featured products
- Recently Viewed Products – Display a list of products the customer has recently viewed
- Product Search – Search products only
- Product Categories – Display product categories in list format
- Product Tag Cloud – Display product tags in tag cloud format
- Recent Reviews – List recent customer reviewed products with ratings
12. e-commerce Shortcodes
e-commerce comes with several shortcodes which can be used to insert content inside posts and pages. The following shortcodes are inserted into pages upon installation and therefore shouldn’t need to be used anywhere else:
- [e-commerce_cart] – shows the cart page
- [e-commerce_checkout] – shows the checkout page
- [e-commerce_pay] – shows the checkout pay page
- [e-commerce_order_tracking] – shows the order tracking form
- [e-commerce_my_account] – shows the user account page
- [e-commerce_edit_address] – shows the user account edit address page
- [e-commerce_view_order] – shows the user account view order page
The following shortcodes can be used anywhere you want:
Hummingbird 9-27x56mm ED Micro Spotting Scope$459.95
Hummingbird 7-22x50mm ED Micro Spotting Scope$407.95
Hydraulic Arm Edge$79.95
Snap Circuits LED Fun$27.95
Dig it! Triceratops$25.95
RSR Binocular Tripod Adapter$49.95
Microdirect 1080P HDMI Digital Microscope$229.95
Celestron PowerTank Lithium$177.95
EclipSmart 10X42 Solar Binoculars$89.95
Polar scope AZ-EQ5$111.95
Hydraulic Arm Edge$79.95
Omni XLT Alt-Az 102mm (4.02″) Refractor Telescope$425.95
Microscope Slide Making Kit$27.95
Kimble Bomex 100ml Graduated Cylinder with Spout$17.95
Capacity Rain Gauge$6.95
Nature DX 10X42 Binoculars$188.95
Digital Microscope Pro$155.95
Acuter Compound Biological Microscope 1L$265.95
Verifly Digital Luggage Scale (50kg X0.1kg)$45.95
da Vinci Paddle Boat Model Kit$21.95
Beaker, Griffin, 250ml, single$5.75
Snap Circuits Junior 100 Experiments$35.95
- – Show a single product by ID
- – Show a single product by SKU
- – Show multiple products by ID
- – Show multiple products by SKU