index.php
29 lines
| 1 | |
| 2 | <div class="wrap"> |
| 3 | |
| 4 | <?php |
| 5 | echo wp_kses_post( |
| 6 | \SureCart::notices()->render( |
| 7 | [ |
| 8 | 'name' => 'product_groups_info', |
| 9 | 'title' => esc_html__( 'What are Upgrade Groups?', 'surecart' ), |
| 10 | 'text' => esc_html__( 'An upgrade groups is how you define upgrade and downgrade paths for your customers. It is based on products they have previously purchased.', 'surecart' ), |
| 11 | ] |
| 12 | ) |
| 13 | ); |
| 14 | ?> |
| 15 | |
| 16 | <?php |
| 17 | \SureCart::render( |
| 18 | 'layouts/partials/admin-index-header', |
| 19 | [ |
| 20 | 'title' => __( 'Upgrade Groups', 'surecart' ), |
| 21 | 'new_link' => \SureCart::getUrl()->edit( 'product_group' ), |
| 22 | ] |
| 23 | ); |
| 24 | ?> |
| 25 | |
| 26 | <?php $table->display(); ?> |
| 27 | </div> |
| 28 | |
| 29 |