Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 1.1.1

Version Description

  • 04/09/2017 =
    • Minor Optimization on Order-Received Page.
Download this release

Release Info

Developer Tatvic
Plugin Icon 128x128 Enhanced Ecommerce Google Analytics Plugin for WooCommerce
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

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.1.0';
22
  public function __construct() {
23
 
24
  //Set Global Variables
@@ -378,6 +378,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
378
  if ($order->get_items()) {
379
  foreach ($order->get_items() as $item) {
380
  $_product = $order->get_product_from_item($item);
 
381
  if (isset($_product->variation_data)) {
382
  $categories=esc_js(wc_get_formatted_variation($_product->get_variation_attributes(), true));
383
 
@@ -410,7 +411,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
410
  $orderpage_prod_Array[get_permalink($_product->get_id())]=array(
411
  "tvc_id" => esc_html($_product->get_id()),
412
  "tvc_i" => esc_js($_product->get_sku() ? $_product->get_sku() : $_product->get_id()),
413
- "tvc_n" => esc_js($_product->get_name()),
414
  "tvc_p" => esc_js($order->get_item_total($item)),
415
  "tvc_c" => $categories,
416
  "tvc_q"=>esc_js($item["qty"])
18
  * @return void
19
  */
20
  //set plugin version
21
+ public $tvc_eeVer = '1.1.1';
22
  public function __construct() {
23
 
24
  //Set Global Variables
378
  if ($order->get_items()) {
379
  foreach ($order->get_items() as $item) {
380
  $_product = $order->get_product_from_item($item);
381
+ $tvc_prnm = get_the_title($item['product_id']);
382
  if (isset($_product->variation_data)) {
383
  $categories=esc_js(wc_get_formatted_variation($_product->get_variation_attributes(), true));
384
 
411
  $orderpage_prod_Array[get_permalink($_product->get_id())]=array(
412
  "tvc_id" => esc_html($_product->get_id()),
413
  "tvc_i" => esc_js($_product->get_sku() ? $_product->get_sku() : $_product->get_id()),
414
+ "tvc_n" => $tvc_prnm,
415
  "tvc_p" => esc_js($order->get_item_total($item)),
416
  "tvc_c" => $categories,
417
  "tvc_q"=>esc_js($item["qty"])
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.8
10
- Stable tag: 1.1.0
11
- Version: 1.1.0
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
@@ -233,4 +233,7 @@ Important Note: When you update the plugin, please save your settings again.
233
  * Minor Changes.
234
 
235
  = 1.1.0 - 08/08/2017 =
236
- * Minor Bug Fixes & Optimization.
 
 
 
7
  Author: Tatvic
8
  Requires at least: 3.6
9
  Tested up to: 4.8
10
+ Stable tag: 1.1.1
11
+ Version: 1.1.1
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
233
  * Minor Changes.
234
 
235
  = 1.1.0 - 08/08/2017 =
236
+ * Minor Bug Fixes & Optimization.
237
+
238
+ = 1.1.1 - 04/09/2017 =
239
+ * Minor Optimization on Order-Received Page.
woocommerce-enhanced-ecommerce-google-analytics-integration.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- /* Copyright 2014 Tatvic
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License, version 2, as
@@ -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.1.0
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly
1
  <?php
2
 
3
+ /* Copyright 2017 Tatvic
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License, version 2, as
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.1.1
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly