Category

Woocommerce

automating sales in Woocommerce

Plugins that can help to increase sales and conversions in Woocommerce 2017

By | Business Growth, Ecommerce, SEO, Social Media, Woocommerce, Wordpress | 2 Comments

There are many great plugins that can help to increase sales in Woocommerce in this blog post I’m going to talk about 2 very effective plugins in this space: AutomateWoo and SumoMe .

 

AutomateWoo for increasing sales in Woocommerce

AutomateWoo has a lot of great features that can be setup to work automatically based on certain triggers, for example:

  • Win back inactive customers by emailing customers that haven’t shopped (after a certain time that you define) a discount code to Woo them back
  • Convert a percentage of abandoned carts into Sales by emailing customers that didn’t finish the checkout, to remind them of what is in their cart.
  • Follow up emails – Ask customers for reviews (good for seo), ask them to share on social media, show them other things they might like

automating sales in Woocommerce

There are many triggers that AutomateWoo can be setup to work on to increase sales and to help get your site shared on social media or content created for free in the form of product reviews. Product reviews is essentially free onsite seo (content). There are many other things AutomateWoo can do such as offer customers rewards and spending a certain threshold and so on.

This plugin has the ability to dramatically increase your sales.

 

SumoMe

This is plugin that pops up before a user is about to leave your website to

  • offer a discount
  • offer a signup form for your email  list (so you can market to them)
  • make it easy for visitors to share your website on social media

SumoMe uses a popup to capture user emails ( I used to hate popups for capturing emails, but this method of capturing emails has really improved in the last few years by building in intelligence to only popup when a user is about to leave your website).

 

 

 

 

Woocommerce Table Rate Shipping weight example

By | Ecommerce, Woocommerce, Wordpress | No Comments

Sometimes you need to ship by weight, and like most things when it comes to shipping the Table Rate Shipping plugin is your friend. So in this worked example I’ll show how to setup Weight based shipping using the Table Rate Shipping plugin.

Firstly we need to decide the costs and the weights for those costs.

For example lets say we’re shipping Mushrooms, and we want to ship by these weights:

0kg to 1.99 kg = £2.85

2kg to 4.99kg = £4.95

5kg to 10kg     = £13.75

We need to set this up: per order, then on the table select weight and min/max and then the cost.

This is best explained by showing the actual table like below.

woocommerce table rate shipping weight example

 

 

If you need help with a WordPress Website click here

Handy Woocommerce SQL queries

By | PHP, SQL, Woocommerce | 2 Comments

This post is just a place to store handy SQL queries for Woocommerce.

Get Order and all its information

 

Get Users and billing and shipping addresses in Woocommerce

this bit of sql is based on this post at http://codecharismatic.com/

Get Order Objects (not strictly sql, but seems a good place to drop it)

 

Woocommerce – Converting grams to kilograms ( product weights)

By | Web Design, Woocommerce, Wordpress | No Comments

If your using product weights in Woocommerce, you might find you want to change from grams to kilograms at some stage.

There are 2 parts to this:

Part 1:

Firstly in wp-admin you need to change a setting on the Woocommerce (below).

However this doesn’t automatically convert grams to kilograms.

convert from grams to kilograms setting

Part 2:

Converting existing products grams to kilograms.

For this you’ll need to use a little script, I created this one as a page template.

 

 

How to speed up Woocommerce (and WordPress)

By | Business Growth, Ecommerce, Web Design, Woocommerce, Wordpress | 11 Comments
woocommerce GTmetrix pagespeed scores

GTMetrix after I tuned up a client’s Woocommerce website

 

Speed tuning in WordPress and Woocommerce

This post contains details of how to supercharge your WordPress website.

Here are some speed tuning tips for getting your Woocommerce store loading quickly and keep customers on your site (slow loading = loss of customers).

Check file load times

In firebug look at the console requests (eg all the css/images etc, but especially important check for any php files like admin-ajax.php ). Any files that are taking a long time to load are slowing down the page for the user. It can be any type of file (but large uncompressed images are a common problem).

Look for any slow loading files:

speed page loading waterfall

A common one on woocommerce /?wc-ajax=get_refreshed_fragments  often there is a plugin calling this (which causes a speed issue) – this may well be called by admin-ajax.php

https://woorkup.com/diagnose-admin-ajax-php-causing-slow-load-times-wordpress/

 

Minify, Combine and Compress

A great way to reduce the number of requests hitting the server is to combine your css and js files. Autoptimize will do this for you, just install and tick the relevant boxes on the settings page (it will also minify your html/css/js).

Run javascript when the page loads

By default javascript will load and run as soon as soon as the browser sees it ( this can slow things down drastically, if it takes awhile for the js to load ) . Most javascript can be run after the page loads, add defer or async to your javascripts to prevent js becoming a bottleneck in the page loading/rendering. If the js is loaded via wp_enqueue_script then you can use the Async Javascript plugin  , if some script/s aren’t loaded with wp_enqueue_script you’ll need to add it manually to your scripts e.g.

I recently had this problem with a mailchimp script mc-validate.js , holding up the loading of a page by about 2 seconds, defered it and now it loads super quick.

Woocommerce cart tip

Many themes have the cart details drop down, by having a static link instead you can save on alot of Ajax calls to populate the cart ( if you have a busy store this can make a significant difference).

It says on homepage, but you can easy edit your theme slightly, to just have a static cart link ( not having that js running gives you a nice little speed boost).

From (first comment):

https://woocommerce.com/2016/03/woocommerce-speed-first-steps/

 

Check how many requests are being made

This is a follow on to the first step, the less files you need to load (the fewer requests), the faster the page load. Of course there’s a balance to struck here. Between functionality / design and speed. Use a tool like Chrome web developer tools or a website tool like GTMetrix to check how many requests are being made

Some plugins load lots of files, it might be a case of looking at some of them and checking if you really need them all. As baseline I try not to have more than 20 plugins (but again this is very subjective, some are big , some small etc …)

 

Disable wp-cron

By default this runs on every request to your website, if you have lots of requests this will drastically slow your website down.

Disable wp-cron default if you are getting lots of hits ( reconfig to only check a couple of times a day), see this article on how todo so.

 

php.ini

check the memory_limit allocated (this is the max memory any one request/process can take, so this is for each users http request).

A quick way to get a glance at php.ini info is make a file with this in  <?php phpinfo(); ?>

These are probably among the most important values you will want to configure (the values will depend on your environment, how much traffic etc…):

There are various ways to configure that depend on your server setup, I’m an expert in this contact me if you would like help and I can give you a quote.

 

Check the usage stats

Use something like awstats to see stuff like how much bandwidth you using, and any files that are being called alot.

Check the logs

Is there anything that seems to be causing a problem ?

Check error_log in webroot if available (or standard apache error_log if not), or debug.log in /wp-content if thats available.

memory errors will look something like this:

Database

You might need to optimise the database (always back up first!)

https://en-gb.wordpress.org/plugins/wp-optimize/

https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/

Another thing you can look at to optimise your database is post revisions (they take up alot of space in the posts table, if you backup regularly do you really need them ?). This article tells you how to disable post revisions.

Database Problems with Woocommerce wp_options (especially true for Woocommerce 2.4 and before)

Woocommerce can be slowed down due to too many rows in the wp_options table, on a good host I’d advise keeping this under 10,000 rows as a max. On shared hosting you would probably want to halve that.

After all the above to speed up look at things like:

  • caching (there are many good caching plugins available)
  • image compression (smushit is a great plugin, smaller image sizes mean faster page loading times)
  • Look at using a CDN(content delivery network), this can take alot of load off your server and speed up the loading experience for your customers. Of the CDNs I’ve used Cloudflare is the best.