Version Description
- 31/01/2018 =
- Compatibility with Woocommerce 3.3
- Minor Bug Fixes & Optimization.
Download this release
Release Info
Developer | Tatvic |
Plugin | Enhanced Ecommerce Google Analytics Plugin for WooCommerce |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1.2 to 1.2.2
includes/class-wc-enhanced-ecommerce-google-analytics-integration.php
CHANGED
@@ -18,7 +18,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
|
|
18 |
* @return void
|
19 |
*/
|
20 |
//set plugin version
|
21 |
-
public $tvc_eeVer = '1.2.
|
22 |
public function __construct() {
|
23 |
|
24 |
//Set Global Variables
|
@@ -157,8 +157,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
|
|
157 |
});
|
158 |
|
159 |
//Pugin Promotion
|
160 |
-
jQuery("
|
161 |
-
jQuery("form#mainform").after("<a href=https://www.tatvic.com/contact/?utm_source=woocommerce_ee_plugin&utm_medium=wordpress_admin&utm_campaign=plugin_promotion target=_blank><img src='.plugins_url( '/owox_banner_700_150.png' , __FILE__ ).' title=Owox Banner Ad alt=Owox Banner Ad></a>");
|
162 |
</script>';
|
163 |
}
|
164 |
}
|
@@ -1020,9 +1019,11 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
|
|
1020 |
} else {
|
1021 |
$prod_meta = wc_get_product($item["product_id"]);
|
1022 |
}
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
|
|
|
|
1026 |
$category = get_the_terms($item["product_id"], "product_cat");
|
1027 |
$categories = "";
|
1028 |
if ($category) {
|
18 |
* @return void
|
19 |
*/
|
20 |
//set plugin version
|
21 |
+
public $tvc_eeVer = '1.2.2';
|
22 |
public function __construct() {
|
23 |
|
24 |
//Set Global Variables
|
157 |
});
|
158 |
|
159 |
//Pugin Promotion
|
160 |
+
jQuery("form#mainform").after("<a href=https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic target=_blank><img src='.plugins_url( '/aga_premium.png' , __FILE__ ).' title=Actionable Google Analytics Plugin by Tatvic alt=Actionable Google Analytics Plugin by Tatvic></a>");
|
|
|
161 |
</script>';
|
162 |
}
|
163 |
}
|
1019 |
} else {
|
1020 |
$prod_meta = wc_get_product($item["product_id"]);
|
1021 |
}
|
1022 |
+
if (version_compare($woocommerce->version, "3.3", "<")) {
|
1023 |
+
$cart_remove_link=html_entity_decode($woocommerce->cart->get_remove_url($key));
|
1024 |
+
} else {
|
1025 |
+
$cart_remove_link=html_entity_decode(wc_get_cart_remove_url($key));
|
1026 |
+
}
|
1027 |
$category = get_the_terms($item["product_id"], "product_cat");
|
1028 |
$categories = "";
|
1029 |
if ($category) {
|
readme.txt
CHANGED
@@ -7,8 +7,8 @@ Author URI: http://www.tatvic.com/
|
|
7 |
Author: Tatvic
|
8 |
Requires at least: 3.6
|
9 |
Tested up to: 4.9
|
10 |
-
Stable tag: 1.2.
|
11 |
-
Version: 1.2.
|
12 |
License: GPLv3
|
13 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
14 |
|
@@ -257,4 +257,8 @@ Important Note: When you update the plugin, please save your settings again.
|
|
257 |
* Minor Bug Fixes
|
258 |
|
259 |
= 1.2.1.2 - 26/12/2017 =
|
260 |
-
* Minor Fixes
|
|
|
|
|
|
|
|
7 |
Author: Tatvic
|
8 |
Requires at least: 3.6
|
9 |
Tested up to: 4.9
|
10 |
+
Stable tag: 1.2.2
|
11 |
+
Version: 1.2.2
|
12 |
License: GPLv3
|
13 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
14 |
|
257 |
* Minor Bug Fixes
|
258 |
|
259 |
= 1.2.1.2 - 26/12/2017 =
|
260 |
+
* Minor Fixes
|
261 |
+
|
262 |
+
= 1.2.2 - 31/01/2018 =
|
263 |
+
* Compatibility with Woocommerce 3.3
|
264 |
+
* Minor Bug Fixes & Optimization.
|
woocommerce-enhanced-ecommerce-google-analytics-integration.php
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
Description: Allows Enhanced E-commerce Google Analytics tracking code to be inserted into WooCommerce store pages.
|
22 |
Author: Tatvic
|
23 |
Author URI: http://www.tatvic.com
|
24 |
-
Version: 1.2.
|
25 |
*/
|
26 |
if (!defined('ABSPATH')) {
|
27 |
exit; // Exit if accessed directly
|
21 |
Description: Allows Enhanced E-commerce Google Analytics tracking code to be inserted into WooCommerce store pages.
|
22 |
Author: Tatvic
|
23 |
Author URI: http://www.tatvic.com
|
24 |
+
Version: 1.2.2
|
25 |
*/
|
26 |
if (!defined('ABSPATH')) {
|
27 |
exit; // Exit if accessed directly
|