Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions anytrack-for-woocommerce/trunk/anytrack-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
/*
Plugin Name: AnyTrack for WooCommerce
Description: Connect with Google, Facebook, Bing, Taboola and Outbrain and sync all your ad campaigns directly from WooCommerce.
Version: 1.5.8
Version: 1.5.9
Author: AnyTrack Ltd.
Author URI: https://anytrack.io
Stable tag: 1.5.8
Stable tag: 1.5.9
*/

//error_reporting(E_ALL);
Expand Down
2 changes: 1 addition & 1 deletion anytrack-for-woocommerce/trunk/modules/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function wpafw_checkout_action()
if (check_ajax_referer('ajax_call_nonce', 'security')) {

$settings = get_option('waap_options');
$add_payment_info = isset($settings['add_payment_info']) ? $settings['add_payment_info'] : '';
$add_payment_info = isset($settings['add_payment_info']) ? $settings['add_payment_info'] : 'AddPaymentInfo';



Expand Down
8 changes: 4 additions & 4 deletions anytrack-for-woocommerce/trunk/modules/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function anytrack_for_woocommerce_wp_head()
function anytrack_for_woocommerce_woocommerce_add_to_cart($cart_item_key, $product_id, $quantity, $variation_id, $variation, $cart_item_data)
{
$settings = get_option('waap_options');
$add_to_cart = isset($settings['add_to_cart']) ? $settings['add_to_cart'] : '';
$add_to_cart = isset($settings['add_to_cart']) ? $settings['add_to_cart'] : 'AddToCart';

$product_info = anytrack_for_woocommerce_get_single_product_info($product_id, $quantity, $variation_id);
$items = [];
Expand All @@ -37,7 +37,7 @@ function anytrack_for_woocommerce_woocommerce_add_to_cart($cart_item_key, $produ
function anytrack_for_woocommerce_template_redirect()
{
$settings = get_option('waap_options');
$initiate_checkout = isset($settings['initiate_checkout']) ? $settings['initiate_checkout'] : '';
$initiate_checkout = isset($settings['initiate_checkout']) ? $settings['initiate_checkout'] : 'InitiateCheckout';

if (is_checkout() && !isset($_GET['key'])) {

Expand Down Expand Up @@ -74,7 +74,7 @@ function anytrack_for_woocommerce_view_product()
{
global $post;
$settings = get_option('waap_options');
$viewProduct = isset($settings['ViewContent']) ? $settings['ViewContent'] : '';
$viewProduct = isset($settings['ViewContent']) ? $settings['ViewContent'] : 'ViewContent';

if (is_product()) {

Expand Down Expand Up @@ -102,7 +102,7 @@ function anytrack_for_woocommerce_woocommerce_new_order($order_id)
$order = wc_get_order($order_id);

$settings = get_option('waap_options');
$purchase = isset($settings['purchase']) ? $settings['purchase'] : '';
$purchase = isset($settings['purchase']) ? $settings['purchase'] : 'Purchase';
$fixed_type = 'Purchase';

$is_upstroke = $order->get_created_via() == 'upstroke';
Expand Down
5 changes: 4 additions & 1 deletion anytrack-for-woocommerce/trunk/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://anytrack.io/
Tags: woocommerce, e-commerce, conversions, facebook, google, funnelkit
Requires at least: 4.7
Tested up to: 6.8.1
Stable tag: 1.5.8
Stable tag: 1.5.9
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -77,6 +77,9 @@ prefer on the pixel settings on AnyTrack.
Initial version.

== Changelog ==
= 1.5.9 =
* Standard event names

= 1.5.8 =
* Add property id validation

Expand Down
Loading