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

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

- Page: https://pluginprobe.com/plugins/merchant/2.3.2/code/admin/components/analytics-overview-cards.php
- Raw: https://pluginprobe.com/plugins/merchant/2.3.2/raw/admin/components/analytics-overview-cards.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-cards.php#L10-L20`.

```php
<?php

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

$cards         = $overview_data['cards'];
foreach ( $cards as $key => $card ) : ?>
<div class="overview-card <?php echo esc_attr( $key ); ?>">
    <div class="card-title"><?php echo esc_html( $card['title'] ); ?></div>
    <div class="card-value"><?php echo wp_kses( $card['value'], merchant_kses_allowed_tags( array( 'all' ) ) ); ?></div>
    <div class="card-change <?php echo esc_attr( $card['change']['class'] ); ?>"><?php echo esc_html( $card['change']['value'] ); ?></div>
    <?php if( isset( $card['tooltip'] ) ) { ?>
        <span class="info-icon" data-tooltip="<?php echo esc_attr( $card['tooltip'] ); ?>"></span>
    <?php } ?>
</div>
<?php endforeach; ?>
```
