YITH WooCommerce Ajax Search - Version 1.2.1

Version Description

  • Updated: Plugin Core Framework
Download this release

Release Info

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

Code changes from version 1.2 to 1.2.1

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
Tags: ajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes
5
Requires at least: 3.5.1
6
Tested up to: 4.1
7
- Stable tag: 1.2
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -23,12 +23,8 @@ 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
- Working demo is available here:
27
28
- **[LIVE DEMO](http://preview.yithemes.com/sistina/)**
29
-
30
-
31
- Full documentation is available [here](http://yithemes.com/docs-plugins/yith_woocommerce_ajax_search/).
32
33
34
= Installation =
@@ -71,6 +67,10 @@ In WooCommerce->Settings->Ajax Search page, you can choose the minumum size of t
71
72
== Changelog ==
73
74
= 1.2 =
75
76
* Updated: Plugin Core Framework
4
Tags: ajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes
5
Requires at least: 3.5.1
6
Tested up to: 4.1
7
+ Stable tag: 1.2.1
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
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 =
67
68
== Changelog ==
69
70
+ = 1.2.1 =
71
+
72
+ * Updated: Plugin Core Framework
73
+
74
= 1.2 =
75
76
* Updated: Plugin Core Framework
assets/images/02.jpg DELETED
Binary file
assets/images/02.png ADDED
Binary file
assets/images/ajax-search-premium.jpg ADDED
Binary file
assets/images/number-eight.png ADDED
Binary file
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
7
* Author: Yithemes
8
* Author URI: http://yithemes.com/
9
* Text Domain: yit
@@ -70,7 +70,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
70
if ( defined( 'YITH_WCAS_VERSION' ) ){
71
return;
72
}else{
73
- define( 'YITH_WCAS_VERSION', '1.2' );
74
}
75
76
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.1
7
* Author: Yithemes
8
* Author URI: http://yithemes.com/
9
* Text Domain: yit
70
if ( defined( 'YITH_WCAS_VERSION' ) ){
71
return;
72
}else{
73
+ define( 'YITH_WCAS_VERSION', '1.2.1' );
74
}
75
76
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -63,12 +63,10 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
63
add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 100 );
64
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
65
add_action( 'admin_init', array( $this, 'woocommerce_update_options' ) );
66
add_action( 'woocommerce_admin_field_boxinfo', array( $this, 'yit_boxinfo' ), 10, 1 );
67
add_action( 'woocommerce_admin_field_videobox', array( $this, 'yit_videobox' ), 10, 1 );
68
69
- add_action( 'woocommerce_admin_field_upload', array( $this, 'yit_upload' ), 10, 1 );
70
- add_action( 'woocommerce_update_option_upload', array( $this, 'yit_upload_update' ), 10, 1 );
71
-
72
}
73
}
74
@@ -151,8 +149,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
151
*/
152
153
public function yit_upload( $args = array() ) {
154
-
155
- if ( !empty( $args ) ) {
156
$args['value'] = ( get_option($args['id'])) ? get_option($args['id']) : $args['default'];
157
extract( $args );
158
63
add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 100 );
64
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
65
add_action( 'admin_init', array( $this, 'woocommerce_update_options' ) );
66
+
67
add_action( 'woocommerce_admin_field_boxinfo', array( $this, 'yit_boxinfo' ), 10, 1 );
68
add_action( 'woocommerce_admin_field_videobox', array( $this, 'yit_videobox' ), 10, 1 );
69
70
}
71
}
72
149
*/
150
151
public function yit_upload( $args = array() ) {
152
+ if ( ! empty( $args ) ) {
153
$args['value'] = ( get_option($args['id'])) ? get_option($args['id']) : $args['default'];
154
extract( $args );
155
plugin-options/settings-options.php CHANGED
@@ -17,20 +17,23 @@ return array(
17
18
'settings' => array(
19
20
'section_general_settings_videobox' => array(
21
'name' => __( 'Upgrade to the PREMIUM VERSION', 'yit' ),
22
'type' => 'videobox',
23
'default' => array(
24
'plugin_name' => __( 'YITH WooCommerce Ajax Search', 'yit' ),
25
- 'title_first_column' => __( 'Discovery the Advanced Features', 'yit' ),
26
'description_first_column' => __('Upgrade to the PREMIUM VERSION
27
of YITH WOOCOMMERCE AJAX SEARCH to benefit from all features!', 'yit'),
28
- 'image' => array(
29
- 'image_url' => YITH_WCAS_ASSETS_IMAGES_URL.'03.jpg',
30
- 'image_link' => 'http://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/',
31
),
32
'title_second_column' => __( 'Get Support and Pro Features', 'yit' ),
33
- 'description_second_column' => __('Purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yit'),
34
'button' => array(
35
'href' => 'http://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/',
36
'title' => 'Get Support and Pro Features'
17
18
'settings' => array(
19
20
+
21
+
22
'section_general_settings_videobox' => array(
23
'name' => __( 'Upgrade to the PREMIUM VERSION', 'yit' ),
24
'type' => 'videobox',
25
'default' => array(
26
'plugin_name' => __( 'YITH WooCommerce Ajax Search', 'yit' ),
27
+ 'title_first_column' => __( 'Discover the Advanced Features', 'yit' ),
28
'description_first_column' => __('Upgrade to the PREMIUM VERSION
29
of YITH WOOCOMMERCE AJAX SEARCH to benefit from all features!', 'yit'),
30
+ 'video' => array(
31
+ 'video_id' => '118917627',
32
+ 'video_image_url' => YITH_WCAS_ASSETS_IMAGES_URL.'ajax-search-premium.jpg',
33
+ 'video_description' => __( 'YITH WooCommerce Ajax Search', 'yit' ),
34
),
35
'title_second_column' => __( 'Get Support and Pro Features', 'yit' ),
36
+ 'description_second_column' => __('By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yit'),
37
'button' => array(
38
'href' => 'http://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/',
39
'title' => 'Get Support and Pro Features'
templates/admin/premium.php CHANGED
@@ -283,14 +283,16 @@
283
<div class="col-2">
284
<div class="section-title">
285
<ul>
286
- <li><img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>number-five.png" alt="5"/><span>Activate the category search</span></li>
287
- <li><img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>number-six.png" alt="6"/><span>Configure the <b>tag</b> search</span></li>
288
- <li><img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>number-seven.png" alt="7"/><span>Search a product with an <b>ID</b></span></li>
289
</ul>
290
</div>
291
</div>
292
<div class="col-1">
293
- <img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>02.jpg" alt="02" />
294
</div>
295
</div>
296
</div>
283
<div class="col-2">
284
<div class="section-title">
285
<ul>
286
+ <li><img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>number-five.png" alt="5"/><span>Extend the research in the excerpt and in the content</li>
287
+ <li><img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>number-six.png" alt="6"/><span>Activate the category search</span></li>
288
+ <li><img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>number-seven.png" alt="7"/><span>Configure the <b>tag</b> search</span></li>
289
+ <li><img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>number-eight.png" alt="8"/><span>Search a product with an <b>ID</b></span></li>
290
+
291
</ul>
292
</div>
293
</div>
294
<div class="col-1">
295
+ <img src="<?php echo YITH_WCAS_ASSETS_IMAGES_URL ?>02.png" alt="02" />
296
</div>
297
</div>
298
</div>