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
 }

But, just for kicks and giggles on a Sunday night, i decided to put together a quick plugin that will allow you to set this in the WooCommerce settings, no editing code :)

  1. Download the zip file here
  2. Extract the zip file
  3. Upload the ‘woocommerce-thumbnail-columns’ folder to your plugins directory
  4. Login to your WordPress admin and click on ‘Plugins’ in the menu
  5. Scroll down and find ‘WooCommerce Thumbnail Column Changer’, click ‘Activate’
  6. Now find ‘WooCommerce’ in the menu and hover over it, click settings
  7. Click on the ‘Catalog’ tab and scroll to the bottom and there is the drop down to set the column number