Changeset 2242392
- Timestamp:
- 02/11/2020 10:17:15 AM (6 years ago)
- Location:
- pureclarity-for-woocommerce/trunk
- Files:
-
- 1 added
- 6 edited
-
class-includes.php (modified) (1 diff)
-
includes/class-pureclarity-order.php (added)
-
includes/class-pureclarity-plugin.php (modified) (3 diffs)
-
includes/class-pureclarity-settings.php (modified) (1 diff)
-
js/pc.js (modified) (2 diffs)
-
pureclarity.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pureclarity-for-woocommerce/trunk/class-includes.php
r2148308 r2242392 18 18 require_once PURECLARITY_PATH . 'includes/class-pureclarity-template.php'; 19 19 require_once PURECLARITY_PATH . 'includes/class-pureclarity-bmz.php'; 20 require_once PURECLARITY_PATH . 'includes/class-pureclarity-order.php'; 20 21 require_once PURECLARITY_PATH . 'includes/feeds/class-pureclarity-feed.php'; 21 22 require_once PURECLARITY_PATH . 'includes/watchers/class-pureclarity-products-watcher.php'; -
pureclarity-for-woocommerce/trunk/includes/class-pureclarity-plugin.php
r2148312 r2242392 39 39 */ 40 40 private $state; 41 42 /** 43 * PureClarity State class 44 * 45 * @var PureClarity_Order $order 46 */ 47 private $order; 41 48 42 49 /** … … 89 96 90 97 /** 98 * Returns the order class 99 * 100 * @return PureClarity_Order 101 */ 102 public function get_order() { 103 return $this->order; 104 } 105 106 /** 91 107 * Registers PureClarity CSS & JS 92 108 */ … … 111 127 $this->state = new PureClarity_State( $this ); 112 128 $this->bmz = new PureClarity_Bmz( $this ); 129 $this->order = new PureClarity_Order(); 113 130 new PureClarity_Template( $this ); 114 131 } -
pureclarity-for-woocommerce/trunk/includes/class-pureclarity-settings.php
r2148312 r2242392 205 205 $url = $this->script_url . '/' . $this->get_access_key() . '/cs.js'; 206 206 } else { 207 $url .= $this->get_access_key() . '/ dev.js';207 $url .= $this->get_access_key() . '/cs.js'; 208 208 } 209 209 return $url; -
pureclarity-for-woocommerce/trunk/js/pc.js
r2148308 r2242392 1 1 var PureClarity = { 2 blah: "sdf",3 2 config: null, 4 3 init: function() { … … 37 36 } 38 37 38 var orderElement = document.getElementById('pc_order_info'); 39 39 if(this.config.tracking.order) { 40 40 _pc('order', this.config.tracking.order); 41 } else if(orderElement) { 42 _pc('order', JSON.parse(orderElement.value)); 41 43 } 42 44 -
pureclarity-for-woocommerce/trunk/pureclarity.php
r2148308 r2242392 8 8 * Description: Increase revenues by 26% in your WooCommerce store with AI-based real-time personalization. Integrates with PureClarity's multi-award winning ecommerce personalization software. 9 9 * Plugin URI: https://www.pureclarity.com 10 * Version: 2.1. 010 * Version: 2.1.1 11 11 * Author: PureClarity 12 12 * Author URI: https://www.pureclarity.com/?utm_source=marketplace&utm_medium=woocommerce&utm_campaign=aboutpureclarity 13 13 * Text Domain: pureclarity 14 * WC tested up to: 3. 7.014 * WC tested up to: 3.8.1 15 15 **/ 16 16 … … 21 21 22 22 // Set version and path constants. 23 define( 'PURECLARITY_VERSION', '2.1. 0' );23 define( 'PURECLARITY_VERSION', '2.1.1' ); 24 24 if ( ! defined( 'PURECLARITY_PATH' ) ) { 25 25 define( 'PURECLARITY_PATH', plugin_dir_path( __FILE__ ) ); -
pureclarity-for-woocommerce/trunk/readme.txt
r2148308 r2242392 3 3 Tags: woocommerce, ecommerce, cross-sell, upsell, personalization, personalisation, ecommerce personalization, ecommerce personalisation, marketing automation, online merchandising software, advanced recommender technology 4 4 Requires at least: 4.7 5 Tested up to: 5. 2.26 Stable tag: 2.1. 05 Tested up to: 5.3.2 6 Stable tag: 2.1.1 7 7 License: GPLv3 or later 8 8 License URI: https://www.gnu.org/licenses/gpl.html … … 121 121 * Applied wordpress coding standards 122 122 * Bugfixes and improvements 123 124 = 2.1.1 = 125 * Added element to order received page, so that order tracking fires correctly when an externally hosted payment gateway is used
Note: See TracChangeset
for help on using the changeset viewer.