view-counter
11 months ago
appearance.blade.php
11 months ago
block-by-role.blade.php
2 days ago
block-ips.blade.php
11 months ago
capabilities.blade.php
11 months ago
delete.blade.php
11 months ago
disable-admin-toolbar-analytics.blade.php
2 years ago
disable-views-column.blade.php
1 year ago
disable-widget.blade.php
2 years ago
email-reports.blade.php
2 months ago
export-reports.blade.php
2 days ago
first-day-of-week.blade.php
2 years ago
index.blade.php
2 years ago
pruner.blade.php
2 days ago
track-authenticated-users.blade.php
2 years ago
view-counter.blade.php
2 days ago
visitor-salt-refresh-interval.blade.php
2 days ago
woocommerce.blade.php
2 days ago
woocommerce.blade.php
53 lines
| 1 | @php /** @var $statuses \IAWP\Ecommerce\WooCommerce_Status_Manager */ @endphp |
| 2 | |
| 3 | <div data-controller="woocommerce-settings" class="settings-container woocommerce-order-statuses"> |
| 4 | <div class="heading"> |
| 5 | <h2><?php |
| 6 | esc_html_e('WooCommerce Order Statuses', 'independent-analytics'); ?></h2> |
| 7 | <a class="tutorial-link" href="https://independentwp.com/knowledgebase/woocommerce/woocommerce-order-statuses/" target="_blank"> |
| 8 | <?php |
| 9 | esc_html_e('Read Tutorial', 'independent-analytics'); ?> |
| 10 | </a> |
| 11 | </div> |
| 12 | <p><?php |
| 13 | esc_html_e('Choose which order statuses should be counted in the analytics reports.', 'independent-analytics'); |
| 14 | ?></p> |
| 15 | <div class="settings-checkbox-group"> |
| 16 | <ol><?php |
| 17 | foreach ($statuses->get_statuses() as $status) : ?> |
| 18 | <li> |
| 19 | <label> |
| 20 | <input type="checkbox" |
| 21 | name="<?php echo esc_attr($status['id']); ?>" <?php |
| 22 | echo $status['is_tracked'] === true ? 'checked' : ''; ?> |
| 23 | data-testid="wc-status-<?php echo esc_attr($status['id']); ?>" |
| 24 | > |
| 25 | <?php echo esc_html($status['name']); ?> |
| 26 | </label> |
| 27 | </li><?php |
| 28 | endforeach; ?> |
| 29 | </ol> |
| 30 | </div> |
| 31 | <div class="button-group"> |
| 32 | <button class="button iawp-button purple" |
| 33 | data-woocommerce-settings-target="saveButton" |
| 34 | data-action="woocommerce-settings#saveClick" |
| 35 | data-testid="save-woocommerce-settings" |
| 36 | > |
| 37 | <?php |
| 38 | esc_html_e('Save', 'independent-analytics'); ?> |
| 39 | </button> |
| 40 | <button class="button iawp-button" |
| 41 | data-woocommerce-settings-target="resetButton" |
| 42 | data-action="woocommerce-settings#resetClick" |
| 43 | data-testid="reset-woocommerce-settings" |
| 44 | > |
| 45 | <?php |
| 46 | esc_html_e('Reset to default statuses', 'independent-analytics'); ?> |
| 47 | </button> |
| 48 | <div class="button-group-message"> |
| 49 | <p data-woocommerce-settings-target="message"></p> |
| 50 | </div> |
| 51 | </div> |
| 52 | </div> |
| 53 |