Version Description
- Added: Support to WordPress 4.3
- Updated: Language files
- Fixed: Color lost after change widget style with WordPress 4.3
- Fixed: Warning when switch from color to label style
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Ajax Product Filter |
Version | 2.2.0 |
Comparing to | |
See all releases |
Code changes from version 2.1.2 to 2.2.0
- README.txt +89 -31
- assets/css/admin.css +6 -1
- assets/js/yith-wcan-admin.js +2 -16
- includes/class.yith-wcan-admin.php +0 -28
- init.php +2 -2
- languages/yith_wc_ajxnav-it_IT.mo +0 -0
- languages/yith_wc_ajxnav-it_IT.po +37 -37
- languages/yith_wc_ajxnav-tr_TR.mo +0 -0
- languages/yith_wc_ajxnav-tr_TR.po +34 -29
- languages/yith_wc_ajxnav.pot +12 -12
- widgets/class.yith-wcan-navigation-widget.php +3 -3
- widgets/class.yith-wcan-reset-navigation-widget.php +1 -1
README.txt
CHANGED
@@ -1,63 +1,88 @@
|
|
1 |
=== YITH WooCommerce Ajax Product Filter ===
|
2 |
|
3 |
Contributors: yithemes
|
4 |
-
Tags: woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
YITH WooCommerce Ajax Product Filter offers the perfect way to filter all
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
= Filter
|
16 |
|
17 |
-
A powerful plugin:
|
18 |
-
Choose among color, label, list and dropdown and your
|
19 |
-
An extremely helpful plugin to help customers find what they really want.
|
|
|
20 |
|
21 |
|
22 |
-
Working demos are available here:
|
23 |
**[LIVE DEMO 1](http://live.yithemes.com/globe/shop/?layout-shop=sidebar-right)** - **[LIVE DEMO 2](http://preview.yithemes.com/bazar/shop/)**
|
24 |
|
25 |
-
Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-ajax-product-filter/).
|
26 |
|
27 |
-
**Main Features:**
|
28 |
|
29 |
-
* Filter products with
|
30 |
* List
|
31 |
* Dropdown
|
32 |
* Color
|
33 |
* Label
|
34 |
-
* Reset all
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
== Installation ==
|
37 |
|
38 |
1. Unzip the downloaded zip file.
|
39 |
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
|
40 |
-
3. Activate `YITH WooCommerce Ajax Product Filter` from Plugins page
|
41 |
|
42 |
== Frequently Asked Questions ==
|
43 |
|
44 |
= Why isn't the widget displayed in my sidebar? =
|
45 |
-
In order to display the widget, you need to assign it to the sidebar in the Shop page
|
46 |
|
47 |
= Translation issue with the version 2.0.0 =
|
48 |
Dear users,
|
49 |
-
we would like to inform you that the YITH WooCommerce Ajax Navigation
|
50 |
-
In addition to the name, with the new release the plugin textdomain will change too from "yit" to "yith_wc_ajxnav".
|
51 |
-
This
|
52 |
-
It may be possible that,
|
53 |
-
For example, if your language files were named yit-en_GB.po and yit-en_GB.mo, you will just have to rename them respectively
|
54 |
After renaming the files, you can update/translate the .po file following the classic procedure for translations.
|
55 |
|
56 |
-
= The widget
|
57 |
-
= The page doesn't update after clicking on a filter =
|
58 |
|
59 |
The issue could be related to the fact you are using a non-standard template for a WooCommerce shop page. To solve it, you should ask to the theme's author to use WooCommerce standard HTML classes.
|
60 |
-
As an alternative, you can use this piece of code in
|
61 |
|
62 |
`
|
63 |
if( ! function_exists( 'yith_wcan_frontend_classes' ) ){
|
@@ -78,21 +103,54 @@ If you don't know which classes you should use, ask to the developer of your the
|
|
78 |
|
79 |
= PAAMAYIM NEKUDOTAYIM Error after update 2.1.0 =
|
80 |
|
81 |
-
After the update 2.1.0, some users are experiencing the error: "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM". This is caused by the PHP version of your server that is older than the 5.3. To solve the issue, you just have to update the plugin to the version 2.1.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
== Screenshots ==
|
84 |
|
85 |
-
1. Admin - Appearance -> Widget: Filter Widget List Style
|
86 |
-
2. Admin - Appearance -> Widget: Filter Widget Color Style
|
87 |
-
3. Admin - Appearance -> Widget: Filter Widget Label Style
|
88 |
-
4. Admin - Appearance -> Widget: Filter Widget Dropdown Style
|
89 |
-
5. Admin - Appearance -> Widget: Filter Reset Button
|
90 |
-
6. Frontend: Widget in sidebar
|
91 |
7. Frontend: Dropdown style
|
92 |
8. Frontend: Reset button and active filters
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
= 2.1.2 =
|
97 |
|
98 |
* Added: Support to WooCommerce 2.4
|
@@ -213,7 +271,7 @@ If you have created your own language pack, or have an update for an existing on
|
|
213 |
|
214 |
== Documentation ==
|
215 |
|
216 |
-
Full documentation is available [here](http://yithemes.com/docs-plugins/yith_woocommerce_ajax_navigation/).
|
217 |
|
218 |
== Upgrade notice ==
|
219 |
|
1 |
=== YITH WooCommerce Ajax Product Filter ===
|
2 |
|
3 |
Contributors: yithemes
|
4 |
+
Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.3
|
7 |
+
Stable tag: 2.2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
YITH WooCommerce Ajax Product Filter offers you the perfect way to filter all products of your WooCommerce shop.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
= Filter by the specific product you are looking for =
|
16 |
|
17 |
+
A powerful WooCommerce plugin: WooCommerce product filter widget, WooCommerce Ajax Product Filter lets you apply the filters you need to display the correct WooCommerce variations of the products you are looking for.
|
18 |
+
Choose among color, label, list and dropdown and your WooCommerce filtering search will display those specific products that suit perfectly your needs.
|
19 |
+
An extremely helpful WooCommerce plugin to help customers find what they really want.
|
20 |
+
All this can be done in a quick and very intuitive way that will certainly help your WooCommerce store improve in quality and usability.
|
21 |
|
22 |
|
23 |
+
Working demos for YITH WooCommerce Ajax Product Filter are available here:
|
24 |
**[LIVE DEMO 1](http://live.yithemes.com/globe/shop/?layout-shop=sidebar-right)** - **[LIVE DEMO 2](http://preview.yithemes.com/bazar/shop/)**
|
25 |
|
26 |
+
Full documentation for YITH WooCommerce Ajax Product Filter is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-ajax-product-filter/).
|
27 |
|
28 |
+
**Main Features of YITH WooCommerce Ajax Product Filter:**
|
29 |
|
30 |
+
* Filter WooCommerce products with YITH WooCommerce Ajax Product Filter widget (4 layouts available)
|
31 |
* List
|
32 |
* Dropdown
|
33 |
* Color
|
34 |
* Label
|
35 |
+
* Reset all applied filters with YITH WooCommerce Ajax Reset Filter widget
|
36 |
+
|
37 |
+
= Premium features of YITH WooCommerce Ajax Product Filter: =
|
38 |
+
|
39 |
+
* Two additional layouts for the YITH WooCommerce Ajax Product Filter widget (BiColor, Tags), in addition to compatibility with the plugin YITH WooCommerce Brands
|
40 |
+
* Customizable reset button (in the YITH WooCommerce Ajax Reset Filter widget)
|
41 |
+
* WooCommerce Search filter for products of a specific price range available thanks to the YITH WooCommerce Ajax List Price Filter widget
|
42 |
+
* Search filter for products on sale/available
|
43 |
+
* Ajax sorting for products displayed in the page (by rate, price, popularity, most recent)
|
44 |
+
* Upload of an icon as customized loader
|
45 |
+
* Customization of the WooCommerce Price Filter widget
|
46 |
+
|
47 |
+
|
48 |
+
YITH WooCommerce Ajax Product Filter is available in combination with many other plugins in [**YITH Essential Kit for WooCommerce #1**](https://wordpress.org/plugins/yith-essential-kit-for-woocommerce-1/), a bundle of indispensable tools to make your WooCommerce site look more professional and be more user-friendly. Learn more about all of WooCommerce plugins included and boost your WooCommerce site with a simple click!
|
49 |
+
|
50 |
+
|
51 |
+
= Compatibility with WooCommerce plugins =
|
52 |
+
|
53 |
+
YITH WooCommerce Ajax Product Filter has been tested and compatibility is certain with the following WooCommerce plugins that you can add to your site:
|
54 |
+
|
55 |
+
* [YITH WooCommerce Multi Vendor](https://wordpress.org/plugins/yith-woocommerce-product-vendors/)
|
56 |
+
* [YITH WooCommerce Brands Add-On](https://wordpress.org/plugins/yith-woocommerce-brands-add-on/)
|
57 |
+
* [YITH Product Size Charts for WooCommerce](https://wordpress.org/plugins/yith-product-size-charts-for-woocommerce/)
|
58 |
+
|
59 |
+
Nevertheless, it could be compatible with many other WooCommerce plugins that have not been tested yet. If you want to inform us about compatibility with other plugins, please, [email to us](mailto:plugins@yithemes.com "Your Inspiration Themes").
|
60 |
|
61 |
== Installation ==
|
62 |
|
63 |
1. Unzip the downloaded zip file.
|
64 |
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
|
65 |
+
3. Activate `YITH WooCommerce Ajax Product Filter` from Plugins page.
|
66 |
|
67 |
== Frequently Asked Questions ==
|
68 |
|
69 |
= Why isn't the widget displayed in my sidebar? =
|
70 |
+
In order to display the widget, you need to assign it to the sidebar in the Shop page and you also need to add WooCommerce Product Attributes to your product. Read the "Getting Started" section of the documentation to learn how to add them.
|
71 |
|
72 |
= Translation issue with the version 2.0.0 =
|
73 |
Dear users,
|
74 |
+
we would like to inform you that the plugin YITH WooCommerce Ajax Navigation will change its name into YITH WooCommerce Ajax Product Filter from the next update.
|
75 |
+
In addition to the name, with the new release the plugin, textdomain will change too from "yit" to "yith_wc_ajxnav".
|
76 |
+
This change solves issues concerning textdomain conflicts generated by some translation/multilanguage plugins you have identified in the past weeks.
|
77 |
+
It may be possible that, with the plugin update, some language files will not be recognized by WordPress. In this case, you will just have to rename the language files with the correct format, changing the old textdomain with the new one.
|
78 |
+
For example, if your language files were named yit-en_GB.po and yit-en_GB.mo, you will just have to rename them respectively as yith_wc_ajxnav-en_GB.po and yith_wc_ajxnav-en_GB.mo.
|
79 |
After renaming the files, you can update/translate the .po file following the classic procedure for translations.
|
80 |
|
81 |
+
= The widget with WooCommerce filters is not working =
|
82 |
+
= The page doesn't update after clicking on a WooCommerce filter =
|
83 |
|
84 |
The issue could be related to the fact you are using a non-standard template for a WooCommerce shop page. To solve it, you should ask to the theme's author to use WooCommerce standard HTML classes.
|
85 |
+
As an alternative, you can use this piece of code in functions.php file of your theme:
|
86 |
|
87 |
`
|
88 |
if( ! function_exists( 'yith_wcan_frontend_classes' ) ){
|
103 |
|
104 |
= PAAMAYIM NEKUDOTAYIM Error after update 2.1.0 =
|
105 |
|
106 |
+
After the update 2.1.0, some users of YITH WooCommerce Ajax Product Filter are experiencing the error: "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM". This is caused by the PHP version of your server that is older than the 5.3. To solve the issue, you just have to update the plugin to the version 2.1.1.
|
107 |
+
|
108 |
+
= Is it compatible with all WordPress themes? =
|
109 |
+
|
110 |
+
Compatibility with all themes is impossible, because they are too many, but generally if themes are developed according to WordPress and WooCommerce guidelines, YITH plugins are compatible with them.
|
111 |
+
Yet, we can grant compatibility with themes developed by YIThemes, because they are constantly updated and tested with our plugins. Sometimes, especially when new versions are released, it might only require some time for them to be all updated, but you can be sure that they will be tested and will be working in a few days.
|
112 |
+
|
113 |
+
|
114 |
+
= How can I get support if my WooCommerce plugin is not working? =
|
115 |
+
|
116 |
+
If you have problems with our WooCommerce plugins or something is not working as it should, first follow this preliminary steps:
|
117 |
+
|
118 |
+
* Test the plugin with a WordPress default theme, to be sure that the error is not caused by the theme you are currently using.
|
119 |
+
* Deactivate all plugins you are using and check if the problem is still occurring.
|
120 |
+
* Ensure that you plugin version, your theme version and your WordPress and WooCommerce version (if required) are updated and that the problem you are experiencing has not already been solved in a later plugin update.
|
121 |
+
|
122 |
+
If none of the previous listed actions helps you solve the problem, then, submit a ticket in the forum and describe your problem accurately, specify WordPress and WooCommerce versions you are using and any other information that might help us solve your problem as quickly as possible. Thanks!
|
123 |
+
|
124 |
+
|
125 |
+
= How can I get more features for my WooCommerce plugin? =
|
126 |
+
|
127 |
+
You can get more features with the premium version of YITH WooCommerce Ajax Product Filter, available on [YIThemes page]( https://yithemes.com/themes/plugins/yith-woocommerce-ajax-product-filter/). Here you can read more about the premium features of the plugin and make it give it its best shot!
|
128 |
+
|
129 |
+
|
130 |
+
= How can I try the full-featured plugin? =
|
131 |
+
|
132 |
+
If you want to see a demonstration version of the premium plugin, you can see it installed on two different WooCommerce sites, either in [this page]( http://plugins.yithemes.com/yith-woocommerce-ajax-product-filter/?preview) or in [this page](http://preview.yithemes.com/bazar/shop/). Browse it and try all options available so that you can see how your plugin looks like.
|
133 |
|
134 |
== Screenshots ==
|
135 |
|
136 |
+
1. Admin - Appearance -> Widget: WooCommerce Filter Widget List Style
|
137 |
+
2. Admin - Appearance -> Widget: WooCommerce Filter Widget Color Style
|
138 |
+
3. Admin - Appearance -> Widget: WooCommerce Filter Widget Label Style
|
139 |
+
4. Admin - Appearance -> Widget: WooCommerce Filter Widget Dropdown Style
|
140 |
+
5. Admin - Appearance -> Widget: WooCommerce Filter Reset Button
|
141 |
+
6. Frontend: WooCommerce Widget in sidebar
|
142 |
7. Frontend: Dropdown style
|
143 |
8. Frontend: Reset button and active filters
|
144 |
|
145 |
== Changelog ==
|
146 |
|
147 |
+
= 2.2.0 =
|
148 |
+
|
149 |
+
* Added: Support to WordPress 4.3
|
150 |
+
* Updated: Language files
|
151 |
+
* Fixed: Color lost after change widget style with WordPress 4.3
|
152 |
+
* Fixed: Warning when switch from color to label style
|
153 |
+
|
154 |
= 2.1.2 =
|
155 |
|
156 |
* Added: Support to WooCommerce 2.4
|
271 |
|
272 |
== Documentation ==
|
273 |
|
274 |
+
Full documentation for YITH WooCommerce Ajax Product Filter is available [here](http://yithemes.com/docs-plugins/yith_woocommerce_ajax_navigation/).
|
275 |
|
276 |
== Upgrade notice ==
|
277 |
|
assets/css/admin.css
CHANGED
@@ -23,10 +23,15 @@ p.yit-wcan-display-color,
|
|
23 |
p#yit-wcan-style,
|
24 |
p#yit-wcan-show-count,
|
25 |
p.yit-wcan-display-tags,
|
26 |
-
p.yit-wcan-display-brands
|
|
|
27 |
display: none;
|
28 |
}
|
29 |
|
|
|
|
|
|
|
|
|
30 |
p#yit-wcan-style.yit-wcan-style-color,
|
31 |
p#yit-wcan-style.yit-wcan-style-multicolor,
|
32 |
p#yit-wcan-show-count.yit-wcan-show-count-list,
|
23 |
p#yit-wcan-style,
|
24 |
p#yit-wcan-show-count,
|
25 |
p.yit-wcan-display-tags,
|
26 |
+
p.yit-wcan-display-brands,
|
27 |
+
div.yit-wcan-widget-tag-list {
|
28 |
display: none;
|
29 |
}
|
30 |
|
31 |
+
div.yit-wcan-widget-tag-list.tags{
|
32 |
+
display: block;
|
33 |
+
}
|
34 |
+
|
35 |
p#yit-wcan-style.yit-wcan-style-color,
|
36 |
p#yit-wcan-style.yit-wcan-style-multicolor,
|
37 |
p#yit-wcan-show-count.yit-wcan-show-count-list,
|
assets/js/yith-wcan-admin.js
CHANGED
@@ -12,7 +12,7 @@ jQuery(function ($) {
|
|
12 |
field_name = range_filter.data('field_name'),
|
13 |
position = parseInt(input_field.data('position')) + 1,
|
14 |
html = '<input type="text" placeholder="min" name="' + field_name + '[' + position + '][min]" value="" class="yith-wcan-price-filter-input widefat" data-position="' + position + '"/>' +
|
15 |
-
|
16 |
|
17 |
range_filter.append(html);
|
18 |
};
|
@@ -74,16 +74,13 @@ jQuery(function ($) {
|
|
74 |
tag_list.hide();
|
75 |
}
|
76 |
|
77 |
-
|
78 |
-
$.post(ajaxurl, data, function (response) {
|
79 |
spinner.hide();
|
80 |
container.html(response.content);
|
81 |
$(document).trigger('yith_colorpicker');
|
82 |
}, 'json');
|
83 |
});
|
84 |
|
85 |
-
$('.yith_wcan_type').trigger('change');
|
86 |
-
|
87 |
//color-picker
|
88 |
$(document).on('yith_colorpicker',function () {
|
89 |
$('.yith-colorpicker').each(function () {
|
@@ -118,15 +115,4 @@ jQuery(function ($) {
|
|
118 |
e.preventDefault();
|
119 |
$(this).parents( '.yith-wcan-select-option').next('.yith_wcan_select_tag').find('.yith_wcan_tag_list_checkbox').attr( 'checked', false );
|
120 |
});
|
121 |
-
|
122 |
-
/* widget_select.on('yith_wcan_admin_widget_change', function(){
|
123 |
-
$('#' + widget_select.val()).show();
|
124 |
-
});
|
125 |
-
|
126 |
-
widget_select.on('change', function(){
|
127 |
-
$('.option-wrapper').hide();
|
128 |
-
$('#' + widget_select.val()).fadeIn();
|
129 |
-
});
|
130 |
-
|
131 |
-
widget_select.trigger('yith_wcan_admin_widget_change');*/
|
132 |
});
|
12 |
field_name = range_filter.data('field_name'),
|
13 |
position = parseInt(input_field.data('position')) + 1,
|
14 |
html = '<input type="text" placeholder="min" name="' + field_name + '[' + position + '][min]" value="" class="yith-wcan-price-filter-input widefat" data-position="' + position + '"/>' +
|
15 |
+
'<input type="text" placeholder="max" name="' + field_name + '[' + position + '][max]" value="" class="yith-wcan-price-filter-input widefat" data-position="' + position + '"/>';
|
16 |
|
17 |
range_filter.append(html);
|
18 |
};
|
74 |
tag_list.hide();
|
75 |
}
|
76 |
|
77 |
+
$.post(ajaxurl, data, function (response) {
|
|
|
78 |
spinner.hide();
|
79 |
container.html(response.content);
|
80 |
$(document).trigger('yith_colorpicker');
|
81 |
}, 'json');
|
82 |
});
|
83 |
|
|
|
|
|
84 |
//color-picker
|
85 |
$(document).on('yith_colorpicker',function () {
|
86 |
$('.yith-colorpicker').each(function () {
|
115 |
e.preventDefault();
|
116 |
$(this).parents( '.yith-wcan-select-option').next('.yith_wcan_select_tag').find('.yith_wcan_tag_list_checkbox').attr( 'checked', false );
|
117 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
});
|
includes/class.yith-wcan-admin.php
CHANGED
@@ -66,7 +66,6 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
|
|
66 |
|
67 |
//Actions
|
68 |
add_action( 'init', array( $this, 'init' ) );
|
69 |
-
add_action( 'wp_ajax_yith_wcan_select_type', array( $this, 'ajax_print_terms' ) );
|
70 |
|
71 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
|
72 |
add_action( 'admin_menu', array( $this, 'register_panel' ), 5 );
|
@@ -222,33 +221,6 @@ if ( ! class_exists( 'YITH_WCAN_Admin' ) ) {
|
|
222 |
return defined( 'YITH_REFER_ID' ) ? $this->_premium_landing . '?refer_id=' . YITH_REFER_ID : $this->_premium_landing . '?refer_id=1030585';
|
223 |
}
|
224 |
|
225 |
-
/**
|
226 |
-
* Print terms for the element selected
|
227 |
-
*
|
228 |
-
* @access public
|
229 |
-
* @return void
|
230 |
-
* @since 1.0.0
|
231 |
-
*/
|
232 |
-
public function ajax_print_terms() {
|
233 |
-
$type = $_POST['value'];
|
234 |
-
$attribute = $_POST['attribute'];
|
235 |
-
$return = array( 'message' => '', 'content' => $_POST );
|
236 |
-
|
237 |
-
$terms = get_terms( 'pa_' . $attribute, array( 'hide_empty' => '0' ) );
|
238 |
-
|
239 |
-
$return['content'] = yith_wcan_attributes_table(
|
240 |
-
$type,
|
241 |
-
$attribute,
|
242 |
-
$_POST['id'],
|
243 |
-
$_POST['name'],
|
244 |
-
json_decode( $_POST['value'] ),
|
245 |
-
false
|
246 |
-
);
|
247 |
-
|
248 |
-
echo json_encode( $return );
|
249 |
-
die();
|
250 |
-
}
|
251 |
-
|
252 |
public function register_pointer() {
|
253 |
|
254 |
if( defined( 'YITH_WCAN_PREMIUM' ) && YITH_WCAN_PREMIUM ){
|
66 |
|
67 |
//Actions
|
68 |
add_action( 'init', array( $this, 'init' ) );
|
|
|
69 |
|
70 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
|
71 |
add_action( 'admin_menu', array( $this, 'register_panel' ), 5 );
|
221 |
return defined( 'YITH_REFER_ID' ) ? $this->_premium_landing . '?refer_id=' . YITH_REFER_ID : $this->_premium_landing . '?refer_id=1030585';
|
222 |
}
|
223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
public function register_pointer() {
|
225 |
|
226 |
if( defined( 'YITH_WCAN_PREMIUM' ) && YITH_WCAN_PREMIUM ){
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Ajax Product Filter
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
|
6 |
-
* Version: 2.
|
7 |
* Author: yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith_wc_ajxnav
|
@@ -65,7 +65,7 @@ if ( defined( 'YITH_WCAN_VERSION' ) ) {
|
|
65 |
! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
|
66 |
! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
|
67 |
! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
|
68 |
-
! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.
|
69 |
! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
|
70 |
! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
|
71 |
|
3 |
* Plugin Name: YITH WooCommerce Ajax Product Filter
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
|
6 |
+
* Version: 2.2.0
|
7 |
* Author: yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith_wc_ajxnav
|
65 |
! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
|
66 |
! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
|
67 |
! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
|
68 |
+
! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.2.0' );
|
69 |
! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
|
70 |
! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
|
71 |
|
languages/yith_wc_ajxnav-it_IT.mo
CHANGED
Binary file
|
languages/yith_wc_ajxnav-it_IT.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-
|
6 |
-
"PO-Revision-Date: 2015-
|
7 |
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: it_IT\n"
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
-
"X-Generator: Poedit 1.8.
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
17 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
@@ -20,29 +20,29 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
22 |
|
23 |
-
#: includes/class.yith-wcan-admin.php:
|
24 |
-
#: includes/class.yith-wcan-admin.php:
|
25 |
msgid "Premium Version"
|
26 |
msgstr "Versione Premium"
|
27 |
|
|
|
28 |
#: includes/class.yith-wcan-admin.php:141
|
29 |
-
#: includes/class.yith-wcan-admin.php:142
|
30 |
msgid "Ajax Product Filter"
|
31 |
msgstr "Ajax Product Filter"
|
32 |
|
33 |
-
#: includes/class.yith-wcan-admin.php:
|
34 |
msgid "Premium live demo"
|
35 |
msgstr "Anteprima versione premium"
|
36 |
|
37 |
-
#: includes/class.yith-wcan-admin.php:
|
38 |
msgid "Live demo"
|
39 |
msgstr "Anteprima"
|
40 |
|
41 |
-
#: includes/class.yith-wcan-admin.php:
|
42 |
msgid "Plugin Documentation"
|
43 |
msgstr "Documentazione Plugin"
|
44 |
|
45 |
-
#: includes/class.yith-wcan-admin.php:
|
46 |
msgid ""
|
47 |
"Dear users,\n"
|
48 |
" we would like to inform you that the YITH "
|
@@ -71,18 +71,18 @@ msgstr ""
|
|
71 |
"possibile aggiornare/tradurre il file .po seguendo la procedura classica di "
|
72 |
"traduzione."
|
73 |
|
74 |
-
#: includes/class.yith-wcan-admin.php:
|
75 |
-
|
76 |
msgid "YITH WooCommerce Ajax Product Filter"
|
77 |
msgstr "YITH WooCommerce Ajax Product Filter"
|
78 |
|
79 |
-
#: includes/class.yith-wcan-admin.php:
|
80 |
msgid ""
|
81 |
"YITH WooCommerce Product Filter has been updated with new available options"
|
82 |
msgstr ""
|
83 |
"YITH WooCommerce Product Filter è stato aggiornato con delle nuove opzioni"
|
84 |
|
85 |
-
#: includes/class.yith-wcan-admin.php:
|
86 |
msgid "discover the PREMIUM version"
|
87 |
msgstr "scopri la versione PREMIUM"
|
88 |
|
@@ -94,7 +94,7 @@ msgstr "Proprietà"
|
|
94 |
|
95 |
# @ yit
|
96 |
#: includes/functions.yith-wcan.php:57
|
97 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
98 |
msgid "Color"
|
99 |
msgstr "Colore"
|
100 |
|
@@ -259,68 +259,73 @@ msgstr ""
|
|
259 |
msgid "Filter the product list without reloading the page"
|
260 |
msgstr "Filtra l'elenco prodotti senza ricaricare la pagina"
|
261 |
|
262 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
|
|
|
|
|
|
|
|
|
|
263 |
msgid "Filters:"
|
264 |
msgstr "Filtri:"
|
265 |
|
266 |
# @ yit
|
267 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
268 |
msgid "List"
|
269 |
msgstr "Lista"
|
270 |
|
271 |
# @ yit
|
272 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
273 |
msgid "Label"
|
274 |
msgstr "Etichetta"
|
275 |
|
276 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
277 |
msgid "Dropdown"
|
278 |
msgstr "Menu a tendina"
|
279 |
|
280 |
# @ yit
|
281 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
282 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:89
|
283 |
msgid "Title"
|
284 |
msgstr "Titolo"
|
285 |
|
286 |
# @ yit
|
287 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
288 |
msgid "Type:"
|
289 |
msgstr "Tipo:"
|
290 |
|
291 |
# @ yit
|
292 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
293 |
msgid "Query Type:"
|
294 |
msgstr "Tipo Query:"
|
295 |
|
296 |
# @ yit
|
297 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
298 |
msgid "AND"
|
299 |
msgstr "E"
|
300 |
|
301 |
# @ yit
|
302 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
303 |
msgid "OR"
|
304 |
msgstr "O"
|
305 |
|
306 |
# @ yit
|
307 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
308 |
msgid "Attribute:"
|
309 |
msgstr "Attributo:"
|
310 |
|
311 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
312 |
msgid "Display (default All):"
|
313 |
msgstr "Visualizza (default Tutti)"
|
314 |
|
315 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
316 |
msgid "All (no hierarchical)"
|
317 |
msgstr "Tutti (non gerarchico)"
|
318 |
|
319 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
320 |
msgid "All (hierarchical)"
|
321 |
msgstr "Tutti (gerarchico)"
|
322 |
|
323 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
324 |
msgid "Only Parent"
|
325 |
msgstr "Solo Principali"
|
326 |
|
@@ -341,16 +346,15 @@ msgstr "Resetta tutti i filtri"
|
|
341 |
msgid "Button Label"
|
342 |
msgstr "Etichetta Pulsante"
|
343 |
|
|
|
|
|
|
|
344 |
#~ msgid "Settings"
|
345 |
#~ msgstr "Impostazioni"
|
346 |
|
347 |
#~ msgid "Front end"
|
348 |
#~ msgstr "Front end"
|
349 |
|
350 |
-
#~ msgctxt "Admin(Pointers): Plugin Title"
|
351 |
-
#~ msgid "YITH WooCommerce Ajax Product Filter"
|
352 |
-
#~ msgstr "YITH WooCommerce Ajax Product Filter"
|
353 |
-
|
354 |
#~ msgid "General Settings"
|
355 |
#~ msgstr "Impostazioni Generali"
|
356 |
|
@@ -541,10 +545,6 @@ msgstr "Etichetta Pulsante"
|
|
541 |
#~ msgid "Please take note of the following Widgets ID"
|
542 |
#~ msgstr "Si prega di prender nota dei seguenti ID dei widget"
|
543 |
|
544 |
-
#~ msgctxt "Admin: Widget Title"
|
545 |
-
#~ msgid "YITH WooCommerce Ajax Product Filter"
|
546 |
-
#~ msgstr "YITH WooCommerce Filtro Prodotti Ajax"
|
547 |
-
|
548 |
#~ msgid "Use custom style for reset button"
|
549 |
#~ msgstr "Utilizza uno stile personalizzato per il pulsante di reset"
|
550 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-08-25 09:39+0100\n"
|
6 |
+
"PO-Revision-Date: 2015-08-25 09:40+0100\n"
|
7 |
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: it_IT\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
14 |
+
"X-Generator: Poedit 1.8.1\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
17 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: plugin-fw\n"
|
22 |
|
23 |
+
#: includes/class.yith-wcan-admin.php:134
|
24 |
+
#: includes/class.yith-wcan-admin.php:184
|
25 |
msgid "Premium Version"
|
26 |
msgstr "Versione Premium"
|
27 |
|
28 |
+
#: includes/class.yith-wcan-admin.php:140
|
29 |
#: includes/class.yith-wcan-admin.php:141
|
|
|
30 |
msgid "Ajax Product Filter"
|
31 |
msgstr "Ajax Product Filter"
|
32 |
|
33 |
+
#: includes/class.yith-wcan-admin.php:180
|
34 |
msgid "Premium live demo"
|
35 |
msgstr "Anteprima versione premium"
|
36 |
|
37 |
+
#: includes/class.yith-wcan-admin.php:180
|
38 |
msgid "Live demo"
|
39 |
msgstr "Anteprima"
|
40 |
|
41 |
+
#: includes/class.yith-wcan-admin.php:208
|
42 |
msgid "Plugin Documentation"
|
43 |
msgstr "Documentazione Plugin"
|
44 |
|
45 |
+
#: includes/class.yith-wcan-admin.php:234
|
46 |
msgid ""
|
47 |
"Dear users,\n"
|
48 |
" we would like to inform you that the YITH "
|
71 |
"possibile aggiornare/tradurre il file .po seguendo la procedura classica di "
|
72 |
"traduzione."
|
73 |
|
74 |
+
#: includes/class.yith-wcan-admin.php:239
|
75 |
+
msgctxt "Admin(Pointers): Plugin Title"
|
76 |
msgid "YITH WooCommerce Ajax Product Filter"
|
77 |
msgstr "YITH WooCommerce Ajax Product Filter"
|
78 |
|
79 |
+
#: includes/class.yith-wcan-admin.php:241
|
80 |
msgid ""
|
81 |
"YITH WooCommerce Product Filter has been updated with new available options"
|
82 |
msgstr ""
|
83 |
"YITH WooCommerce Product Filter è stato aggiornato con delle nuove opzioni"
|
84 |
|
85 |
+
#: includes/class.yith-wcan-admin.php:241
|
86 |
msgid "discover the PREMIUM version"
|
87 |
msgstr "scopri la versione PREMIUM"
|
88 |
|
94 |
|
95 |
# @ yit
|
96 |
#: includes/functions.yith-wcan.php:57
|
97 |
+
#: widgets/class.yith-wcan-navigation-widget.php:813
|
98 |
msgid "Color"
|
99 |
msgstr "Colore"
|
100 |
|
259 |
msgid "Filter the product list without reloading the page"
|
260 |
msgstr "Filtra l'elenco prodotti senza ricaricare la pagina"
|
261 |
|
262 |
+
#: widgets/class.yith-wcan-navigation-widget.php:26
|
263 |
+
msgctxt "Admin: Widget Title"
|
264 |
+
msgid "YITH WooCommerce Ajax Product Filter"
|
265 |
+
msgstr "YITH WooCommerce Filtro Prodotti Ajax"
|
266 |
+
|
267 |
+
#: widgets/class.yith-wcan-navigation-widget.php:264
|
268 |
msgid "Filters:"
|
269 |
msgstr "Filtri:"
|
270 |
|
271 |
# @ yit
|
272 |
+
#: widgets/class.yith-wcan-navigation-widget.php:812
|
273 |
msgid "List"
|
274 |
msgstr "Lista"
|
275 |
|
276 |
# @ yit
|
277 |
+
#: widgets/class.yith-wcan-navigation-widget.php:814
|
278 |
msgid "Label"
|
279 |
msgstr "Etichetta"
|
280 |
|
281 |
+
#: widgets/class.yith-wcan-navigation-widget.php:815
|
282 |
msgid "Dropdown"
|
283 |
msgstr "Menu a tendina"
|
284 |
|
285 |
# @ yit
|
286 |
+
#: widgets/class.yith-wcan-navigation-widget.php:822
|
287 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:89
|
288 |
msgid "Title"
|
289 |
msgstr "Titolo"
|
290 |
|
291 |
# @ yit
|
292 |
+
#: widgets/class.yith-wcan-navigation-widget.php:828
|
293 |
msgid "Type:"
|
294 |
msgstr "Tipo:"
|
295 |
|
296 |
# @ yit
|
297 |
+
#: widgets/class.yith-wcan-navigation-widget.php:839
|
298 |
msgid "Query Type:"
|
299 |
msgstr "Tipo Query:"
|
300 |
|
301 |
# @ yit
|
302 |
+
#: widgets/class.yith-wcan-navigation-widget.php:841
|
303 |
msgid "AND"
|
304 |
msgstr "E"
|
305 |
|
306 |
# @ yit
|
307 |
+
#: widgets/class.yith-wcan-navigation-widget.php:842
|
308 |
msgid "OR"
|
309 |
msgstr "O"
|
310 |
|
311 |
# @ yit
|
312 |
+
#: widgets/class.yith-wcan-navigation-widget.php:846
|
313 |
msgid "Attribute:"
|
314 |
msgstr "Attributo:"
|
315 |
|
316 |
+
#: widgets/class.yith-wcan-navigation-widget.php:853
|
317 |
msgid "Display (default All):"
|
318 |
msgstr "Visualizza (default Tutti)"
|
319 |
|
320 |
+
#: widgets/class.yith-wcan-navigation-widget.php:855
|
321 |
msgid "All (no hierarchical)"
|
322 |
msgstr "Tutti (non gerarchico)"
|
323 |
|
324 |
+
#: widgets/class.yith-wcan-navigation-widget.php:856
|
325 |
msgid "All (hierarchical)"
|
326 |
msgstr "Tutti (gerarchico)"
|
327 |
|
328 |
+
#: widgets/class.yith-wcan-navigation-widget.php:857
|
329 |
msgid "Only Parent"
|
330 |
msgstr "Solo Principali"
|
331 |
|
346 |
msgid "Button Label"
|
347 |
msgstr "Etichetta Pulsante"
|
348 |
|
349 |
+
#~ msgid "YITH WooCommerce Ajax Product Filter"
|
350 |
+
#~ msgstr "YITH WooCommerce Ajax Product Filter"
|
351 |
+
|
352 |
#~ msgid "Settings"
|
353 |
#~ msgstr "Impostazioni"
|
354 |
|
355 |
#~ msgid "Front end"
|
356 |
#~ msgstr "Front end"
|
357 |
|
|
|
|
|
|
|
|
|
358 |
#~ msgid "General Settings"
|
359 |
#~ msgstr "Impostazioni Generali"
|
360 |
|
545 |
#~ msgid "Please take note of the following Widgets ID"
|
546 |
#~ msgstr "Si prega di prender nota dei seguenti ID dei widget"
|
547 |
|
|
|
|
|
|
|
|
|
548 |
#~ msgid "Use custom style for reset button"
|
549 |
#~ msgstr "Utilizza uno stile personalizzato per il pulsante di reset"
|
550 |
|
languages/yith_wc_ajxnav-tr_TR.mo
CHANGED
Binary file
|
languages/yith_wc_ajxnav-tr_TR.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-
|
6 |
-
"PO-Revision-Date: 2015-
|
7 |
"Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
|
8 |
"Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
|
9 |
"Language: tr\n"
|
@@ -20,29 +20,29 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
22 |
|
23 |
-
#: includes/class.yith-wcan-admin.php:
|
24 |
-
#: includes/class.yith-wcan-admin.php:
|
25 |
msgid "Premium Version"
|
26 |
msgstr ""
|
27 |
|
|
|
28 |
#: includes/class.yith-wcan-admin.php:141
|
29 |
-
#: includes/class.yith-wcan-admin.php:142
|
30 |
msgid "Ajax Product Filter"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: includes/class.yith-wcan-admin.php:
|
34 |
msgid "Premium live demo"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: includes/class.yith-wcan-admin.php:
|
38 |
msgid "Live demo"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: includes/class.yith-wcan-admin.php:
|
42 |
msgid "Plugin Documentation"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: includes/class.yith-wcan-admin.php:
|
46 |
msgid ""
|
47 |
"Dear users,\n"
|
48 |
" we would like to inform you that the YITH "
|
@@ -58,17 +58,17 @@ msgid ""
|
|
58 |
"translate the .po file following the classic procedure for translations."
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: includes/class.yith-wcan-admin.php:
|
62 |
-
|
63 |
msgid "YITH WooCommerce Ajax Product Filter"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: includes/class.yith-wcan-admin.php:
|
67 |
msgid ""
|
68 |
"YITH WooCommerce Product Filter has been updated with new available options"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: includes/class.yith-wcan-admin.php:
|
72 |
msgid "discover the PREMIUM version"
|
73 |
msgstr ""
|
74 |
|
@@ -80,7 +80,7 @@ msgstr "Terim"
|
|
80 |
|
81 |
# @ yit
|
82 |
#: includes/functions.yith-wcan.php:57
|
83 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
84 |
msgid "Color"
|
85 |
msgstr "Renk"
|
86 |
|
@@ -318,7 +318,7 @@ msgstr ""
|
|
318 |
msgid "Upload multiple files"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: plugin-fw/lib/yit-plugin-panel-wc.php:
|
322 |
msgid "The changes you have made will be lost if you leave this page."
|
323 |
msgstr ""
|
324 |
|
@@ -1150,68 +1150,73 @@ msgstr ""
|
|
1150 |
msgid "Filter the product list without reloading the page"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
|
|
|
|
|
|
|
|
|
|
1154 |
msgid "Filters:"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
# @ yit
|
1158 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1159 |
msgid "List"
|
1160 |
msgstr "Liste"
|
1161 |
|
1162 |
# @ yit
|
1163 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1164 |
msgid "Label"
|
1165 |
msgstr "Etiket"
|
1166 |
|
1167 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1168 |
msgid "Dropdown"
|
1169 |
msgstr "Açılır Menü"
|
1170 |
|
1171 |
# @ yit
|
1172 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1173 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:89
|
1174 |
msgid "Title"
|
1175 |
msgstr "Başlık"
|
1176 |
|
1177 |
# @ yit
|
1178 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1179 |
msgid "Type:"
|
1180 |
msgstr "Tür:"
|
1181 |
|
1182 |
# @ yit
|
1183 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1184 |
msgid "Query Type:"
|
1185 |
msgstr "Sorgu Tipi:"
|
1186 |
|
1187 |
# @ yit
|
1188 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1189 |
msgid "AND"
|
1190 |
msgstr "VE"
|
1191 |
|
1192 |
# @ yit
|
1193 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1194 |
msgid "OR"
|
1195 |
msgstr "VEYA"
|
1196 |
|
1197 |
# @ yit
|
1198 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1199 |
msgid "Attribute:"
|
1200 |
msgstr "Özellikler:"
|
1201 |
|
1202 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1203 |
msgid "Display (default All):"
|
1204 |
msgstr "Görüntüleme (Varsayılan tümü):"
|
1205 |
|
1206 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1207 |
msgid "All (no hierarchical)"
|
1208 |
msgstr "Tümü"
|
1209 |
|
1210 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1211 |
msgid "All (hierarchical)"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
-
#: widgets/class.yith-wcan-navigation-widget.php:
|
1215 |
msgid "Only Parent"
|
1216 |
msgstr "Sadece Ebeveyn"
|
1217 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-08-25 09:40+0100\n"
|
6 |
+
"PO-Revision-Date: 2015-08-25 09:40+0100\n"
|
7 |
"Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
|
8 |
"Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
|
9 |
"Language: tr\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
22 |
|
23 |
+
#: includes/class.yith-wcan-admin.php:134
|
24 |
+
#: includes/class.yith-wcan-admin.php:184
|
25 |
msgid "Premium Version"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: includes/class.yith-wcan-admin.php:140
|
29 |
#: includes/class.yith-wcan-admin.php:141
|
|
|
30 |
msgid "Ajax Product Filter"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/class.yith-wcan-admin.php:180
|
34 |
msgid "Premium live demo"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: includes/class.yith-wcan-admin.php:180
|
38 |
msgid "Live demo"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: includes/class.yith-wcan-admin.php:208
|
42 |
msgid "Plugin Documentation"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: includes/class.yith-wcan-admin.php:234
|
46 |
msgid ""
|
47 |
"Dear users,\n"
|
48 |
" we would like to inform you that the YITH "
|
58 |
"translate the .po file following the classic procedure for translations."
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: includes/class.yith-wcan-admin.php:239
|
62 |
+
msgctxt "Admin(Pointers): Plugin Title"
|
63 |
msgid "YITH WooCommerce Ajax Product Filter"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: includes/class.yith-wcan-admin.php:241
|
67 |
msgid ""
|
68 |
"YITH WooCommerce Product Filter has been updated with new available options"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/class.yith-wcan-admin.php:241
|
72 |
msgid "discover the PREMIUM version"
|
73 |
msgstr ""
|
74 |
|
80 |
|
81 |
# @ yit
|
82 |
#: includes/functions.yith-wcan.php:57
|
83 |
+
#: widgets/class.yith-wcan-navigation-widget.php:813
|
84 |
msgid "Color"
|
85 |
msgstr "Renk"
|
86 |
|
318 |
msgid "Upload multiple files"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: plugin-fw/lib/yit-plugin-panel-wc.php:322
|
322 |
msgid "The changes you have made will be lost if you leave this page."
|
323 |
msgstr ""
|
324 |
|
1150 |
msgid "Filter the product list without reloading the page"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: widgets/class.yith-wcan-navigation-widget.php:26
|
1154 |
+
msgctxt "Admin: Widget Title"
|
1155 |
+
msgid "YITH WooCommerce Ajax Product Filter"
|
1156 |
+
msgstr ""
|
1157 |
+
|
1158 |
+
#: widgets/class.yith-wcan-navigation-widget.php:264
|
1159 |
msgid "Filters:"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
# @ yit
|
1163 |
+
#: widgets/class.yith-wcan-navigation-widget.php:812
|
1164 |
msgid "List"
|
1165 |
msgstr "Liste"
|
1166 |
|
1167 |
# @ yit
|
1168 |
+
#: widgets/class.yith-wcan-navigation-widget.php:814
|
1169 |
msgid "Label"
|
1170 |
msgstr "Etiket"
|
1171 |
|
1172 |
+
#: widgets/class.yith-wcan-navigation-widget.php:815
|
1173 |
msgid "Dropdown"
|
1174 |
msgstr "Açılır Menü"
|
1175 |
|
1176 |
# @ yit
|
1177 |
+
#: widgets/class.yith-wcan-navigation-widget.php:822
|
1178 |
#: widgets/class.yith-wcan-reset-navigation-widget.php:89
|
1179 |
msgid "Title"
|
1180 |
msgstr "Başlık"
|
1181 |
|
1182 |
# @ yit
|
1183 |
+
#: widgets/class.yith-wcan-navigation-widget.php:828
|
1184 |
msgid "Type:"
|
1185 |
msgstr "Tür:"
|
1186 |
|
1187 |
# @ yit
|
1188 |
+
#: widgets/class.yith-wcan-navigation-widget.php:839
|
1189 |
msgid "Query Type:"
|
1190 |
msgstr "Sorgu Tipi:"
|
1191 |
|
1192 |
# @ yit
|
1193 |
+
#: widgets/class.yith-wcan-navigation-widget.php:841
|
1194 |
msgid "AND"
|
1195 |
msgstr "VE"
|
1196 |
|
1197 |
# @ yit
|
1198 |
+
#: widgets/class.yith-wcan-navigation-widget.php:842
|
1199 |
msgid "OR"
|
1200 |
msgstr "VEYA"
|
1201 |
|
1202 |
# @ yit
|
1203 |
+
#: widgets/class.yith-wcan-navigation-widget.php:846
|
1204 |
msgid "Attribute:"
|
1205 |
msgstr "Özellikler:"
|
1206 |
|
1207 |
+
#: widgets/class.yith-wcan-navigation-widget.php:853
|
1208 |
msgid "Display (default All):"
|
1209 |
msgstr "Görüntüleme (Varsayılan tümü):"
|
1210 |
|
1211 |
+
#: widgets/class.yith-wcan-navigation-widget.php:855
|
1212 |
msgid "All (no hierarchical)"
|
1213 |
msgstr "Tümü"
|
1214 |
|
1215 |
+
#: widgets/class.yith-wcan-navigation-widget.php:856
|
1216 |
msgid "All (hierarchical)"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
+
#: widgets/class.yith-wcan-navigation-widget.php:857
|
1220 |
msgid "Only Parent"
|
1221 |
msgstr "Sadece Ebeveyn"
|
1222 |
|
languages/yith_wc_ajxnav.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2015-08-
|
7 |
"PO-Revision-Date: 2015-06-19 13:59+0100\n"
|
8 |
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
|
9 |
"Language-Team: \n"
|
@@ -21,29 +21,29 @@ msgstr ""
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
23 |
|
24 |
-
#: includes/class.yith-wcan-admin.php:
|
25 |
-
#: includes/class.yith-wcan-admin.php:
|
26 |
msgid "Premium Version"
|
27 |
msgstr ""
|
28 |
|
|
|
29 |
#: includes/class.yith-wcan-admin.php:141
|
30 |
-
#: includes/class.yith-wcan-admin.php:142
|
31 |
msgid "Ajax Product Filter"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: includes/class.yith-wcan-admin.php:
|
35 |
msgid "Premium live demo"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: includes/class.yith-wcan-admin.php:
|
39 |
msgid "Live demo"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: includes/class.yith-wcan-admin.php:
|
43 |
msgid "Plugin Documentation"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class.yith-wcan-admin.php:
|
47 |
msgid ""
|
48 |
"Dear users,\n"
|
49 |
" we would like to inform you that the YITH "
|
@@ -60,18 +60,18 @@ msgid ""
|
|
60 |
"translations."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/class.yith-wcan-admin.php:
|
64 |
msgctxt "Admin(Pointers): Plugin Title"
|
65 |
msgid "YITH WooCommerce Ajax Product Filter"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: includes/class.yith-wcan-admin.php:
|
69 |
msgid ""
|
70 |
"YITH WooCommerce Product Filter has been updated with new available "
|
71 |
"options"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: includes/class.yith-wcan-admin.php:
|
75 |
msgid "discover the PREMIUM version"
|
76 |
msgstr ""
|
77 |
|
@@ -320,7 +320,7 @@ msgstr ""
|
|
320 |
msgid "Upload multiple files"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: plugin-fw/lib/yit-plugin-panel-wc.php:
|
324 |
msgid "The changes you have made will be lost if you leave this page."
|
325 |
msgstr ""
|
326 |
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2015-08-25 09:39+0100\n"
|
7 |
"PO-Revision-Date: 2015-06-19 13:59+0100\n"
|
8 |
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
|
9 |
"Language-Team: \n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
23 |
|
24 |
+
#: includes/class.yith-wcan-admin.php:134
|
25 |
+
#: includes/class.yith-wcan-admin.php:184
|
26 |
msgid "Premium Version"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: includes/class.yith-wcan-admin.php:140
|
30 |
#: includes/class.yith-wcan-admin.php:141
|
|
|
31 |
msgid "Ajax Product Filter"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: includes/class.yith-wcan-admin.php:180
|
35 |
msgid "Premium live demo"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: includes/class.yith-wcan-admin.php:180
|
39 |
msgid "Live demo"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: includes/class.yith-wcan-admin.php:208
|
43 |
msgid "Plugin Documentation"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: includes/class.yith-wcan-admin.php:234
|
47 |
msgid ""
|
48 |
"Dear users,\n"
|
49 |
" we would like to inform you that the YITH "
|
60 |
"translations."
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: includes/class.yith-wcan-admin.php:239
|
64 |
msgctxt "Admin(Pointers): Plugin Title"
|
65 |
msgid "YITH WooCommerce Ajax Product Filter"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: includes/class.yith-wcan-admin.php:241
|
69 |
msgid ""
|
70 |
"YITH WooCommerce Product Filter has been updated with new available "
|
71 |
"options"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: includes/class.yith-wcan-admin.php:241
|
75 |
msgid "discover the PREMIUM version"
|
76 |
msgstr ""
|
77 |
|
320 |
msgid "Upload multiple files"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: plugin-fw/lib/yit-plugin-panel-wc.php:322
|
324 |
msgid "The changes you have made will be lost if you leave this page."
|
325 |
msgstr ""
|
326 |
|
widgets/class.yith-wcan-navigation-widget.php
CHANGED
@@ -901,9 +901,9 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
|
|
901 |
$instance['attribute'] = stripslashes( $new_instance['attribute'] );
|
902 |
$instance['query_type'] = stripslashes( $new_instance['query_type'] );
|
903 |
$instance['type'] = stripslashes( $new_instance['type'] );
|
904 |
-
$instance['colors'] = $new_instance['colors'];
|
905 |
-
$instance['multicolor'] = $new_instance['multicolor'];
|
906 |
-
$instance['labels'] = $new_instance['labels'];
|
907 |
$instance['display'] = $new_instance['display'];
|
908 |
|
909 |
return $instance;
|
901 |
$instance['attribute'] = stripslashes( $new_instance['attribute'] );
|
902 |
$instance['query_type'] = stripslashes( $new_instance['query_type'] );
|
903 |
$instance['type'] = stripslashes( $new_instance['type'] );
|
904 |
+
$instance['colors'] = ! empty( $new_instance['colors'] ) ? $new_instance['colors'] : array();
|
905 |
+
$instance['multicolor'] = ! empty( $new_instance['multicolor'] ) ? $new_instance['multicolor'] : array();
|
906 |
+
$instance['labels'] = ! empty( $new_instance['labels'] ) ? $new_instance['labels'] : array();
|
907 |
$instance['display'] = $new_instance['display'];
|
908 |
|
909 |
return $instance;
|
widgets/class.yith-wcan-reset-navigation-widget.php
CHANGED
@@ -100,7 +100,7 @@ if ( ! class_exists( 'YITH_WCAN_Reset_Navigation_Widget' ) ) {
|
|
100 |
<?php
|
101 |
}
|
102 |
|
103 |
-
function update( $new_instance, $old_instance ) {
|
104 |
$instance = $old_instance;
|
105 |
$instance['title'] = strip_tags( $new_instance['title'] );
|
106 |
$instance['label'] = strip_tags( $new_instance['label'] );
|
100 |
<?php
|
101 |
}
|
102 |
|
103 |
+
function update( $new_instance, $old_instance ) {
|
104 |
$instance = $old_instance;
|
105 |
$instance['title'] = strip_tags( $new_instance['title'] );
|
106 |
$instance['label'] = strip_tags( $new_instance['label'] );
|