dornaweb / product-specifications

Woocommerce product specification table plugin
https://wordpress.org/plugins/product-specifications/
GNU General Public License v2.0
19 stars 6 forks source link

Product Specifications for Woocommerce

With Product Specifications plugin you can easily create spec. tables for your products. you can create multiple tables so you can use them for different types of products. Product Specifications is very light-weight and easy to customize.

Plugin is available at Wordpress Repository , There's also a live demo, you can check it out

Translation

To contribute in translating this plugin please visit: Wordpress Translation Repository

Usage

Basic uasge

CSS Customizations

By default, The plugin adds its own styles to the tables, you can however disable plugin's stylesheets in the settings section and style the tables on your own. The specification table is under a div with .dwspecs-product-table CSS class and you can customize it in your CSS files.

Shortcode

You can use [specs-table] shortcode to display specs table.

How to fully customize the HTML markup of the table

Copy the file /src/views/shortcode-table-view.php file somewhere in your theme and add the below code to your functions.php file

add_filter('dw_specs_table_shortcode_output', 'my_custom_spec_table_markup', 10, 2 );
function my_custom_spec_table_markup( $output, $args ){
    ob_start();
    extract( $args );
    include( 'PATH_TO_COPIED_FILE');
    return ob_get_clean();
}

Donation

Donations are happily appreciated, if you find this work useful, you can donate any amount via one of the following ways:

Buy Me A Coffee

Changelog

See changelog for all versions.