=== YITH WooCommerce Compare ===

Contributors: yithemes
Tags: yith, woocommerce compare, compare products, product compare, product comparison
Requires at least: 3.5.1
Tested up to: 5.0
Stable tag: 2.3.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

YITH WooCommerce Compare allows you to compare more products of your shop in one complete table.
WooCommerce Compatible up to 3.5

== Description ==

YITH WooCommerce Compare plugin is an extension of WooCommerce plugin that allow your users to compare some products of your shop.
All products are saved in one complete table where the user can see the difference between the products. Each product features can be
set with the woocommerce attributes in the product configuration.
You can also add a simple widget with the list of products the users have added, where you can manage them.
Also you can simply customize the compare table with your style, by editing the specific template.

Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-compare).

This plugin is 100% compatible with [WPML](http://wpml.org/?aid=24889&affiliate_key=Qn1wDeBNTcZV)


= Installation =

1. Unzip the downloaded zip file.
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
3. Activate `YITH WooCommerce Compare` from Plugins page

= Configuration =

1. Add the features in each product by setting the attributes in prouct configuration;
2. Configure the options in YIT Plugin -> Compare;
3. The user of your shop will click in the "Compare" button located in the single product page;
4. Will be open a popup with the compare table inside.

You can also add the widget with the product list of compare table, in Appearance -> Widgets and adding the widget "YITH WooCommerce Compare Widget".

== Frequently Asked Questions ==

= Can I customize the compare table? =
Yes, you can copy the template from the plugin folder and paste it inside the folder "woocommerce" of your theme folder.

= Can I select what fields show inside the compare table? =
Yes, you can choose what fields to show in the compare table. You can do it in YIT Plugins -> Compare.

= Can I order the fields in the compare table? =
Yes, you can sort the fields in the compare table. You can do it in YIT Plugins -> Compare.

= What are the main changes in plugin translation? =
Recently YITH WooCommerce Compare has been selected to be included in the "translate.wordpress.org" translate programme.
In order to import correctly the plugin strings in the new system, we had to change the text domain form 'yit' to 'yith-woocommerce-compare'.
Once the plugin will be imported in the translate.wordpress.org system, the translations of other languages will be downloaded directly from WordPress, without using any .po and .mo files. Moreover, users will be able to participate in a more direct way to plugin translations, suggesting texts in their languages in the dedicated tab on translate.wordpress.org.
During this transition step, .po and .mo files will be used as always, but in order to be recognized by WordPress, they will need to have a new nomenclature, renaming them in:
yith-woocommerce-compare-<WORDPRESS LOCALE>.po
yith-woocommerce-compare-<WORDPRESS LOCALE >.mo

== Screenshots ==

1. The popup with compare table.
2. The button compare.
3. The settings of plugin

== Changelog ==

= 2.3.8 = Released on Jan 30, 2019

* New: Support to WooCommerce 3.5.4.
* Update: Plugin Core.
* Fix: Sync AJAX request to prevent product missing.

= 2.3.7 = Released on Dec 05, 2018

* New: Support to WooCommerce 3.5.2.
* New: Support to WordPress 5.0.0.
* Update: Plugin Core.

= 2.3.6 = Released on Nov 28, 2018

* Update: Plugin Core.
* Update: Language files.
* Fix: Missing strings in pot and po files.

= 2.3.5 = Released on Oct 23, 2018

* New: Support to WooCommerce 3.5.0.
* Update: Plugin Core.
* Fix: Product placeholder image and image size.

= 2.3.4 = Released on Oct 01, 2018

* New: Support to WooCommerce 3.5.0 RC1.
* Update: Plugin Core.

= 2.3.3 = Released on Sep 20, 2018

* Fix: Compatibility issue with WPML and RTL languages.

= 2.3.2 = Released on Sep 10, 2018

* New: Support to WooCommerce 3.4.5.
* New: Support to WordPress 4.9.8.
* Update: Plugin Core.
* Update: All external scripts to latest available version.
* Update: Compare table template (compare.php) to version 2.3.2.
* Update: Compare table style.
* Fix: Check product status before add it to compare list.

= 2.3.1 = Released on Jun 5, 2018

* New: Support to WooCommerce 3.4.1.
* New: Support to WordPress 4.9.6.
* Update: Plugin Core.
* Fix: WPML table fields translation.

= 2.3.0 = Released on Feb 2, 2018

* New: Support to WooCommerce 3.3.0.
* New: Support to WordPress 4.9.2.
* Update: Plugin Core.

= 2.2.3 = Released on Dec 21, 2017

* New: Support to WooCommerce 3.2.6.
* New: Support to WordPress 4.9.1.
* New: Product SKU field in compare table.
* Update: Plugin Core.
* Update: Language Files.
* Dev: New filter yith_woocompare_standard_fields_array to filter standard compare fields.

= 2.2.2 = Released on Oct 24, 2017

* New: Support to WooCommerce 3.2.1.
* New: Support to WordPress 4.8.2.
* Update: Plugin Core.
* Update: Language Files.

= 2.2.1 = Released on Jul 05, 2017

* New: Support to WooCommerce 3.1.
* New: Support to WordPress 4.8.
* New: Russian Translation.
* New: Slovenian Translation.
* Update: Plugin Core.
* Update: Language Files.
* Fix: WPML and Add to cart action from popup.

= 2.2.0 = Released on Mar 29, 2017

* New: Support to WooCommerce 3.0.0 RC2.
* New: Support to WordPress 4.7.3
* Update: Plugin Core.
* Update: Language Files.

= 2.1.0 = Released on Oct 19, 2016

* New: Support to WooCommerce 2.6.4
* New: Support to WordPress 4.6
* New: Auto remove from compare list for products that are private or were cancelled.
* New: Add as default fields Weight and Dimensions.
* Update: Plugin Core.
* Update: Language Files.
* Fix: Uncaught ReferenceError "redirect_to_cart is not defined" error on "add to cart" action.
* Fix: Compatibility issue with NextGen Gallery plugin.

= 2.0.9 = Released on Jun 13, 2016

* New: Support to WooCommerce 2.6 RC1
* Update: Plugin Core.

= 2.0.8 = Released on Apr 19, 2016

* New: Compatibility with WordPress 4.5
* Update: Plugin Core.
* Fix: Fatal error call to undefined method WC_AJAX::get_endpoint() for WooCommerce version older then 2.4

= 2.0.7 = Released on Apr 01, 2016

* Update: Plugin template compare.php
* Update: Plugin Core.
* Update: Language file.
* Fix: Product status now updates automatically when the product is removed from the compare widget.
* Fix: Redirect correctly to cart page after "Add to cart" is clicked if "Redirect to the cart page after successful addition" option is enabled.
* Fix: Redirect correctly to product page after "Add to cart" is clicked when "Enable AJAX add to cart buttons on archives" option is disabled.

= 2.0.6 = Released on Jan 11, 2016

* New: Compatibility with WooCommerce 2.5 RC
* Update: Change ajax call fron admin-ajax to wc-ajax
* Update: Plugin template compare.php
* Update: Plugin Core

= 2.0.5 = Released on Oct 30, 2015

* Update: Plugin Core
* Fix: After you remove product from compare, you can re-add it without reload page

= 2.0.4 = Released on Sep 22, 2015

* Update: Changed Text Domain from 'yith-wcmp' to 'yith-woocommerce-compare'
* Update: Plugin Core Framework
* Fix: JS error when loading compare window

= 2.0.3 = Released on Aug 21, 2015

* New: Compatibility with WooPress 4.3

= 2.0.2 = Released on Aug 12, 2015

* New: Compatibility with WooCommerce 2.4
* Update: Core plugin

= 2.0.1 = Released on Aug 10, 2015

* Update: Core plugin
* Fix: Compare table layout
* Fix: undefined function unblock() in main js

= 2.0.0 = Released on Jul 15, 2015

* New: New plugin core
* Update: Language files
* Removed: old default.po catalog language file
* Fix: Error in class yith-woocompare-fontend
* Fix: Lightbox doesn't close after click view cart
* Fix: minor bug fix

= 1.2.3 = Released on Feb 13, 2015

* New: Bulgarian Translation by Joanna Mikova
* New: Spanish Translation by Rodoslav Angelov and Mariano Rivas

= 1.2.2 = Released on Dec 03, 2014

* Fix: Shortcode compare

= 1.2.1 = Released on Sep 17, 2014

* New: Support to WC 2.2.3

= 1.2.0 = Released on Sep 16, 2014

* New: Support to WC 2.2.2
* Update: Compare Template
* Update: Plugin Core Framework
* Fix: Fields orders
* Tweek: WPML Support improved

= 1.1.4 = Released on Jun 30, 2014

* Update: Colorbox Library Version 1.5.10
* Fix: Horizontal scroll bar issue: show at the end of iframe

= 1.1.3 = Released on Jun 05, 2014

* New: RTL Support

= 1.1.2 = Released on Mar 21, 2014

* Fix: WPML Support on Compare Widget

= 1.1.1 = Released on Feb 19, 2014

* Fix: Add to cart Button on Compare page

= 1.1.0 = Released on Feb 13, 2014

* New: Support to WooCommerce 2.1.X
* New: French translation by Paumo

= 1.0.5 = Released on Oct 14, 2013

* New: Persian translation by Khalil Delavaran
* New: Compare table title option
* New: Compatibility with WPML plugin
* New: Brazilian Portuguese translation by hotelwww
* Fix: Responsive features
* Fix: Dequeued wrong JS scripts
* Update: Dutch translation by Frans Pronk

= 1.0.4 = Released on Sep 04, 2013

* New: complete Dutch translation. Thanks to Frans Pronk
* Fix: Sortable scripts included only in the plugin admin page
* Fix: products list in popup don't update after have added a product

= 1.0.3 = Released on Jul 31, 2013

* Minor bugs fixes

= 1.0.2 = Released on Jul 20, 2013

* Tweak: trigger in javascript file for add to compare event

= 1.0.1 = Released on Jun 27, 2013

* New: Link/Button text option in plugin options
* New: ability to add a link in the menu top open the popup
* Fix: bug with attributes added after installation
* Fix: bug with plugin activated but not working for multisites

= 1.0.0 = Released on Jun 24, 2013

* Initial release

== Suggestions ==

If you have suggestions about how to improve YITH WooCommerce Compare, you can [write us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle them into YITH WooCommerce Compare.

== Translators ==

= Available Languages =
* English (Default)
* Italiano

If you can't find this plugin in your language and want to translate it, use the dedicated tool at [Translating WordPress](https://translate.wordpress.org/locale/it/default/wp-plugins/yith-woocommerce-compare "Translating WordPress").
Or, if you have created your own language pack, or have an update for an existing one, you can send it as an email attachment from our [Contacts page](http://yithemes.com/contact/ "Your Inspiration Themes") and we will bundle into YITH WooCommerce Compare.

== Documentation ==

Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-compare).

== Upgrade notice ==

= 2.3.8 = Released on Jan 30, 2019

* New: Support to WooCommerce 3.5.4.
* Update: Plugin Core.
* Fix: Sync AJAX request to prevent product missing.