WooCommerce Set Number of Thumbnail Columns

Over the past month I’ve had 3 Cloud Zoom users email me about changing the number of thumbnail columns on the single product page.

The answer I gave all three and also posted to the WooCommerce forum was to add the following to their theme functions.php file

1
2
3
4
add_filter ( 'woocommerce_product_thumbnails_columns', 'zz_thumb_cols' );
 function zz_thumb_cols() {
     return 5; //Change the 5 to reflect how many columns you need
 }

Continue reading

cloud-zoom

Cloud Zoom For WooCommerce

*** UPDATE ***
There is a new version of the plugin available from your WooThemes dashboard, new version number is 1.7.2

Professor Cloud’s Cloud Zoom script is a hugely popular jQuery plugin used on various popular eCommerce web sites. Now you can enjoy that functionality in WooCommerce.

Specifically, with Cloud Zoom activated, users are given the ability to zoom in on your main product image by simply hovering their mouse over it.

The latest update means Cloud Zoom now works with attribute images, additional images and can be combined with the Product Slider plugin.

The Latest version of the plugin (1.7) will be available on the WooThemes website shortly (http://www.woothemes.com/extension/cloud-zoom/). This latest version updates the TimThumb script, allows the included CSS to be over-ridden and only loads the JavaScript and CSS on the single-product page. You can see a demo of the Cloud Zoom plugin in action here http://cloud.chrome-orange.co.uk/?product=product-with-attributes Continue reading

onsale_filter

On Sale Product Filter For Your WooCommerce Admin

If you’ve only got a few products then it’s easy to find the ones on sale but the site I’m working on right now has 654 products which will be going up to around 10,000 in a couple of weeks. The client wants a ‘Clearance Sale’ page (that’ll be another post then :) ) so there will be quite a lot of products on sale – this drop down filter will make their (and therefore my) life easier!

Just paste the code below in to your theme functions file and you are good to go.
Continue reading

add_brochure

Adding downloadable documents to WooCommerce

A client wanted to add manufacturer supplied PDF brochures to the single product page so here is my method.

What you will need is
1 – create a folder within your theme directory called ‘icons’
2 – create an icon for each of the three document types, word, excel and PDF* and put them into the icons directory
3 – copy the code below to your functions.php folder Continue reading

service_agreement

Adding an additional checkbox to the WooCommerce checkout

A question from the WooCommerce forum got me thinking about this, how can I add an additional checkbox to the WooCommerce checkout and make it required, like the ‘Terms and Conditions’. Obviously it needs to have the same admin options as the T&C’s so the shop manager can choose the page that it links to and the error checking needs to work in the same way as the terms and conditions. Continue reading

product_summary

Change “Excerpt” to “Product Summary” and add the WYSIWYG editor!

How to change the excerpt metabox title into something more user friendly in WooCommerce and JigoShop

“Why is it called Excerpt if it’s the Product Summary?”

To be fair it’s not the daftest question I’ve been asked so here is the code that will change the Excerpt metabox into a Product Summary metabox. It uses the same content so if you have added a lot of product summaries already you won’t have to go and do it all again.

As a bonus I’ve added the WYSIWYG editor as well – the blank look when I started to talk about HTML tags made it necessary. The WYSIWYG editor needs WordPress 3.3 Continue reading