From: Laury GvR Date: Fri, 14 Apr 2017 20:41:32 +0000 (-0400) Subject: Added facebook pixel code to checkout page and header X-Git-Tag: v1.0.17^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=6f61c2abc45177993e3c96e90382ad389ef52159;p=WP-Themes%2Fcapstone.git Added facebook pixel code to checkout page and header --- diff --git a/functions.php b/functions.php index 1d04915..54dd9be 100644 --- a/functions.php +++ b/functions.php @@ -270,7 +270,7 @@ function woocommerce_rename_coupon_field_on_checkout( $translated_text, $text, $ } if ( 'Coupon code' === $text ) { $translated_text = 'Promo Code'; - + } elseif ( 'Apply Coupon' === $text ) { $translated_text = 'Apply Promo Code'; } @@ -285,7 +285,7 @@ add_filter( 'woocommerce_thankyou_order_received_text', 'content_text', 10, 2 ); function content_text($text, $order){ $page = get_post( 5237 ); return $page->post_content; - + } function tracking_pixels(){ @@ -304,7 +304,7 @@ function tracking_pixels(){ value: 495.00, currency: 'USD' }); - + - + fbq('track', 'Purchase', { + value: 100.00, + currency: 'USD' + }); + + + + + + + + \ No newline at end of file