# merchant/2.3.2/admin/components/analytics-overview.php

Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together &amp; More for WooCommerce – Merchant, version 2.3.2. 33 lines.

- Page: https://pluginprobe.com/plugins/merchant/2.3.2/code/admin/components/analytics-overview.php
- Raw: https://pluginprobe.com/plugins/merchant/2.3.2/raw/admin/components/analytics-overview.php
- Modified: 2026-09-17T17:48:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/merchant/2.3.2/code/admin/components/analytics-overview.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}
/**
 * @var $overview_data array Overview data.
 */

$date_ranges   = $overview_data['date_ranges'];
?>
<div class="merchant-analytics-overview-section" data-action="<?php echo esc_attr( $overview_data['action'] ) ?>">
    <div class="overview-head">
        <div class="head-wrapper">
            <div class="title">
                <span class="title-text"><?php echo esc_html( $overview_data['section_title'] ); ?></span>
            </div>
            <div class="date-range">
                <span class="merchant-analytics-loading-spinner"></span>
                <span class="second-date-range" data-title="<?php echo esc_attr__( 'Date:', 'merchant' ); ?>">
                    <input type="text" class="date-range-input" readonly value="<?php echo esc_attr( implode( ' - ', array_values( $date_ranges['recent_period'] ) ) ); ?>" placeholder="<?php esc_attr_e( 'Date range', 'merchant' ); ?>">
                </span>
                <span class="compare-text"><?php esc_html_e( 'comparing to', 'merchant' ); ?></span>
                <span class="first-date-range first-date-range-analytics-overview">
                    <input type="text" class="date-range-input" readonly value="<?php echo esc_attr( implode( ' - ', array_values( $date_ranges['last_period'] ) ) ); ?>" placeholder="<?php esc_attr_e( 'Date range', 'merchant' ); ?>">
                </span>
            </div>
        </div>
    </div>
    <div class="overview-cards">
		<?php require_once MERCHANT_DIR . 'admin/components/analytics-overview-cards.php'; ?>
    </div>
</div>
```
