Google Ads & Marketing by Kliken - Version 1.0.6

Version Description

  • Minor bug fixes.
Download this release

Release Info

Developer sitewit
Plugin Icon 128x128 Google Ads & Marketing by Kliken
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

classes/class-helper.php CHANGED
@@ -310,7 +310,7 @@ class Helper {
310
 
311
  array_push(
312
  $transaction['items'], [
313
- 'sku' => $product->get_sku(),
314
  'name' => $product->get_name(),
315
  'category' => $category_name,
316
  'price' => $product->get_price(),
@@ -335,7 +335,7 @@ class Helper {
335
  }
336
 
337
  $product_info = [
338
- 'sku' => $product->get_sku(),
339
  'name' => $product->get_name(),
340
  'price' => $product->get_price(),
341
  'category' => $product->get_category_ids()
310
 
311
  array_push(
312
  $transaction['items'], [
313
+ 'id' => $product->get_id(),
314
  'name' => $product->get_name(),
315
  'category' => $category_name,
316
  'price' => $product->get_price(),
335
  }
336
 
337
  $product_info = [
338
+ 'id' => $product->get_id(),
339
  'name' => $product->get_name(),
340
  'price' => $product->get_price(),
341
  'category' => $product->get_category_ids()
kliken-marketing-for-google.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Google Ads & Marketing by Kliken
4
  Plugin URI: https://woo.kliken.com/
5
  Description: The automated Google Shopping solution to get your products found on Google, and grow your WooCommerce Store!
6
- Version: 1.0.5
7
  Author: Kliken
8
  Author URI: http://kliken.com/
9
  Developer: Kliken
3
  Plugin Name: Google Ads & Marketing by Kliken
4
  Plugin URI: https://woo.kliken.com/
5
  Description: The automated Google Shopping solution to get your products found on Google, and grow your WooCommerce Store!
6
+ Version: 1.0.6
7
  Author: Kliken
8
  Author URI: http://kliken.com/
9
  Developer: Kliken
languages/kliken-marketing-for-google.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Google Ads for WooCommerce 1.0.5\n"
6
  "Report-Msgid-Bugs-To: http://www.sitewit.com/contact/\n"
7
- "POT-Creation-Date: 2020-10-12 23:42:42+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -66,7 +66,7 @@ msgstr ""
66
  msgid "Sorry, you cannot list resources."
67
  msgstr ""
68
 
69
- #. #-#-#-#-# kliken-marketing-for-google.pot (Google Ads for WooCommerce 1.0.5) #-#-#-#-#
70
  #. Plugin Name of the plugin/theme
71
  #: pages/dashboard.php:13 pages/getstarted.php:28
72
  msgid "Google Ads for WooCommerce"
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Google Ads for WooCommerce 1.0.6\n"
6
  "Report-Msgid-Bugs-To: http://www.sitewit.com/contact/\n"
7
+ "POT-Creation-Date: 2020-10-22 15:52:39+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
66
  msgid "Sorry, you cannot list resources."
67
  msgstr ""
68
 
69
+ #. #-#-#-#-# kliken-marketing-for-google.pot (Google Ads for WooCommerce 1.0.6) #-#-#-#-#
70
  #. Plugin Name of the plugin/theme
71
  #: pages/dashboard.php:13 pages/getstarted.php:28
72
  msgid "Google Ads for WooCommerce"
pages/cartscript.php CHANGED
@@ -18,7 +18,7 @@ defined( 'ABSPATH' ) || exit;
18
  sw.track("AddToCart",
19
  {
20
  content_type: "product",
21
- content_ids: "<?php echo esc_attr( $product->get_sku() ); ?>",
22
  content_name: "<?php echo esc_attr( $product->get_name() ); ?>",
23
  value: "<?php echo esc_attr( $product->get_price() ); ?>",
24
  currency: sw.config.currency
@@ -27,7 +27,7 @@ defined( 'ABSPATH' ) || exit;
27
 
28
  itemsForGTAG.push(
29
  {
30
- "id": "<?php echo esc_attr( $product->get_sku() ); ?>",
31
  "name": "<?php echo esc_attr( $product->get_name() ); ?>",
32
  "price": "<?php echo esc_attr( $product->get_price() ); ?>",
33
  "quantity": "<?php echo esc_attr( $value['quantity'] ); ?>",
@@ -37,7 +37,7 @@ defined( 'ABSPATH' ) || exit;
37
 
38
  swCart.push(
39
  {
40
- "id": "<?php echo esc_attr( $product->get_sku() ); ?>",
41
  "name": "<?php echo esc_attr( $product->get_name() ); ?>",
42
  "price": "<?php echo esc_attr( $product->get_price() ); ?>",
43
  "quantity": "<?php echo esc_attr( $value['quantity'] ); ?>",
18
  sw.track("AddToCart",
19
  {
20
  content_type: "product",
21
+ content_ids: "<?php echo esc_attr( $product->get_id() ); ?>",
22
  content_name: "<?php echo esc_attr( $product->get_name() ); ?>",
23
  value: "<?php echo esc_attr( $product->get_price() ); ?>",
24
  currency: sw.config.currency
27
 
28
  itemsForGTAG.push(
29
  {
30
+ "id": "<?php echo esc_attr( $product->get_id() ); ?>",
31
  "name": "<?php echo esc_attr( $product->get_name() ); ?>",
32
  "price": "<?php echo esc_attr( $product->get_price() ); ?>",
33
  "quantity": "<?php echo esc_attr( $value['quantity'] ); ?>",
37
 
38
  swCart.push(
39
  {
40
+ "id": "<?php echo esc_attr( $product->get_id() ); ?>",
41
  "name": "<?php echo esc_attr( $product->get_name() ); ?>",
42
  "price": "<?php echo esc_attr( $product->get_price() ); ?>",
43
  "quantity": "<?php echo esc_attr( $value['quantity'] ); ?>",
pages/productscript.php CHANGED
@@ -14,7 +14,7 @@ defined( 'ABSPATH' ) || exit;
14
  sw.track('ViewContent',
15
  {
16
  content_type: 'product',
17
- content_ids: "<?php echo esc_attr( $product['sku'] ); ?>",
18
  content_name: "<?php echo esc_attr( $product['name'] ); ?>",
19
  content_category: "<?php echo esc_attr( implode( ',', $product['category'] ) ); ?>"
20
  }
@@ -24,7 +24,7 @@ defined( 'ABSPATH' ) || exit;
24
  {
25
  items: [
26
  {
27
- "id": "<?php echo esc_attr( $product['sku'] ); ?>",
28
  "name": "<?php echo esc_attr( $product['name'] ); ?>",
29
  "category": "<?php echo esc_attr( implode( ',', $product['category'] ) ); ?>",
30
  "google_business_vertical": "retail"
@@ -35,13 +35,13 @@ defined( 'ABSPATH' ) || exit;
35
 
36
  sw.gEvent('page_view',
37
  {
38
- "ecomm_prodid": "<?php echo esc_attr( $product['sku'] ); ?>"
39
  }
40
  );
41
 
42
  sw.register_product_view(
43
  {
44
- "id": "<?php echo esc_attr( $product['sku'] ); ?>",
45
  "category": "<?php echo esc_attr( implode( ',', $product['category'] ) ); ?>"
46
  }
47
  );
14
  sw.track('ViewContent',
15
  {
16
  content_type: 'product',
17
+ content_ids: "<?php echo esc_attr( $product['id'] ); ?>",
18
  content_name: "<?php echo esc_attr( $product['name'] ); ?>",
19
  content_category: "<?php echo esc_attr( implode( ',', $product['category'] ) ); ?>"
20
  }
24
  {
25
  items: [
26
  {
27
+ "id": "<?php echo esc_attr( $product['id'] ); ?>",
28
  "name": "<?php echo esc_attr( $product['name'] ); ?>",
29
  "category": "<?php echo esc_attr( implode( ',', $product['category'] ) ); ?>",
30
  "google_business_vertical": "retail"
35
 
36
  sw.gEvent('page_view',
37
  {
38
+ "ecomm_prodid": "<?php echo esc_attr( $product['id'] ); ?>"
39
  }
40
  );
41
 
42
  sw.register_product_view(
43
  {
44
+ "id": "<?php echo esc_attr( $product['id'] ); ?>",
45
  "category": "<?php echo esc_attr( implode( ',', $product['category'] ) ); ?>"
46
  }
47
  );
pages/transactionscript.php CHANGED
@@ -26,7 +26,7 @@ defined( 'ABSPATH' ) || exit;
26
 
27
  <?php foreach ( $trans['items'] as $index => $item ) : ?>
28
  trans.add_item(
29
- "<?php echo esc_attr( $item['sku'] ); ?>",
30
  "<?php echo esc_attr( $item['name'] ); ?>",
31
  "<?php echo esc_attr( $item['category'] ); ?>",
32
  "<?php echo esc_attr( $item['price'] ); ?>",
26
 
27
  <?php foreach ( $trans['items'] as $index => $item ) : ?>
28
  trans.add_item(
29
+ "<?php echo esc_attr( $item['id'] ); ?>",
30
  "<?php echo esc_attr( $item['name'] ); ?>",
31
  "<?php echo esc_attr( $item['category'] ); ?>",
32
  "<?php echo esc_attr( $item['price'] ); ?>",
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: sitewit
3
  Tags: advertising, adwords, analytics, bing, google, leads, marketing, marketing platform, metrics, online advertising, online marketing, plugin, ppc, PPC, google shopping, shopping ads, product ads, ROI, conversions
4
  Requires at least: 4.4
5
- Tested up to: 5.5
6
  Requires PHP: 5.6
7
- Stable tag: 1.0.5
8
  License: GPLv3 or later License
9
  URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -136,6 +136,9 @@ Google Ads & Marketing for WooCommerce is a contract free service. You can cance
136
 
137
  == Changelog ==
138
 
 
 
 
139
  = 1.0.5 =
140
  * Minor bug fixes.
141
 
2
  Contributors: sitewit
3
  Tags: advertising, adwords, analytics, bing, google, leads, marketing, marketing platform, metrics, online advertising, online marketing, plugin, ppc, PPC, google shopping, shopping ads, product ads, ROI, conversions
4
  Requires at least: 4.4
5
+ Tested up to: 5.6
6
  Requires PHP: 5.6
7
+ Stable tag: 1.0.6
8
  License: GPLv3 or later License
9
  URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
136
 
137
  == Changelog ==
138
 
139
+ = 1.0.6 =
140
+ * Minor bug fixes.
141
+
142
  = 1.0.5 =
143
  * Minor bug fixes.
144
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitf51a4a80443c38ea28719e6a2a360f7c::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitd033502741110464bbead21e67961d98::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitf51a4a80443c38ea28719e6a2a360f7c
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitf51a4a80443c38ea28719e6a2a360f7c
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitf51a4a80443c38ea28719e6a2a360f7c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitf51a4a80443c38ea28719e6a2a360f7c', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitf51a4a80443c38ea28719e6a2a360f7c::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitd033502741110464bbead21e67961d98
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitd033502741110464bbead21e67961d98', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitd033502741110464bbead21e67961d98', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitd033502741110464bbead21e67961d98::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitf51a4a80443c38ea28719e6a2a360f7c
8
  {
9
  public static $classMap = array (
10
  'Kliken\\WcPlugin\\Helper' => __DIR__ . '/../..' . '/classes/class-helper.php',
@@ -21,7 +21,7 @@ class ComposerStaticInitf51a4a80443c38ea28719e6a2a360f7c
21
  public static function getInitializer(ClassLoader $loader)
22
  {
23
  return \Closure::bind(function () use ($loader) {
24
- $loader->classMap = ComposerStaticInitf51a4a80443c38ea28719e6a2a360f7c::$classMap;
25
 
26
  }, null, ClassLoader::class);
27
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitd033502741110464bbead21e67961d98
8
  {
9
  public static $classMap = array (
10
  'Kliken\\WcPlugin\\Helper' => __DIR__ . '/../..' . '/classes/class-helper.php',
21
  public static function getInitializer(ClassLoader $loader)
22
  {
23
  return \Closure::bind(function () use ($loader) {
24
+ $loader->classMap = ComposerStaticInitd033502741110464bbead21e67961d98::$classMap;
25
 
26
  }, null, ClassLoader::class);
27
  }