[CodeCanyon]Free download Woocommerce Variations to Table – Grid


General description:

WordPress – Woocommerce Variations (variable products) to Table – Grid Plugin 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. by: Hostivate / Nitroweb Please read the installation guide. Please read the installation guide. Please read the installation guide. Please read the installation guide. Please read the installation guide. Features 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 WooCommerce Product Gift Wrap AJAX can be enabled from settings Sorting of table columns in the frontend Option to enable Responsive layout via the Footable jQuery plugin 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. Reviews Usage In order to use the Woocommerce Variations to Table – Grid plugin, please navigate from your WordPress administration panel to “Woocommerce -> Variations Table“ Options Exclude Categories: You may select whole categories to exclude the plugin in order to display the variations with the default select menus Display Thumbnail: Select “yes” to display the thumbnail column or “no” to hide it. Thumbnail Width in Pixels: You may define the with of the thumbnail in pixels in this field Display Stock: Select “yes” to display the stock condition column or “no” to hide it. In Stock Text: If the stock is displayed, you may set the text to display when the variation is in stock Out of Stock Text: If the stock is displayed, you may set the text to display when the variation is out of stock Low Stock Text: If the stock is displayed, you may set the text to display when the variation stock is low Low Stock Threshold: Enter the quantity of the variation that will trigger the low stock status Display Price: Select “yes” to display the price column or “no” to hide it. 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. Display Add To Cart: Select “yes” to display the add to cart button column or “no” to hide it. Display Wishlist: Select “yes” to display the wishlist icon column or “no” to hide it. Display Image: Select “yes” to display an extra image/sticker/icon column or “no” to hide it. Add Image: Upload the extra image/sticker/icon by clicking on the Open Media Manager button. Display Description: Select “yes” to display a description under the row of the variation. Display Table Header: Select “yes” to display table header. Custom Table Header: You may write your own custom HTML code for all table headers here. Enable Ajax: Select “yes” to enable AJAX for “add to cart” and “wishlist” Enable Responsive Table: Select “yes” to make the table mobile friendly Order Columns: You may order the columns by drag-n-dropping the list elements You are ready to go! * Save Changes * Shortcode 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 attrinutes (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 (except id) 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. Actions 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 Requirements WordPress 4.0+ Woocommerce 2.2, Woocommerce 2.3 PHP 5.2+ Frequently Asked Questions I get Fatal error: Cannot redeclare woocommerce_variable_add_to_cart() Please try de-activating WooCommerce, activating the plugin and re-activating WooCommerce Can I list all variations of all variable products? Yes, you can via the [vartableall] shortcode. Can I use custom attributes when adding a variation? Yes, this was added on version 1.0.6. 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. 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. 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”. If I disable the table/grid for a product can I still use the shortcode? Yes, the shortcode is not getting disabled. 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”. What about stock check and AJAX? By enabling AJAX, this will disable the stock quantity check when adding to cart via the plugin. Installation This wordpress plugin can be installed as any other wordpress plugin. Installation is simple. Extract the zip file you have downloaded. Login to your administration panel (ex. http://www.yourdomain.com/wp-admin). Go to Plugins -> Add New. At the top of the page click the “Upload Plugin” link Click choose file (or what your browser uses to navigate to your files) From the extracted files of step one (1) navigate to and select woo-variations-table.zip and click “Install Now“ You may be asked to confirm your wish to install the Plugin. 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. Click Proceed to continue with the installation. The resulting installation screen will list the installation as successful or note any problems during the install. If successful, please click Activate Plugin to activate it. If you get an error, please de-activate WooCommerce, activate the plugin and re-activate WooCommerce Changelog 1.1.8 09/02/2015 Feature: Added setting for default quantity value Bug: IE should work fine now Bug: Fixed sorting when all variations have a sorting value 1.1.7 08/26/2015 Feature: Added option to disable extra/offer image per product Feature: Added action (hook) in the add to cart form per row Bug: Fixed issue with offer column displaying even if it was not enabled 1.1.6 08/24/2015 Feature: Removed Footable and added “Stupid jQuery Table Sort” Feature: The plugin is now compatible with most “Quick View” plugins Feature: The table is now responsive by default Bug: Fixed issue with Woocommerce v. 2.4.5 that caused the variations not displaying 1.1.5 07/06/2015 Bug: Fixed redirection to cart 1.1.4 07/01/2015 Feature: Now the plugin checks and can work with crappy imported products Bug: Fixed possible function conflict 1.1.3 06/19/2015 Feature: Added option to hide or not zero priced variations 1.1.2 06/17/2015 Feature: Added sorting option of the table’s columns on the frontend Bug: Fixed epmty columns on the table Bug: Fixed add to cart column always on on the frontend Bug: Fixed columns array overwriting in some variations setups Bug: Various bug fixes 1.1.1 03/23/2015 Feature: Added responsive option via the Footable jQuery Plugin Bug: Various fixes and checks for the header 1.1.0 03/20/2015 Feature: Added table headers 1.0.8 03/17/2015 Bug: Fixed AJAX issue when multiple products where on the same page 1.0.7 03/07/2015 Bug: Fixed “global add to cart” not working when “add to cart” column is not displayed Bug: Removed checkbox when the variable product can not be purchased Feature: Added some loading and complete icons for the global add to cart button Feature: Added option to disable the replacement of the default variations drop down globally. In this way, everything will be as default WooCommerce and you can display the table/grid only via the shortcode. 1.0.6 03/06/2015 Added global shortcode that will display all variations of all variable products. Added Global Add To Cart button. Added Low Stock functionality. Added support for attributes sorting. Added support for custom attributes when adding the variation 1.0.5 03/04/2015 Added product “id” option on the shortcode 1.0.4 02/26/2015 Added support for WooCommerce Product Gift Wrap Added description per variation field and settings Added AJAX support on “Add to cart” and “Wishlist” click Added Italian translation (thanks to Antonio) Fixed notices for “Undefined index” 1.0.3 02/24/2015 Fixed bug when disabling column 1.0.2 02/22/2015 Added override of extra image per variation Added sorting of columns Added SKU option as column Added several filters Added French translation 1.0.1 02/21/2015 Resolved bug that prevented the disabling of the columns Added tag (%n) so you may display the number of the products you have in stock in the “In Stock Text” Added Greek translation 1.0 02/20/2015 Initial release Sources and Credits This plugin uses the following libraries Select2 Stupid jQuery Table Sort

Created 20 February 15
Last Update 2 September 15
Compatible Browsers IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome
Compatible With WooCommerce 2.4.x, WooCommerce 2.3.x, WooCommerce 2.2.x
Files Included JavaScript JS, HTML, CSS, PHP
Software Version WordPress 4.3, WordPress 4.2, WordPress 4.1, WordPress 4.0
Tags variations grid, variations shortcode, variations table, variations table grid, woo variations columns, woo variations rows, woo variations shortcode, woo variations table grid, woocommerce, WooCommerce variations, wordpress woocommerce

General Information:

Price: $12

Category: Wordpress

Live Preview: click!

Screenshots: click!

Get download:

Leave a Reply