admin/components
ai-prompts-modal.php
1.6 KB
1 month ago
all-modules.php
11.1 KB
1 month ago
analytics-overview-cards.php
797 B
1 month ago
analytics-overview.php
1.6 KB
1 month ago
enabled-modules.php
6.7 KB
1 month ago
white-label-upsell-modal.php
3.4 KB
1 month ago
analytics-overview.php in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 2.3.1, at admin/components/analytics-overview.php
| 1 | <?php |
| 2 | |
| 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | exit; // Exit if accessed directly |
| 5 | } |
| 6 | /** |
| 7 | * @var $overview_data array Overview data. |
| 8 | */ |
| 9 | |
| 10 | $date_ranges = $overview_data['date_ranges']; |
| 11 | ?> |
| 12 | <div class="merchant-analytics-overview-section" data-action="<?php echo esc_attr( $overview_data['action'] ) ?>"> |
| 13 | <div class="overview-head"> |
| 14 | <div class="head-wrapper"> |
| 15 | <div class="title"> |
| 16 | <span class="title-text"><?php echo esc_html( $overview_data['section_title'] ); ?></span> |
| 17 | </div> |
| 18 | <div class="date-range"> |
| 19 | <span class="merchant-analytics-loading-spinner"></span> |
| 20 | <span class="second-date-range" data-title="<?php echo esc_attr__( 'Date:', 'merchant' ); ?>"> |
| 21 | <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' ); ?>"> |
| 22 | </span> |
| 23 | <span class="compare-text"><?php esc_html_e( 'comparing to', 'merchant' ); ?></span> |
| 24 | <span class="first-date-range first-date-range-analytics-overview"> |
| 25 | <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' ); ?>"> |
| 26 | </span> |
| 27 | </div> |
| 28 | </div> |
| 29 | </div> |
| 30 | <div class="overview-cards"> |
| 31 | <?php require_once MERCHANT_DIR . 'admin/components/analytics-overview-cards.php'; ?> |
| 32 | </div> |
| 33 | </div> |