Table settings

tablesettings

  • Table title: the title of the table.
  • Fields to show: product fields to add in the comparison table, choosing among the product information.
  • Repeat “Price”/”Add to cart” field: activating these options, the price and the add to cart button of each product will be replicated in the related column in the lowest part of the table.
  • Image size: the size of the product images in the comparison table.

If you want to allow resetting the comparison table to remove all the products added, you can choose to show a “Clear all” button by checking the option “Show ‘Clear All’ button”. 

resetcomparetable

 

 

Table settings

In order to edit the settings related to the comparison table go to YITH > Compare -> Comparison table.

Comparison table settings

 

  • Table title: the title of the table, it appears only if the comparison table is showed in a modal window.
  • Table image: the image to add ahead of the table.
  • Show table image in: choose whether to show the table in the “Compare” page and/or in a modal window.
  • Dynamic Attribute fields: this option lets you show only the product attributes, among those chosen in the “Fields to show” option, that have information about at least one of the compared products.
  • Add products custom attributes: the attributes created within a single product
  • Fields to show: product fields to add to the table. Each time that you create a new attribute on WooCommerce, it will be available in this line.
    The field arrangement can be modified with a drag and drop action of the available entries.
  • Product Info Fields: product information to add to the table (name, image, add to cart button). The order of these fields cannot be modified as you can do for those in the “Fields to show” section.
  • Show “Request a Quote” button in product info: show button to add to quote in product info section.
  • Use full description: the full description of the product will be displayed in the table instead of the “Short Description”
  • Repeat “Price” field: activating the option, the price of each product will be replicated in the related column in the lowest part of the table.
  • Repeat “Add to cart” field: activating the option, the add to cart button will be replicated in the related column in the lowest part of the table.
  • Image size: the size of the product images in the comparison table.
    If you encounter difficulties with the correct displaying of the images, we suggest you regenerate the product images.
  • Highlight different values: the rows of the table with different value will be highlighted in grey (default color)
  • Number of fixed columns: select the number of fixed columns to show in the comparison table.
  • Limit compared products: enter a maximum number of products that can be added to the comparison list. Leave 0 for unlimited items.

If you want to allow resetting the comparison table to remove all the products added, you can show a “Clear all” button by checking the option “Show ‘Clear All’ button”. 

Comparison table settings 2

Shortcode

Shortcodes

The plugin includes two types of shortcodes.

1. Custom comparison table

The first one lets you create comparing tables for specific products of the shop. In order to do it, go to the “Build Shortcode” section of the settings panel of the plugin, and select the products you want to display in the customized table.

Compare shortcode

 

Copy and paste the generated shortcode on the page where you want to show it.

Compare shortcode on page

 

2. Product Counter

The second one lets you show a counter of the products added to the comparison list so far. The shortcode is:

[yith_woocompare_counter]

It can be added on any page or even in a widget.

This is how it might look like on the Shop page before the products. Product counter - Shortcode

 Widgets

The plugin provides you with two different widgets.

1. Products in the list

The first one shows the list of the products that users have added to the comparison table.

comparewidget

 

2. Product Counter

The second one is a counter of all products added to the comparison list so far.
You can enter a title, choose to show only numbers or both numbers and text.
If you want to, you can pick an icon from your Media gallery and customize the text to make it clear to your customers what the counter is for.

Widget settings

Counter on Frontend

Style

All the comparison table colors can be customized in “YITH Compare -> Style” in Category Filter Options, Table Options, Share Options, and Related Options.

Compare - style

Related Products

 

Compare related products

Activating the Related Products option you can add a slider right after the table with all the products of the shop that have tags/categories in common with at least one of the products in the comparison table.
The slider can be added in the modal window in which the comparison table will be displayed and/or in the dedicated “Compare” page”.
Moreover, with the plugin options you can:

  • set how many products to show in the slider;
  • enable the autoplay of the slider;
  • show/hide the navigation arrows of the slider.

 

Related products in the comparison table

Social network sharing

You can activate the sharing of the comparison table on one of the offered social network sites or via email.
In order to configure the sharing options go to “YITH > Compare -> Social Network Sites Sharing”.

Social network sites sharing

 

  • Enable Sharing: activate/deactivate social network sites sharing.
  • Show sharing in: choose whether to add the sharing buttons in the modal window and/or in the “Compare” page.
  • Select Social Network Sites: the sites to enable the sharing. Choose from Facebook, Twitter, Google+, Pinterest or email (in this case, the click of the users will open the email service installed on their PC).
  • Title for Social Network Sharing: title for the sharing message of the comparison table.
  • Text for Social Network Sharing: text for the sharing message of the comparison table.

In order to allow the sharing through Facebook, you need to register and configure an App. Follow the official documentation