Plugin Directory

Changeset 2242392


Ignore:
Timestamp:
02/11/2020 10:17:15 AM (6 years ago)
Author:
pureclaritytechnologies
Message:

Version 2.1.1 - Added element to order received page, so that order tracking fires correctly when an externally hosted payment gateway is used

Location:
pureclarity-for-woocommerce/trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • pureclarity-for-woocommerce/trunk/class-includes.php

    r2148308 r2242392  
    1818require_once PURECLARITY_PATH . 'includes/class-pureclarity-template.php';
    1919require_once PURECLARITY_PATH . 'includes/class-pureclarity-bmz.php';
     20require_once PURECLARITY_PATH . 'includes/class-pureclarity-order.php';
    2021require_once PURECLARITY_PATH . 'includes/feeds/class-pureclarity-feed.php';
    2122require_once PURECLARITY_PATH . 'includes/watchers/class-pureclarity-products-watcher.php';
  • pureclarity-for-woocommerce/trunk/includes/class-pureclarity-plugin.php

    r2148312 r2242392  
    3939     */
    4040    private $state;
     41
     42    /**
     43     * PureClarity State class
     44     *
     45     * @var PureClarity_Order $order
     46     */
     47    private $order;
    4148
    4249    /**
     
    8996
    9097    /**
     98     * Returns the order class
     99     *
     100     * @return PureClarity_Order
     101     */
     102    public function get_order() {
     103        return $this->order;
     104    }
     105
     106    /**
    91107     * Registers PureClarity CSS & JS
    92108     */
     
    111127            $this->state = new PureClarity_State( $this );
    112128            $this->bmz   = new PureClarity_Bmz( $this );
     129            $this->order = new PureClarity_Order();
    113130            new PureClarity_Template( $this );
    114131        }
  • pureclarity-for-woocommerce/trunk/includes/class-pureclarity-settings.php

    r2148312 r2242392  
    205205            $url = $this->script_url . '/' . $this->get_access_key() . '/cs.js';
    206206        } else {
    207             $url .= $this->get_access_key() . '/dev.js';
     207            $url .= $this->get_access_key() . '/cs.js';
    208208        }
    209209        return $url;
  • pureclarity-for-woocommerce/trunk/js/pc.js

    r2148308 r2242392  
    11var PureClarity = {
    2     blah: "sdf",
    32    config: null,
    43    init: function() {
     
    3736        }
    3837
     38        var orderElement = document.getElementById('pc_order_info');
    3939        if(this.config.tracking.order) {
    4040            _pc('order', this.config.tracking.order);
     41        } else if(orderElement) {
     42            _pc('order', JSON.parse(orderElement.value));
    4143        }
    4244
  • pureclarity-for-woocommerce/trunk/pureclarity.php

    r2148308 r2242392  
    88 * 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.
    99 * Plugin URI:   https://www.pureclarity.com
    10  * Version:      2.1.0
     10 * Version:      2.1.1
    1111 * Author:       PureClarity
    1212 * Author URI:   https://www.pureclarity.com/?utm_source=marketplace&utm_medium=woocommerce&utm_campaign=aboutpureclarity
    1313 * Text Domain:  pureclarity
    14  * WC tested up to: 3.7.0
     14 * WC tested up to: 3.8.1
    1515 **/
    1616
     
    2121
    2222// Set version and path constants.
    23 define( 'PURECLARITY_VERSION', '2.1.0' );
     23define( 'PURECLARITY_VERSION', '2.1.1' );
    2424if ( ! defined( 'PURECLARITY_PATH' ) ) {
    2525    define( 'PURECLARITY_PATH', plugin_dir_path( __FILE__ ) );
  • pureclarity-for-woocommerce/trunk/readme.txt

    r2148308 r2242392  
    33Tags: woocommerce, ecommerce, cross-sell, upsell, personalization, personalisation, ecommerce personalization, ecommerce personalisation, marketing automation, online merchandising software, advanced recommender technology
    44Requires at least: 4.7
    5 Tested up to: 5.2.2
    6 Stable tag: 2.1.0
     5Tested up to: 5.3.2
     6Stable tag: 2.1.1
    77License: GPLv3 or later
    88License URI: https://www.gnu.org/licenses/gpl.html
     
    121121* Applied wordpress coding standards
    122122* 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.