| 1 |
<?php |
| 2 |
/** |
| 3 |
* Subscription product edit form view (classic-only panel). |
| 4 |
* |
| 5 |
* Used for the classic Subscription tab where no plan view is mounted. The |
| 6 |
* simple-product plan view (Admin/Product/Plans) renders its own panel and |
| 7 |
* reuses the shared classic fields partial for its hidden "classic settings". |
| 8 |
* |
| 9 |
* @package SpringDevs\Subscription\Admin |
| 10 |
*/ |
| 11 |
|
| 12 |
// Exit if accessed directly. |
| 13 |
if ( ! defined( 'ABSPATH' ) ) { |
| 14 |
exit; |
| 15 |
} |
| 16 |
|
| 17 |
?> |
| 18 |
<div id="sdevs_subscription_options" |
| 19 |
class="panel woocommerce_options_panel option_group sdevs-form sdevs_panel show_if_simple" style="padding: 10px;"> |
| 20 |
<div class="show_if_subscription"> |
| 21 |
<?php require __DIR__ . '/product-classic-fields.php'; ?> |
| 22 |
</div> |
| 23 |
</div> |
| 24 |
|