1. Documentación /
  2. Product Specification Table for WooCommerce

Product Specification Table for WooCommerce

Product Specification Table for WooCommerce allows you to easily create and display product details in a table on the product page.

Installation

↑ Volver al principio
  1. Download the .zip file from your WooCommerce account.
  2. Go to WordPress Admin > Plugins > Add New and Upload Plugin > Choose File (for the file that was downloaded).
  3. Install Now and Activate the extension.

Setup and Configuration

↑ Volver al principio

Settings

↑ Volver al principio
General Settings
  • To configure and display the product specification table, enable the “Enable Product Specification Table” checkbox.
  • Customize the single product page specification table section name using the “Single Product Page Product Specification Tab Label” option.
  • To hide the WooCommerce Specification Table when the plugin’s specification table is configured for the product, enable the “Hide the WooCommerce Specification Table display when the plugin’s Specification Table available in the Product” checkbox.
  • Customize the look and feel of the Product Specification table using the “Custom CSS” option.

Groups

↑ Volver al principio
The first step in creating a Product Specification Table is Groups. With Groups, you can bundle multiple table elements(attributes) to a Group. Later, this Group can be used to create any number of tables. To create a new Group go to:
  1. Product Specification Table > Groups and click on “Add New Group”.
  2. Enter the Name for the Group. The slug will be automatically prefilled.
  3. Optionally, you can provide a description for the Group.
Note: Without Creating Groups, you cannot create Attributes or Tables.

Attribute

↑ Volver al principio
Attributes are elements displayed in the Table. One or more attributes can be linked to a Group. To create a new Attribute, go to:
  1. Product Specification Table > Attribute and click on “Add New Attribute.”
  2. Enter the Name for the Attribute. The slug will be automatically prefilled.
  3. In the “Associated Group” option, select the Group for which you want to link this attribute.
  4. In the Field Type, select the Field Type for this attribute. The attribute name will be used as the Label and the Value is fetched from the Field Type. As of now, the following input types are supported:
  • Text – Displays the text displayed as the value
  • Select – The admin will have to select a value from the list of available options.
  • Radio – The admin will have to select a value from the list of available options.
  • Text Area – Displays the text displayed as the value.
  • Checkbox – Displays a Yes/No image as the value.
Note: The Attribute value can be modified on the product page during table selection.

Table

↑ Volver al principio
Within this section, you can create Tables using Groups and attributes. To create a new Table, go to:
  1. Product Specification Table > Table and click on “Add New Table”.
  2. Enter the Table Name. The slug will be automatically prefilled.
  3. Optionally, you can provide a description for the Table.
  4. The previously created Groups will be listed. You will have to select the Groups to be displayed in the table.
  5. You can also rearrange the groups as per your preference.
  6. Once you have completed the configuration, save the changes.

Usage

↑ Volver al principio
Once you have created the Groups, Attributes, and Tables, you will have to assign the Table to the Product.
  1. Create a new product or edit an existing product.
  2. Within Products > General, under Select a Table, choose the Table you want to display for this product.
  3. Once the Table is selected, all the attributes linked to the Table will be displayed in the same order you have configured.
  4. You can change the Attribute Values for this product and Publish it.
  5. To create a second table, click on the “Add Rule” button and repeat the process.
  6. Once the changes have been saved, the Product Specification Table will be displayed on the single product page under the “Product Specifications” section.

Translation

↑ Volver al principio
Product Specification Table for WooCommerce is translation ready meaning you can edit the po files and translate the text to any language. The steps to do the translation are as follows. For example, if we were to translate to French:
  1. Download and install Poedit
  2. Open the file product-specification-table-for-woocommerce > languages > product-specification-table-for-woocommerce.pot using Poedit.
  3. Create a new translation file by clicking Create new translation button.
  4. Choose the Source text and set its corresponding French text in Translation Text Area.
  5. Save the changes.
  6. Save the file name as product-specification-table-for-woocommerce-fr_FR.po.
  7. If you are using WordPress Version 3.9.13 or below, then in wp-config.php define the WPLANG as French. Syntax is define(‘WPLANG’, ‘fr_FR’);
  8. If you are using WordPress Version 4.0 or above, then go to WordPress dashboard > Settings > General and select the Site Language as French.