Title: Evolved's Replies | WordPress.org

---

# Evolved

  [  ](https://wordpress.org/support/users/evolved/)

 *   [Profile](https://wordpress.org/support/users/evolved/)
 *   [Topics Started](https://wordpress.org/support/users/evolved/topics/)
 *   [Replies Created](https://wordpress.org/support/users/evolved/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/evolved/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/evolved/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/evolved/engagements/)
 *   [Favorites](https://wordpress.org/support/users/evolved/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Customer History](https://wordpress.org/support/topic/customer-history-2/)
 *  [Evolved](https://wordpress.org/support/users/evolved/)
 * (@evolved)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/customer-history-2/#post-17911415)
 * Yep, at least its possible I guess.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Customer History](https://wordpress.org/support/topic/customer-history-2/)
 *  [Evolved](https://wordpress.org/support/users/evolved/)
 * (@evolved)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/customer-history-2/#post-17908601)
 * Hi Debeecher,
 * We modified the Customer History metabox to show things like 
   _Customer age: 
   4.7 years (since 11 Nov 2019) Total orders: 32 Total revenue: $12,820.23 Average
   order value: $400.63 Average order daterange: Every 54 days
 * we used the filter “wc_get_template” to redirect the customer history template
   to a self-defined template file in a plugin we may release soon:
 *     ```wp-block-code
       add_filter( 'wc_get_template',
       function ($template, $template_name, $args) {
   
           if ($template_name === 'order/customer-history.php') {
               return plugin_dir_path( __FILE__ ) . 'woocommerce/templates/order/customer-history.php';
           }
   
           return $template;
       },
       10,
       3);
       ```
   
 * In customer-history.php you can place things like Total Revenue, and modify $
   total_spend as you like:
   e.g.
 *     ```wp-block-code
       <h4>
           <?php
           esc_html_e( 'Total revenue', 'woocommerce' );
           echo wp_kses_post(
               wc_help_tip(
                   __( "This is the Customer Lifetime Value, or the total amount you have earned from this customer's orders.", 'woocommerce' )
               )
           );
           ?>
       </h4>
       <span class="order-attribution-total-spend">
           <?php echo wp_kses_post( wc_price( $total_spend ) ); ?>
       </span>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Customer History](https://wordpress.org/support/topic/customer-history-2/)
 *  [Evolved](https://wordpress.org/support/users/evolved/)
 * (@evolved)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/customer-history-2/#post-17902353)
 * Good question [@dabeecher](https://wordpress.org/support/users/dabeecher/) we’re
   looking for editing the Customer History Panel this too. If we find something
   will let you know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Payment Plugins Braintree For WooCommerce] latest version broke checkout](https://wordpress.org/support/topic/latest-version-broke-checkout/)
 *  [Evolved](https://wordpress.org/support/users/evolved/)
 * (@evolved)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/latest-version-broke-checkout/#post-13525989)
 * Hi, we had this issue too, Clayton seems to have fixed it, uninstall and re-install,
   worked a treat for us.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Conversios: Google Analytics (GA4), Google Ads, Conversion and Analytics Tracking for Multi-Channels] Lots of issues trying to add tracking and enhanced analytics](https://wordpress.org/support/topic/lots-of-issues-trying-to-add-tracking-and-enhanced-analytics/)
 *  [Evolved](https://wordpress.org/support/users/evolved/)
 * (@evolved)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/lots-of-issues-trying-to-add-tracking-and-enhanced-analytics/#post-11804208)
 * Same issue for me, the plugin has now stopped working including Google Analytics
   entirely.
 * Trying to save my GA ID just gives me loads of errors now such as:
    Warning: 
   array_key_exists() expects parameter 2 to be array, string given in /home/XXX/
   wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-
   ecommerce-google-analytics-settings.php on line 58
 * When can we expect a solution to this please?

Viewing 5 replies - 1 through 5 (of 5 total)