Version Description
- Added: Support to WooCommerce 2.1.x
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Ajax Search |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.1.0
- README.txt +7 -2
- assets/css/admin.css +1 -1
- assets/css/yith_wcas_ajax_search.css +1 -1
- assets/js/frontend.js +1 -1
- assets/js/frontend.min.js +1 -1
- class.yith-wcas-admin.php +2 -2
- class.yith-wcas-frontend.php +1 -1
- class.yith-wcas.php +5 -3
- functions.yith-wcas.php +1 -1
- init.php +2 -2
README.txt
CHANGED
@@ -3,12 +3,13 @@
|
|
3 |
Contributors: yithemes
|
4 |
Tags: ajax, search, woocommerce, products, themes, yit, e-commerce, shop
|
5 |
Requires at least: 3.5.1
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.
|
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 |
|
@@ -72,6 +73,10 @@ In WooCommerce->Settings->Ajax Search page, you can choose the minumum size of t
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
|
|
|
|
|
|
|
|
75 |
= 1.0.0 =
|
76 |
|
77 |
* Initial release
|
3 |
Contributors: yithemes
|
4 |
Tags: ajax, search, woocommerce, products, themes, yit, e-commerce, shop
|
5 |
Requires at least: 3.5.1
|
6 |
+
Tested up to: 3.8.1
|
7 |
+
Stable tag: 1.1.0
|
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 Compatible up to 2.1.x
|
13 |
|
14 |
== Description ==
|
15 |
|
73 |
|
74 |
== Changelog ==
|
75 |
|
76 |
+
= 1.1.0 =
|
77 |
+
|
78 |
+
* Added: Support to WooCommerce 2.1.x
|
79 |
+
|
80 |
= 1.0.0 =
|
81 |
|
82 |
* Initial release
|
assets/css/admin.css
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
-
* @version 1.
|
7 |
*/
|
8 |
|
9 |
.yith_woocommerce_slider {
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
+
* @version 1.1.0
|
7 |
*/
|
8 |
|
9 |
.yith_woocommerce_slider {
|
assets/css/yith_wcas_ajax_search.css
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
-
* @version 1.
|
7 |
*/
|
8 |
|
9 |
/* search autocomplete */
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
+
* @version 1.1.0
|
7 |
*/
|
8 |
|
9 |
/* search autocomplete */
|
assets/js/frontend.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
-
* @version 1.
|
7 |
*/
|
8 |
jQuery(document).ready(function($){
|
9 |
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
+
* @version 1.1.0
|
7 |
*/
|
8 |
jQuery(document).ready(function($){
|
9 |
|
assets/js/frontend.min.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
-
* @version 1.
|
7 |
*/
|
8 |
jQuery(document).ready(function($){
|
9 |
|
3 |
*
|
4 |
* @author Your Inspiration Themes
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
+
* @version 1.1.0
|
7 |
*/
|
8 |
jQuery(document).ready(function($){
|
9 |
|
class.yith-wcas-admin.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
-
* @version 1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCAS' ) ) { exit; } // Exit if accessed directly
|
@@ -76,7 +76,7 @@ if( !class_exists( 'YITH_WCAS_Admin' ) ) {
|
|
76 |
|
77 |
|
78 |
//Filters
|
79 |
-
add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_tab_woocommerce' ) );
|
80 |
//add_filter( 'woocommerce_catalog_settings', array( $this, 'add_catalog_image_size' ) );
|
81 |
|
82 |
//Apply filters
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCAS' ) ) { exit; } // Exit if accessed directly
|
76 |
|
77 |
|
78 |
//Filters
|
79 |
+
add_filter( 'woocommerce_settings_tabs_array', array( $this, 'add_tab_woocommerce' ), 30 );
|
80 |
//add_filter( 'woocommerce_catalog_settings', array( $this, 'add_catalog_image_size' ) );
|
81 |
|
82 |
//Apply filters
|
class.yith-wcas-frontend.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
-
* @version 1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCAS' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCAS' ) ) { exit; } // Exit if accessed directly
|
class.yith-wcas.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
-
* @version 1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCAS' ) ) { exit; } // Exit if accessed directly
|
@@ -22,7 +22,7 @@ if( !class_exists( 'YITH_WCAS' ) ) {
|
|
22 |
* @var string
|
23 |
* @since 1.0.0
|
24 |
*/
|
25 |
-
public $version = '1.
|
26 |
|
27 |
/**
|
28 |
* Plugin object
|
@@ -79,7 +79,9 @@ if( !class_exists( 'YITH_WCAS' ) ) {
|
|
79 |
public function add_woo_ajax_search_shortcode( $args = array() ) {
|
80 |
$args = shortcode_atts( array(), $args );
|
81 |
|
82 |
-
|
|
|
|
|
83 |
}
|
84 |
|
85 |
/**
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCAS' ) ) { exit; } // Exit if accessed directly
|
22 |
* @var string
|
23 |
* @since 1.0.0
|
24 |
*/
|
25 |
+
public $version = '1.1.0';
|
26 |
|
27 |
/**
|
28 |
* Plugin object
|
79 |
public function add_woo_ajax_search_shortcode( $args = array() ) {
|
80 |
$args = shortcode_atts( array(), $args );
|
81 |
|
82 |
+
$wc_get_template = function_exists('wc_get_template') ? 'wc_get_template' : 'woocommerce_get_template';
|
83 |
+
|
84 |
+
$wc_get_template( 'yith-woocommerce-ajax-search.php', $args, '', YITH_WCAS_DIR . 'templates/' );
|
85 |
}
|
86 |
|
87 |
/**
|
functions.yith-wcas.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
-
* @version 1.
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCAS' ) ) { exit; } // Exit if accessed directly
|
4 |
*
|
5 |
* @author Your Inspiration Themes
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
+
* @version 1.1.0
|
8 |
*/
|
9 |
|
10 |
if ( !defined( 'YITH_WCAS' ) ) { exit; } // Exit if accessed directly
|
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.
|
7 |
* Author: Your Inspiration Themes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Your Inspiration Themes
|
13 |
* @package YITH WooCommerce Ajax Search
|
14 |
-
* @version 1.
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
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.1.0
|
7 |
* Author: Your Inspiration Themes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
11 |
*
|
12 |
* @author Your Inspiration Themes
|
13 |
* @package YITH WooCommerce Ajax Search
|
14 |
+
* @version 1.1.0
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|