YITH WooCommerce Ajax Search - Version 1.2.7

Version Description

Updated: Plugin Core Framework

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Search
Version 1.2.7
Comparing to
See all releases

Code changes from version 1.2.6 to 1.2.7

README.txt CHANGED
@@ -4,12 +4,11 @@ Contributors: yithemes
4
  Tags: ajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
5
  Requires at least: 3.5.1
6
  Tested up to: 4.1.1
7
- Stable tag: 1.2.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  YITH WooCommerce Ajax Search allows your users to search products in real time.
12
- WooCommerce 2.3.x Compatible.
13
 
14
  == Description ==
15
 
@@ -23,49 +22,48 @@ Did you ever forget the name of a product? Just start to write your keyphrase. A
23
 
24
  It works just like Google Suggest, but on your website, using your database.
25
 
 
26
 
27
- Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-ajax-search/).
 
 
28
 
29
 
30
- = Installation =
31
 
32
- Once you have installed the plugin, you just need to activate the plugin in order to enable it.
33
-
34
- = Configuration =
35
- YITH WooCommerce Ajax Search will add a new submenu called "Ajax Search" under "YIT Plugins" menu. Here you are able to configure all the plugin settings.
36
-
37
- = Developer =
38
-
39
- Are you a developer? Want to customize the templates or the style of the plugin? Read on the [documentation](http://yithemes.com/docs-plugins/yith-woocommerce-ajax-search/) and discover how to do that.
40
-
41
- = Support =
42
-
43
- Already knew it, right?! Great, but maybe you do not know that: if you're looking for how to install the plugins or how to use them within your Wordpress installations, which is the right way to ask support?
44
- That's the way:
45
-
46
- * Register on http://yithemes.com
47
- * Go to Support > Get Support
48
-
49
- Here we provide support, not on wordpress.org were, usually we do not read topics. It's better to follow us or write on our forum!
50
 
51
  == Installation ==
 
52
 
53
  1. Unzip the downloaded zip file.
54
  2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
55
  3. Activate `YITH WooCommerce Ajax Search` from Plugins page
56
 
57
- == Frequently Asked Questions ==
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
- = How can I change the minimum number of characters? =
60
- In WooCommerce->Settings->Ajax Search page, you can choose the minumum size of the search before to trigger autosuggest.
61
 
62
 
63
  == Screenshots ==
64
 
65
- 1. The plugin at work displaying the ajax search results
66
- 2. The Ajax Search settings page
67
 
68
  == Changelog ==
 
 
69
 
70
  = 1.2.6 =
71
  Updated: Plugin Core Framework
@@ -118,24 +116,19 @@ Fixed: Support to WPML in query string
118
 
119
  * Initial release
120
 
121
- == Suggestions ==
122
-
123
- If you have suggestions about how to improve YITH WooCommerce Ajax Search, you can [write us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle them into YITH WooCommerce Ajax Search.
124
-
125
- == Translators ==
126
-
127
- = Available Languages =
128
- * English (Default)
129
- * Italiano
130
-
131
- If you have created your own language pack, or have an update for an existing one, you can send [gettext PO and MO file](http://codex.wordpress.org/Translating_WordPress "Translating WordPress")
132
- [use](http://yithemes.com/contact/ "Your Inspiration Themes") so we can bundle it into YITH WooCommerce Ajax Search.
133
 
134
- == Documentation ==
 
 
135
 
136
- Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-ajax-search/).
 
 
 
 
137
 
138
- == Upgrade notice ==
 
139
 
140
  = 1.2.4 =
141
  * Fixed: Minor bugs
@@ -177,4 +170,4 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
177
 
178
  = 1.0.0 =
179
 
180
- Initial release
4
  Tags: ajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
5
  Requires at least: 3.5.1
6
  Tested up to: 4.1.1
7
+ Stable tag: 1.2.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  YITH WooCommerce Ajax Search allows your users to search products in real time.
 
12
 
13
  == Description ==
14
 
22
 
23
  It works just like Google Suggest, but on your website, using your database.
24
 
25
+ **Plugin's features:**
26
 
27
+ * Widget and shortcodes to show the searchform in every part of the site
28
+ * Options for the customization of the searchform
29
+ * Options for the visualization of the search results
30
 
31
 
32
+ For a more detailed list of options and features of the plugin, please look at the [official documentation](http://yithemes.com/docs-plugins/yith-woocommerce-ajax-search/ "YITH Woocommerce Ajax Search official documentation").
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  == Installation ==
36
+ Important: First of all, you have to download and activate WooCommerce plugin, which is mandatory for YITH WooCommerce Ajax Search to be working.
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 Search` from Plugins page
41
 
42
+ = Configuration =
43
+ YITH WooCommerce Ajax Search will add a new tab called "Ajax Search" in "YIT Plugins" menu item. There, you will find all Yithemes plugins with quick access to plugin setting page.
44
+
45
+ == Suggestions ==
46
+ If you have any suggestions concerning how to improve YITH Woocommerce Request A Quote, you can [write to us](mailto:plugins@yithemes.com "Your Inspiration Themes"), so that we can improve YITH Woocommerce Request A Quote.
47
+
48
+ == Translators ==
49
+
50
+ = Available Languages =
51
+ * English (Default)
52
+ * Italiano
53
+
54
+ If you have created your own language pack, or have an update for an existing one, you can send [gettext PO and MO file](http://codex.wordpress.org/Translating_WordPress "Translating WordPress")
55
+ [to us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle it into YITH WooCommerce Ajax Search.
56
 
 
 
57
 
58
 
59
  == Screenshots ==
60
 
61
+ 1. The Ajax Search settings page
62
+ 2. The plugin at work displaying the ajax search results
63
 
64
  == Changelog ==
65
+ = 1.2.7 =
66
+ Updated: Plugin Core Framework
67
 
68
  = 1.2.6 =
69
  Updated: Plugin Core Framework
116
 
117
  * Initial release
118
 
 
 
 
 
 
 
 
 
 
 
 
 
119
 
120
+ == Upgrade notice ==
121
+ = 1.2.7 =
122
+ Updated: Plugin Core Framework
123
 
124
+ = 1.2.6 =
125
+ Updated: Plugin Core Framework
126
+ Fixed: Loader image not hided after search
127
+ Fixed: Disabled submit when search string is empty
128
+ Fixed: Support to WPML in query string
129
 
130
+ = 1.2.5 =
131
+ * Fixed: Plugin installation bug
132
 
133
  = 1.2.4 =
134
  * Fixed: Minor bugs
170
 
171
  = 1.0.0 =
172
 
173
+ Initial release
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Ajax Search
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Search allows your users to search products in real time.
6
- * Version: 1.2.6
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
@@ -59,7 +59,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
59
  if ( defined( 'YITH_WCAS_VERSION' ) ){
60
  return;
61
  }else{
62
- define( 'YITH_WCAS_VERSION', '1.2.6' );
63
  }
64
 
65
  if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
3
  * Plugin Name: YITH WooCommerce Ajax Search
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Search allows your users to search products in real time.
6
+ * Version: 1.2.7
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
59
  if ( defined( 'YITH_WCAS_VERSION' ) ){
60
  return;
61
  }else{
62
+ define( 'YITH_WCAS_VERSION', '1.2.7' );
63
  }
64
 
65
  if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
plugin-fw/licence/assets/css/yit-licence.css CHANGED
@@ -315,6 +315,19 @@
315
  outline: 0;
316
  }
317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  /* === Responsive === */
319
 
320
  @media (max-width: 767px) {}
315
  outline: 0;
316
  }
317
 
318
+ /* Licence FAQ */
319
+ .yit-container.product-licence-activation .activation-faq {
320
+ background: #ffffff;
321
+ margin-bottom: 20px;
322
+ border: 1px solid #dcdcdc;
323
+ padding: 0 15px;
324
+ border-radius: 3px;
325
+ }
326
+
327
+ .yit-container.product-licence-activation .activation-faq h3{
328
+ color: #808a97;
329
+ }
330
+
331
  /* === Responsive === */
332
 
333
  @media (max-width: 767px) {}
plugin-fw/licence/templates/panel/activation/activation-panel.php CHANGED
@@ -18,6 +18,20 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
18
  <div class="yit-container product-licence-activation">
19
  <h2><?php _e( 'Yithemes Licence Activation', 'yit' ) ?></h2>
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  <div class="licence-check-section">
22
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
23
  <span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yit' ); ?></span>
18
  <div class="yit-container product-licence-activation">
19
  <h2><?php _e( 'Yithemes Licence Activation', 'yit' ) ?></h2>
20
 
21
+ <?php if( is_a( $this, 'YIT_Theme_Licence' ) ) : ?>
22
+ <div class="activation-faq">
23
+ <h3><?php _e( 'I cannot find the license key for activating the theme I have bought some time ago. Where can I find it?', 'yit' ) ?></h3>
24
+ <p>
25
+ <?php
26
+ _e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
27
+ until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
28
+ After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
29
+ provided with and that you can find in your YIThemes account, in section “My licenses”.', 'yit' )
30
+ ?>
31
+ </p>
32
+ </div>
33
+ <?php endif; ?>
34
+
35
  <div class="licence-check-section">
36
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
37
  <span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yit' ); ?></span>
plugin-fw/templates/metaboxes/types/image-gallery.php CHANGED
@@ -29,7 +29,12 @@ if ( !empty( $value ) ) {
29
  <?php foreach ( $array_id as $image_id ) : ?>
30
  <li class="image" data-attachment_id = <?php echo esc_attr($image_id) ?>>
31
  <a href="#">
32
- <?php yit_image( "id=$image_id&size=admin-post-type-thumbnails" ); ?>
 
 
 
 
 
33
  </a>
34
  <ul class="actions">
35
  <li><a href="#" class="delete" title="<?php _e( 'Delete image', 'yit' ); ?>">x</a></li>
29
  <?php foreach ( $array_id as $image_id ) : ?>
30
  <li class="image" data-attachment_id = <?php echo esc_attr($image_id) ?>>
31
  <a href="#">
32
+ <?php
33
+ if( function_exists( 'yit_image' ) ) :
34
+ yit_image( "id=$image_id&size=admin-post-type-thumbnails" );
35
+ else:
36
+ echo wp_get_attachment_image( $image_id, array( 80, 80 ) );
37
+ endif; ?>
38
  </a>
39
  <ul class="actions">
40
  <li><a href="#" class="delete" title="<?php _e( 'Delete image', 'yit' ); ?>">x</a></li>
plugin-fw/templates/metaboxes/types/images.php CHANGED
@@ -27,7 +27,12 @@ if ( empty( $value ) || ! is_array( $value ) )
27
  <?php if ( ! empty( $value ) ) : foreach ( $value as $image_id ) : ?>
28
  <li>
29
  <a href="#">
30
- <?php yit_image( "id=$image_id&size=admin-post-type-thumbnails" );//echo wp_get_attachment_image( $image_id, 'admin-post-type-thumbnails' ); ?>
 
 
 
 
 
31
  <input type="hidden" name="<?php echo $name ?>[]" value="<?php echo esc_attr( $image_id ) ?>" />
32
  </a>
33
  <a href="#" title="<?php _e( 'Delete image', 'yit' ) ?>" class="delete">X</a>
27
  <?php if ( ! empty( $value ) ) : foreach ( $value as $image_id ) : ?>
28
  <li>
29
  <a href="#">
30
+ <?php
31
+ if( function_exists( 'yit_image' ) ) :
32
+ yit_image( "id=$image_id&size=admin-post-type-thumbnails" );
33
+ else:
34
+ echo wp_get_attachment_image( $image_id, array( 80, 80 ) );
35
+ endif; ?>
36
  <input type="hidden" name="<?php echo $name ?>[]" value="<?php echo esc_attr( $image_id ) ?>" />
37
  </a>
38
  <a href="#" title="<?php _e( 'Delete image', 'yit' ) ?>" class="delete">X</a>
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file