Page 1 of 212
Nov
02

How to customise WP e-Commerce Breadcrumbs

I’m posting this here as there doesn’t seem to be any documentation on how to do this. The WP e-Commerce plugin is a decent shopping cart plugin for WordPress, unfortunately it’s documentation is rather poor!

The breadcrumbs (once enabled via the settings in the admin panel) display a breadcrumb trail on your product pages. by default is looks something like this:

Store Name » Products Page » Category Name » Product Name

To edit the output you need to edit the function in the theme files. The function is:

<?php wpsc_output_breadcrumbs (); ?>

You can pass an array of arguments to the function. Your options are:

'before-breadcrumbs' => '<div class="wpsc-breadcrumbs">',
'after-breadcrumbs'  => '</div>',
'before-crumb'       => '',
'after-crumb'        => '',
'crumb-separator'    => ' &raquo; ',
'show_home_page'     => true,
'show_products_page' => true,
'echo'               => true

Now simply pass your arguments to the function, for example:

<?php wpsc_output_breadcrumbs ( array (
 'crumb-separator'    => ' &gt; ',
 'show_home_page'     => false,   
) ); ?>

The above would display breadcrumbs with ‘>’ as a separator and removes the homepage:

Products Page > Category Name > Product Name

I also think its best to put your breadcrumb function in a separate file e.g ‘wpsc-breadcrumbs.php’ then include it in each instance:

<? include "wpsc-breadcrumbs.php"; ?>

This way you don’t need to edit it multiple times should you decide to change something in the future.

I hope this can be of help to someone!

Feb
15

Choosing website colours

Choosing Website ColoursThe colours of your Web site are important because they will define the mood and emotions of your visitors as well as reflect your identity and image branding.

It’s no accident that a lot of fast food restaurants use vivid red & orange colours.  Studies have shown that these colours tend to stimulate appetite, and large corporations spend vast sums on colour research for marketing purposes. Read the rest of this article

Category: Website Design
Jan
26

How to display browser specific widgets in WordPress

BrowsersThe huge array of plugins available for WordPress is one of it’s most appealing aspects. Unfortunately not all are cross-browser compatible especially with older versions of Internet Explorer.

CSS can fix most visual problems however sometimes the javascript used by a plugin throws up an ugly error message, a common one in IE6 & IE7 versions is: “An error has occurred with a script on this page”. It prompts the user to choose whether to stop running all scripts or not. Read the rest of this article

Jan
08

Google Local Business Listings… How to rank highly

What is a Google Local Business
Listing?

Google Business Listings is basically Google’s version of the yellow pages. These listings appear on the top left hand side of Google search results, typically when a user types a service followed by place or city name. The image below shows the search results for the search phrase “dry cleaners york”. The search results page lists Local Business results at the top of the page alongside a map with a link and telephone number beside up to ten listings. Below that the regular search results are displayed. Read the rest of this article

Dec
09

What to consider when setting up an online shop

E-commerce plays an increasingly important role in the way in which products and services are purchased.

E-commerce systems such as a website can be used to market and sell to customers, and to provide after-sales support. E-commerce can also be an important part of strengthening relationships and improving the efficiency of your dealings with suppliers and other key trading partners. Read the rest of this article

Nov
23

Effective tips for marketing your website

Marketing Your WebsiteYou might have a fantastic website, but if customers don’t know about it, or where to find it, visitors and sales are likely to be very slow. To dramatically increase your chances of success it’s vital that you put some effort into marketing your business website, especially in an ever increasing competitive online market. Read the rest of this article

Oct
12

Try before you install with opensource CMS

If you have ever searched Google regarding content management systems, chances are you have already stumbled across www.opensourceCMS.com.

“Founded in 2002, opensourceCMS.com is the pre-eminent website concerning open source content management systems. The only website in the world that provides almost 200 demos of open source content management systems.” Read the rest of this article

Sep
26

How to write good website content for SEO

Content is king on the Web, and in order to attract more visitors to your site (and more importantly keep them), you’re website is going to need to be rich in quality, resourceful web content. Basically, that means you’re going to have to make your writing not only compelling, but searchable. Read the rest of this article

Page 1 of 212
Our Prices RSS Feed