Integrating Big Commerce and WordPress

May 10th, 2010

If you're new here, you may want to subscribe to my RSS feed or subscribe by email. Thanks for visiting!

Can I use a real blog with Big Commerce?

For all the great things that Big Commerce do – a blog isn’t one of them yet. It has article and news functionality but you really need to bash them around if you want to do any serious blogging – and nearly every social media plan includes some blogging component.

Thankfully you can very easily integrate your blog and Big Commerce shopping cart without too much effort.

Using sub-domains we can easily separate our WordPress website/blog form Big Commerce and have them live quite happily on different servers in different locations. To ensure that user’s enjoy a consistent experience it is a good idea to style your blog and shopping cart the same – or at least apply consistent branding to both.

Getting Started

Before we can set up you need to decide whether you want your shopping cart or your blog to be the main part of your website. That is when people visit yourdomain.com do you want them to see your blog homepage or your Big Commerce shopping cart homepage.  For most people this will be the shopping cart.

Setup Big Commerce

Head over to the Big Commerce website and sign up, go through the simple walk throughs to get everything working the way you like. I won’t go into detail in this post there are plenty of others that do a better job. Search this site to find one of my How to setup Big Commerce posts. Unless you registered a domain with Big Commerce when you signed up you will need to move your domain to Big Commerce. Do this by clicking Tools -> Move to Domain and following the instructions.

Organize Hosting for WordPress

I have found the easiest and cheapest way to get hosting for WordPress is to head over to Hostgator and grab a shared account. If you don’t know, get the cheapest you an easily upgrade at anytime if you find you need more space or bandwidth.

Install and configure WordPress

Setting up the sub-domains and redirects

Adding a subdomain to Big Commerce

Once you have moved your domain to Big Commerce log in to the admin area and click Tools -> DNS Records and click a green plus sign ( + ) to add a new record.

Add blog.yourdomain.com as the host, A as the Type and the IP Address of your your Hostgator account. Click the Save Changes button and you are away.

Firefox Open Tabs at the End

March 31st, 2010

If you recently upgraded to Firefox 3.6.2 you probably noticed that the tabs don’t open like they used to. The used to open to the far right, now they open to the right of the current tab, if you’re like me you are probably always losing your tabs now.

While Firefox didn’t offer anyway to undo the insanity it is pretty easy to set straight.

In the address bar type

about:config

If you get a warning about voiding your warranty  click the “I’ll be careful, I promise” button just ignore it – it is computer geek humour

Look for (or start typing in the Filter bar)

browser.tabs.insertRelatedAfterCurrent

and double click it to change it from true to false

Close the tab (there is no need to click save it saves automatically)

Hope this gets you back on track and sorted.

Big Cartel Review

March 9th, 2010

I have wanted to properly review Big Cartel since I  first came across it with my favorite T-Shirt Company Grand Flavour. It is quite unique in the e-commerce world because it shows no interest in being the biggest and the best and doesn’t ram monstrous claims down your throat the moment you visit them. The specialize in small (less than 100 products) and they have optimized their platform to suit.

Big Cartel is incredibly clean, very cheap and so simple to use I defy anyone to get lost. They have done an excellent job of creating a shopping cart for small e-retailers and deserve to be commended for it.

Big Cartel Pricing

Here’s a gem for you. Big cartel has a free plan. Not a trial, a plan. If you have less than 5 products and are willing to forgo some of the advanced customizations you don’t have to pay them a thing. Nice right.

Up to 25 products and some standard customizations – $10 a month – sweet! This is an affordable solution for anyone starting out. The most expensive plan, with full customization and extensive stats is only $20, still cheaper than the cheapest offering from Big Commerce or Core Commerce.

Barriers to entry in Online selling

For new businesses looking to start selling online, there are a few hurdles to get over setup fees, monthly fees, having a credit card and getting a design made. Big Cartel makes it easy for anyone to get started with no setup fees, low or no monthly fees, Paypal payments and a good set of design tools. It is far from ideal for larger businesses but I don’t think the care. They want small businesses just starting out. They want record label, clothing companies and artists and they have put together a solid offering that is bound to attract them.

Big Cartel Negatives

It can’t be all good news, can it? No. But it doesn’t make it bad. The biggest issue I found was that you couldn’t add and tracking code (like Google Analytics) to the free plan – and because you can’t edit the HTML your out of luck. It would be great if Big Cartel offered a text box Shopify style to add your Google Analytics account number – they could keep a lock on the HTML but still allow businesses to properly track there visitors – no real harm there GA is not likely to replace the in-store stats that require an upgrade.

Big Cartel Alternatives

Big Cartel has built itself a nice little niche around small, new e-commerce stores and with it’s dedicated focus on smaller it has been able to remove itself form the feature race of the “larger” e-commerce solutions. It is incredibly simple. There are very few options compared to Big Commerce, for instance but that is all some  people want and I respect that. They have resisted the urge to add a million features and pages of marketing blah and have just focused on keeping the customers that want a cheap, simple shopping cart very happy.

Do you use Big Cartel? How have you found it? Are you ready to upgrade to a full featured shopping cart?

Protecting your Contact form from SPAM

March 1st, 2010

If you have ever added a contact form to your website you are no doubt, more than aware of the problems spammers can create. Thankfully there are two very easy to implement solutions that will reduce (and hopefully) remove all your contact form spam CAPTCHA and Akismet.

CAPTCHA

CAPTCHA stands for Completely Automated Turing Test To Tell Computers and Humans Apart – which is fancy geek talk to say CAPTCHA is a way to test that the person filling out your form is actually a person and not a spammer or robot. The usual way this is done is by showing the user a picture of a word or two (usually obscured) and asking the user to correctly decode it before be able to submit the form.

Using CAPTCHA to protect your contact form

One of the simplest ways to implement CAPTCHA on your contact form is to use http://recaptcha.net (as service that provides the added bonus of helping to digitize books at the same time). Implementation is very easy and usually only involves signing up and copying the sample code.

Problems with CAPTCHA

The biggest issue with CAPTCHA as a method of protecting your contact form is that spammers are slowly working out how to read the CAPTCHA images and submit spam despite your protection.

Users also have trouble using CAPTCHA and testing has shown as many as 26% of people with abort a form send because it has a CAPTCHA requirement. I don’t know about you but I can’t afford to lose that much potential business.

Using a Spam Filter to protect your contact form

Anyone that has used WordPress for any length of time is more that aware of how capable Akismet is at detecting and blocking spam from their blog comment forms. What most people don’t realise is that you can harness the same power that wordpress does to protect your own contact form from spam.

Using Akismet to protect your contact form from SPAM

  1. The first thing you need to use Akismet to protect your form is a WordPress.com account. Once you have that login and go to your profile page and record your API Key.
  2. Download the latest PHP5 libraries from http://akismet.com/development/
  3. Replace your mail send code with something similar to the following:
<?php
require_once("includes/Akismet.class.php");
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$url = ""; //my contact form doesn't require a URL modify if your's does

if (isset($email) &&  !empty($email)) {

$apikey = 'AKISMET_API_KEY';
$blogurl = 'http://domain.com/';
$akismet = new Akismet($blogurl ,$apikey);
$akismet->setCommentAuthor($name);
$akismet->setCommentAuthorEmail($email);
$akismet->setCommentAuthorURL($url);
$akismet->setCommentContent($message);
$akismet->setPermalink('http://andrewbleakley.com/');
if($akismet->isCommentSpam()) {
$myFile = "spam.txt";
$fh = fopen($myFile, 'a') or die("can't open spam file");
$stringData = sprintf("Name: %s\r\nEmail: %s \r\nMessage: %s\r\n------------------------------------\r\n",$name,$email,$want,$message);
fwrite($fh, $stringData);
fclose($fh);
} else {
$header = "From: " . $name . " <" . $email . ">\r\n";
$to = "mail@domain.com";
$subject = "domain.com website contact";
$body = "I want: " . $want . "\r\n" . $message;
mail($to,$subject, $body, $header);
}

}
?>

The code snippet above will send your contact form details to Akismet to be tested for SPAM. If it succeeds it will continue mailing you the contact, if it fails the Akismet Is SPAM test it will store the contact in a file named spam.txt in the same folder as your contact form.

The original code snippet just ignored SPAM messages but I am not that quick to disregard possible work so I save them and make a habit of scanning the spam.txt file from time to time.

I hope you get something out of this code, if you want help implementing it at your end, feel free to hire me for an hour or so and I will tailor it suit your circumstance.

Core Commerce Reviewed

February 27th, 2010

Curious how Core Commerce Compares to Volusion – I have lined them up and done the leg work for you. Read it here

I’ll be honest – I have only just recently found out Core Commerce existed. In all my years and all my searches it has never crossed my path. As far as I can gather it has been around since early 2008 (whether it is based on a product from before this I don’t know yet). Not as long as Shopify, but longer than Big Commerce.

It is quote low key. Only 130 odd followers on Twitter, a handful of blog posts each month, 2000 forum posts, 1000 some forum members, not a very deep site (a bit of content here and there but nothing to rock the bookshelves). From first impressions this morning until now all I keep thinking is that Core Commerce is Big Commerce‘s baby brother.

I had heard some great things about it once I started looking into the product, but no huge enthusiasm like I had seen with Big Commerce, Shopify and even the Volusion fan boys.

Templates.

If you read the Core Commerce website they brag about the quality of there templates (including claiming there’s are better than Big Commerce) – No. Bad Core Commerce. Your templates are passable. Your templates are serviceable. Your templates and usable. They are not better than Big Commerce. They are out dated to put it mildly. They are a big step up from Volusion -I agree with that – but you are quite a long way off the Interspire/Big Commerce templates.

It’s not all bad news though, the customisation is good. Lots of options to change, lots of fine grained control – it’s a bit clunky but it works and I can definitely see people using it at the expense of hiring me. Big points for that the other shopping carts would do well to offer as many design customisation options.

SEO

Optimisation

Pretty crappy. A lot to do with the template you select, but there is a lot of CSS embedded in the page, no canonical URL’s no robots meta tags -I’m not impressed, I hope they are getting on top of this.

Meta tags

Good (there are even some guides and help text).

URL’s

Lazy and ugly. Not exactly user friendly with Id’s and other identifiers tacked onto the end of most pages. Better than some offerings but showing there age.

Integration

Google Products, Shopzilla all in there which is a nice feature. Plenty of room for text and page content.

Admin Interface

Really ordinary. While all the options are there it lacks the polish of shopping carts of similar price, in fact I think that is the best way to sum up my initial thoughts of Core Commerce.

It lacks polish. Not a death sentence and it has some great features (PCI-DSS Compliance for one) that should help it gain market share (especially if Big Commerce don’t hurry up and get compliant).

Fix Paypal Buttons in Thesis

February 15th, 2010

Have you ever tried to insert Paypal Buy Now buttons into a blog running Thesis ? You follow all the instructions and end up with great big scaled up pay pal buttons that look stupid.

Paypal buttons in Thesis are huge

So, how do i fix them ?

The fix is actually very simple. Open the Thesis Custom File Editor. From the drop down list select custom.css and click the green Edit selected file button.

At the end of the file add the following code

.custom .format_text input, #commentform input, #commentform textarea {
    width:auto;
}

if you are having trouble try typing it instead of copy and pasting.

Save the file, and reload you page with the paypal buttons. If everything went to plan your buttons should be the correct size now.

Normal sized paypal buttons in Thesis

Goodluck, I hope this helps you out. Let me know either way

Make Google Friend Connect Work with Thesis

February 10th, 2010

Google Friend Connect is a set of Google gadgets designed to turn your blog or website into a community with nothing more than copy and paste.

Adding Friend Connect features to a website requires no programming skills; you just copy and paste snippets of HTML code onto your site. You can can also add custom integrations with Friend Connect’s API.

Unfortunately for WordPress users (more specifically Firefox visitors to WordPress blogs) it doesn’t work quite that easily. Simply pasting the provided code into a sidebar text widget won’t work for any of your site visitors using Firefox. Internet Explorer is OK – and that is about the only time that phrase will leave my lips.

Before you start take the opportunity to join my Google community – please- come on it looks sad there with no one in it. My mum checks this blog, I want her to see I have some friends.

How to make Google Friend Connect with Thesis, WordPress and Firefox

Step 1.

Log into Google Friend Connect and get the code for your members gadget.

The code comes in three parts.

The Google Friend Connect Library

<!-- Include the Google Friend Connect javascript library. -->
<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>

The DIV tag (marking the insertion point for the gadget)

<!-- Define the div tag where the gadget will be inserted. -->
<div id="div-4138360605280xxxxxx" style="width:276px;border:1px solid #cccccc;"></div>

The skin (or render) JavaScript

<!-- Render the gadget into a div. -->
<script type="text/javascript">
var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['NUMBER_ROWS'] = '4';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderMembersGadget(
{ id: 'div-4138360605280xxxxxx',
site: '06043523137538175547' },
skin);
</script>

Step 2.

In WordPress go to Appearance, Widgets and add a new Text widget to the sidebar where you want the gadget to appear.

Leave the title blank (my preference, feel free to do what you like)

In the body of the widget paste ONLY the DIV portion of the Google Friend Connect Code

<!-- Define the div tag where the gadget will be inserted. -->
<div id="div-4138360605280xxxxxx" style="width:276px;border:1px solid #cccccc;"></div>

Step 3.

Go to Thesis Options (/wp-admin/admin.php?page=thesis-options)

Expand the Footer Scripts option panel.

Above any code that may already be in there (like Google Analytics) paste

<script>
window.JSON = {
parse: function(st){
return st.evalJSON();
},
stringify: function(obj){
return Object.toJSON(obj);
}
};
</script>

Below this snippet (required for Firefox) paste the Google Friend Connect Library code and the  skin JavaScript.

<!-- Render the gadget into a div. -->
<script type="text/javascript">
var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['NUMBER_ROWS'] = '4';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderMembersGadget(
 { id: 'div-4138360605280xxxxxx',
 site: '06043523137538175547' },
 skin);
</script>

Conclusion

There really isn’t one. I have no idea why Google’s code doesn’t work – I can not understand the management decision making that allowed it to be released.

The code above will work for any WordPress site, but instead of being able to paste the code into a Thesis Option panel, just open your footer.php file in the WordPress Theme Editor and paste it directly above the </body> tag.

Would love to hear from anyone this helps, remember to use the code Google gave you, not my code – sing out if you have any trouble.

Big Commerce vs Volusion

February 8th, 2010

The two biggest hosted shopping carts (or e-commerce platforms if you want to impress girls)  offer incredible feature’s, years of development and award winning customer service. This review will have to look at how each feature is implemented to split the difference.

Price

Both offer free trials. 14 days for Volusion and 15 days for Big Commerce

Both start at $24.95 a month – Volusion hide the link in the footer which always concerns me. Neither charge transaction fee’s – take that Shopify

Setup Cost: Big Commerce is $49.95 to Volusion‘s $49.00 – not worth mentioning except that some Volusion fan boy will cling to it and mess up my comments.

So what price difference’s are there ?

The basic (cheapest plan) at Volusion allows 25 products and 1 Gb or data – Big Commerce give you 100 products and 2 Gb data

On price Big Commerce trumps Volusion.

Look and Feel – Front End

If you have  a designer on board that is going to customize your shop or integrate it into your existing design – skip this section now. I am going to say some truly awful things about the templates in Volusion and if you aren’t going to use them you might as well save yourself the blushing.

8 years ago you would have punched a designer in the mouth if they delivered you a online store looking like the one’s Volusion saddle’s you with. I hate every single one of them. They are horribly dated, poorly optimized, visually upsetting and atrocious to work with. Given the quality and quantity of Volusion‘s client roster I expect better – quite frankly it is an insult that they would even offer these disgraceful templates, free as they are.

Big Commerce on the other hand have dropped some serious cash getting some beautiful, clean and very usable templates created. You could very easily go live with one of the free templates or you could very simply get one made by giving your designer FTP access to your site. Yep, FTP access to your hosted shopping cart – perfect 10 points to Big Commerce, go straight to the front of every developer and designer’s list with this feature.

Look and Feel – Admin Area

I like the look of Big Commerce (it is identical to Interspire), it is clean, modern, intuitive and packs a lot of information and remains easy on the eye. Volusion is a little squarer, a touch old school but just as effective. I doubt there is enough between these two to hold one above the other so let’s call this a draw.

Search Engine Optimization

Both offer the ability to specify the Title, Keywords and Description fields.

By default Volusion uses ugly query string’s and Product Id’s but it can be configured to “look” a little better – but it is  a weak hack reminicent of the crappy SEO offered by osCommerce and her bastard offspring.

Big Commerce comes to the table with some pretty clean URI’s using the product name as the page (replacing spaces with dashes) – there are some weird results if you use special character’s or punctuation, but you shouldn’t be using them at all.

Big Commerce also integrates with Google Website Optimizer for all your testing and analysis

Additional Features

Both offer Gift Certificates, Electronic (downloadable products), coupons, there own payment gateway product (only available to US customers), newsletters – there really is not much to split them at this level.

The big difference is what Big Commerce is looking to offer in the next release (version 6). Things like multiple warehouse, drop shipping, Mail Chimp integration, pre-order, back order, iPad and iPhone support and eBay integration

Reputation

Both have been around for at least 10 years in some form or another and generally have good histories and reviews, the next 12 months will be telling as Big Commerce tries to muscle in on territory that has usually been safe with Volusion.

Customer Service and Support

Lots of awards, lots of happy customer’s. We have had no trouble getting support to help us or sales to call us. We would love to know your experience with either company – leave your comments below.

For more in this series of see Big Commerce vs Shopify

Need more info or a free trial click the banner below

Volusion – A first look

February 7th, 2010

I am publishing this early because I am so incredibly unimpressed with Volusion as an e-commerce platform, I am hoping someone will set me straight while I dig a little deeper.

Volusion has a lot of awards and some very impressive customers if you believe there home page – but I hate to say it I was incredibly underwhelmed when I gave it a test run recently. My only conclusion is that they have taken the original 1999 version of this software and tacked things on to meet the sales pitch.

It certainly looks the part

Search Engine Friendly

Oh my god. It is crap. I can only assume it is deliberately shit so that they can sell you there SEO services – which seem to be advertised on every other page – for shame.

Volusion Templates

Lots but they are pretty average, in fact they remind me of old Frontpage themes. One of the things that initially sold me on Interspire/Big Commerce was that it looked usable right out of the box – not so with Volusion – it is really quite ugly.

They give you full HTML and CSS access which is nice, but without a way to upload images and resources you will need some sort of external hosting.

Social Features

Nothing more than the Add This button. Seriously. They even have a video touting the social shopping solution – not even the choice of providers or a means to customise the Add This (that I could find) – I was pissed at this. I don’t mind if you have no social integration -it is easy enough to configure if you have HTML access, but to piss in my coffee and call it caramel is insulting.

It’s not all bad. There are several great features.

The 301 Redirect manager means you could fix the awful SEF URL’s. I have seen Big Commerce recently copy this feature and it really is great, simple enough to use and you can import and export so yippee for getting something right.

IP Firewall – I can think of a few times this might be useful – most especially during the construction phase.

Gift certificates, downloadable (electronic) products, coupons all things the other major vendors tried to sell as extras  – bravo Volusion for coming the goods and giving every customer a full package

Blog Theme Reviews

January 25th, 2010

I have dropped my first post on my new project Blog Themes Reviewed. Given the extraordinary traffic that Big Commerce vs Shopify is bringing in I decided to start of with Thesis vs Headway.

Head over and leave me a note – I would love to know what everyone thinks.

Cheers, Andrew