Changeset 2138741
- Timestamp:
- 08/13/2019 10:05:32 AM (7 years ago)
- Location:
- perzonalization
- Files:
-
- 2 edited
-
tags/1.4.6/perzonalization.php (modified) (2 diffs)
-
trunk/perzonalization.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
perzonalization/tags/1.4.6/perzonalization.php
r2138732 r2138741 573 573 } 574 574 575 if (is_woocommerce() || is_search() || is_checkout() || is_cart() || is_ front_page() || is_order_received_page()) {575 if (is_woocommerce() || is_search() || is_checkout() || is_cart() || is_404() || is_front_page() || is_order_received_page()) { 576 576 577 577 global $woocommerce; … … 608 608 } 609 609 610 if (is_woocommerce() || is_search() || is_checkout() || is_cart() || is_ front_page() || is_order_received_page()) {610 if (is_woocommerce() || is_search() || is_checkout() || is_cart() || is_404() || is_front_page() || is_order_received_page()) { 611 611 echo "<script type='text/javascript' async>(function (w, d, n, i, a, l, s, r, c) { r = Math.round(Math.random() * 1e4); c = d.getElementById(i); if (!c) { s = d.createElement(n); s.type = 'text/javascript'; s.id = i; s.src = '//' + a + '?rnd=' + r; s.async = 1; l = d.getElementsByTagName(n)[0]; l.parentNode.insertBefore(s, l); } if (c) { runPRZPlugin(true); } })(window, document, 'script', 'prz_loader', 'cdn.perzonalization.com/js/loader/woocommerce.loader.js'); </script>"; 612 612 } -
perzonalization/trunk/perzonalization.php
r2138732 r2138741 1 1 <?php 2 2 /** 3 * Plugin Name: Perzonalization - AI Related Products & Upsell3 * Plugin Name: Perzonalization - Recommendations in Real Time 4 4 * Plugin URI: perzonalization.com 5 5 * Version: 1.4.6 6 * Description: With the help of more than 3billion pages we have personalized so far, we have learned that understanding the visitor is the key in personalizing an online store. That is why we not only analyse behaviours around products but also the visitor's individual preferences and similar users' preferences. Works with activated wooCommerce API.6 * Description: With the help of more than 5 billion pages we have personalized so far, we have learned that understanding the visitor is the key in personalizing an online store. That is why we not only analyse behaviours around products but also the visitor's individual preferences and similar users' preferences. Works with activated wooCommerce API. 7 7 * Author: Perzonalization 8 8 * Author URI: http://www.perzonalization.com/woocommerce-plugin/ … … 564 564 565 565 if (is_404()) { 566 $user_id = get_current_user_id();566 $user_id = get_current_user_id(); 567 567 echo "<script type='text/javascript'> 568 568 var detailsForPrz = { … … 573 573 } 574 574 575 if (is_woocommerce() || is_search() || is_checkout() || is_cart() || is_ front_page() || is_order_received_page()) {575 if (is_woocommerce() || is_search() || is_checkout() || is_cart() || is_404() || is_front_page() || is_order_received_page()) { 576 576 577 577 global $woocommerce; … … 608 608 } 609 609 610 if (is_woocommerce() || is_search() || is_checkout() || is_cart() || is_ front_page() || is_order_received_page()) {610 if (is_woocommerce() || is_search() || is_checkout() || is_cart() || is_404() || is_front_page() || is_order_received_page()) { 611 611 echo "<script type='text/javascript' async>(function (w, d, n, i, a, l, s, r, c) { r = Math.round(Math.random() * 1e4); c = d.getElementById(i); if (!c) { s = d.createElement(n); s.type = 'text/javascript'; s.id = i; s.src = '//' + a + '?rnd=' + r; s.async = 1; l = d.getElementsByTagName(n)[0]; l.parentNode.insertBefore(s, l); } if (c) { runPRZPlugin(true); } })(window, document, 'script', 'prz_loader', 'cdn.perzonalization.com/js/loader/woocommerce.loader.js'); </script>"; 612 612 } 613 613 614 echo " 614 615 <!--PERZONALIZATION-END Do not modify or delete this comment-->";
Note: See TracChangeset
for help on using the changeset viewer.