PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.7.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.7.0
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
← All changes | includes/admin/components/analytics/discount/summary.php +2 -2 1.5.42.7.0 View file →
@@ -94,9 +94,9 @@
94 94 $wpdb->prepare( "SELECT SUM( total_amount ) as total_discount FROM {$discount_table}
95 95 where applied_at > {$start_date} and order_id IS NOT NULL and discount_id " . Analytics::target_id_condition( $discount_id ) . " %d", $discount_id ),
96 96 ARRAY_A );
97 97
98 - $this->data['total_discount'] = ! empty( $discounts[0]['total_discount'] ) ? $discounts[0]['total_discount'] : 0;
98 + $this->data['total_discount'] = ! empty( $discounts[0]['total_discount'] ) ? round( $discounts[0]['total_discount'], 2 ) : 0;
99 99
100 100 $customers = $wpdb->get_results(
101 101 $wpdb->prepare( "SELECT count(DISTINCT(email)) as customers FROM {$discount_table}
102 102 where applied_at > {$start_date} and discount_id " . Analytics::target_id_condition( $discount_id ) . " %d GROUP BY email; ", $discount_id ),
@@ -113,7 +113,7 @@
113 113 $this->data['conversion_rate'] = ( $this->data['converted'] / $this->data['applied_discount'] ) * 100;
114 114 $this->data['conversion_rate'] = round( $this->data['conversion_rate'], 2 );
115 115 }
116 116
117 - $this->data['target_title'] = get_the_title( $discount_id );
117 + $this->data['target_title'] = sellkit_decode_entity_title( get_the_title( $discount_id ) );
118 118 }
119 119 }