Woocommerce Variations To Table


Item Rating
3 0
This WordPress – WooCommerce plugin will turn product’s page default variations select-option menus to user friendly table – grid display. It features a self-explanatory with plenty of options admin settings panel, great documentation and support and per product options.
Please read the installation guide.
Please read the plugin description. If you are not sure about something, please ask BEFORE purchasing :)
woocomerce variations to table - grid plugin


  • User friendly and self-explanatory administration panel.
  • Displays all the needed data for your variable products with options to disable them.
  • Supports “any” when you set your product variations
  • Supports “custom attributes” that you may add to the products on the fly
  • “Add Selected to Cart” with select all checkbox for mass adding variations to cart
  • Option to disable or enable the table/grid per product.
  • In Stock, Out of Stock and Low Stock (with threshold) custom messages
  • Easy to use shortcode with full documentation to help you put the table where ever you need and shortcodes are executed.
  • Easy to use global shortcode that will display all variations of all variable products on any page.
  • Extensible / developer friendly. You can alter the plugin without hacking it, but via WordPress filters and actions.
  • Make variations stand out with your custom sticker/icon. You can enable/disable or override it per variation.
  • Supports YITH WooCommerce Wishlist
  • Supports YITH WooCommerce Quick View
  • Supports WooCommerce Product Gift Wrap
  • AJAX can be enabled from settings
  • Sorting of table columns in the frontend
  • Default table header (auto generated), generic custom table header and per product custom table header can be set
  • Easily translatable via .po / .mo files.
  • Available translations: English, Greek, Français, Italiano.


woocomerce variations to table - grid plugin


In order to use the Woocommerce Variations to Table – Grid plugin, please navigate from your WordPress administration panel to “Woocommerce -> Variations Table

  1. Exclude Categories: You may select whole categories to exclude the plugin in order to display the variations with the default select menus
  2. Display Thumbnail: Select “yes” to display the thumbnail column or “no” to hide it.
  3. Thumbnail Width in Pixels: You may define the with of the thumbnail in pixels in this field
  4. Display Stock: Select “yes” to display the stock condition column or “no” to hide it.
  5. In Stock Text: If the stock is displayed, you may set the text to display when the variation is in stock
  6. Out of Stock Text: If the stock is displayed, you may set the text to display when the variation is out of stock
  7. Low Stock Text: If the stock is displayed, you may set the text to display when the variation stock is low
  8. Low Stock Threshold: Enter the quantity of the variation that will trigger the low stock status
  9. Display Price: Select “yes” to display the price column or “no” to hide it.
  10. Display Total (New): Select “yes” to display the totals column or “no” to hide it.
  11. Display Quantity Field: Select “yes” to display the quantity input field of the products to be added to cart column or “no” to hide it.
  12. Display Add To Cart: Select “yes” to display the add to cart button column or “no” to hide it.
  13. Display Wishlist: Select “yes” to display the wishlist icon column or “no” to hide it.
  14. Display Image: Select “yes” to display an extra image/sticker/icon column or “no” to hide it.
  15. Add Image: Upload the extra image/sticker/icon by clicking on the Open Media Manager button.
  16. Display Description: Select “yes” to display a description under the row of the variation.
  17. Display Table Header: Select “yes” to display table header.
  18. Custom Table Header: You may write your own custom HTML code for all table headers here.
  19. Enable Ajax: Select “yes” to enable AJAX for “add to cart” and “wishlist”
  20. Enable Responsive Table: Select “yes” to make the table mobile friendly
  21. Order Columns: You may order the columns by drag-n-dropping the list elements
  22. You are ready to go! * Save Changes *

woocomerce variations to table - grid plugin admin panel


On your product page or anywhere were shortcodes are executed (eg. posts and pages), you may use the shortcode [vartable] . If you just put the shortcode then it will read the options of the plugin that you have set via the admin settings panel.

In order to customize the shortcode you may use the following attributes (respectively to the above options):

  • id
  • sku
  • thumb
  • thumb_size
  • stock
  • in_stock_text
  • out_stock_text
  • low_stock_text
  • low_stock_thresh
  • price
  • offer
  • image
  • qty
  • cart
  • wishlist
  • gift
  • ajax
  • desc
  • head
  • responsive
  • sorting

On all attributes, setting it to “1” equals to “yes” and “0” equals to “no”, when yes or no apply as a possible options. Here is an example:

[vartable thumb=1 thumb_size=150 stock=1 in_stock_text="We have plenty" out_stock_text="Everything is gone" offer=0 qty=1 ajax=0]

As you may notice we have not set the cart, wishlist etc. attributes, hence the shortcode will do as we have set via the plugin’s settings panel

If you use the shortcode outsite the product page, then the “id” attribute of the shortcode is mandatory!!!

All Variable Products All variations Shortcode

You may display all variable products variations with the shortcode [vartableall]. The same arguments as above can be used AND title = 1 for displaying the title of the product before each table AND categories
categories can be set with category id and comma separated, eg [vartableall categories=10,14] to include products from these two categories only.
Do not use the id option on this shortcode.

Developer Friendly

Many hooks are in place. Please search the code for a full list. Below are some of them with examples.

You can add alter the css class of the link to the full image for each variation with the filter “vartable_thumb_class_filter”, eg.

add_filter( 'vartable_thumb_class_filter', 'my_vartable_custom__img_class');
function my_vartable_custom__img_class($class) {
  $class = $class.' myclass anotherclass';
  return ($class);

The Woocommerce “single_add_to_cart_text” filter is in place. Please refer to Woocommerce documentation.


You may add your own css class for the table wit “vartable_table_class”, eg.

add_action( 'vartable_table_class', 'my_vartable_table_class');
function my_vartable_table_class($class) {
  $class = ' table-hover table-striped ';
  return ($class);

You can add text before and after the table with, “vartable_before_table” and “vartable_before_table”, eg.

add_action( 'vartable_before_table', 'my_vartable_before_table');
function my_vartable_before_table($text) {
  $text = 'This text ';
  $text .= 'will go before the table';
  echo $text;
add_action( 'vartable_after_table', 'my_vartable_after_table');
function my_vartable_after_table($text) {
  $text = 'This text ';
  $text .= 'will go after the table';
  echo $text;

Remove the table from the top and add it after the product description

function vartable_move_after_description($content) {

  if (get_post_type() == 'product' && is_single()) {
    $content = $content . do_shortcode('[vartable]');
  // otherwise returns the database content
  return $content;

add_filter( 'the_content', 'vartable_move_after_description' );
remove_action( 'woocommerce_variable_add_to_cart', 'vt_woocommerce_variable_add_to_cart', 30 );

Please do not use add_action if you are using the shortcode method


  • WordPress 4.0+
  • Woocommerce 2.2 – Woocommerce 2.6
  • PHP 5.2+

Frequently Asked Questions

  1. I get Fatal error: Cannot redeclare woocommerce_variable_add_to_cart()

    Please try de-activating WooCommerce, activating the plugin and re-activating WooCommerce

  2. Can I list all variations of all variable products?

    Yes, you can via the [vartableall] shortcode.

  3. Can I use custom attributes when adding a variation?

    Yes, this was added on version 1.0.6.

  4. Can I put this anywhere in my site?

    Yes, you can via the shortcode, if the field where you put it shortcodes are executed. You will have to specify the id of the variable product on the shortcode arguments.

  5. Can I disable the grid for just one or any product I want?

    Yes, you can via the product edit screen. Please select “Yes” at the option “Disable variations table” under the product’s general settings tab.

  6. Can I disable the grid for any category I want?

    Yes, you may do this via the admin panel that is provided under “Woocommerce ? Variations Table”.

  7. If I disable the table/grid for a product can I still use the shortcode?

    Yes, the shortcode is not getting disabled.

  8. Wishlist variations miss the selected attributes

    Due to the way that wishlist works, it will not support variable products that you have set attributes as “any”.

  9. What about stock check and AJAX?

    By enabling AJAX, this will disable the stock quantity check when adding to cart via the plugin.


This wordpress plugin can be installed as any other wordpress plugin. Installation is simple.

  1. Extract the zip file you have downloaded.
  2. Login to your administration panel (ex. http://www.yourdomain.com/wp-admin).
  3. Go to Plugins -> Add New.
  4. At the top of the page click the “Upload Plugin” link
  5. Click choose file (or what your browser uses to navigate to your files)
  6. From the extracted files of step one (1) navigate to and select woo-variations-table.zip and click “Install Now
  7. You may be asked to confirm your wish to install the Plugin.
  8. If this is the first time you’ve installed a WordPress Plugin, you may need to enter the FTP login credential information. If you’ve installed a Plugin before, it will still have the login information. This information is available through your web server host.
  9. Click Proceed to continue with the installation. The resulting installation screen will list the installation as successful or note any problems during the install.
  10. If successful, please click Activate Plugin to activate it.
  11. If you get an error, please de-activate WooCommerce, activate the plugin and re-activate WooCommerce

You must log in and be a buyer of this download to submit a review.

Yes of course, because we buy products from the original author and resell them.
All WordPress items such as plugins and themes are licensed under the General Public Licence (GPL). This means that once we have purchased the item we are free to redistribute it if we choose to do.
Ignore it. Developers include these so that the plugin or theme can update automatically or so that you can register for support. The item itself will work perfectly fine without anything being entered in the box. We would recommend updating your theme/plugins manually when updates become available on our site.
Yes, You can open ticket, and we will update asap in business day. ( Normally less than 24 hours, except holidays period )
We provide basic support for installing plugins and themes.


Item Rating

Item Information

Last Update: January 19, 2022
Released: September 28, 2021
Version: 1.3.10