billing->get_fields(); $defaults = Plugin::instance()->billing->get_defaults(); $types = Plugin::instance()->billing->get_types(); $conditionals = Plugin::instance()->billing->get_conditional_types(); $option = Plugin::instance()->billing->get_option_types(); $price = Plugin::instance()->billing->get_price_types(); $multiple = Plugin::instance()->billing->get_multiple_types(); $template = Plugin::instance()->billing->get_template_types(); $disabled = Plugin::instance()->billing->get_disabled_types(); $product_categories = $this->get_product_categories(); $product_types = wc_get_product_types(); // This type cannot setted because it is not added to to cart unset( $product_types['external'] ); // This type cannot setted because it is not added to to cart. It add every child to cart as simple product unset( $product_types['grouped'] ); $product_subtypes_options = array( 'virtual' => __( 'Virtual', 'woocommerce-checkout-manager' ), 'downloadable' => __( 'Downloadable', 'woocommerce-checkout-manager' ), 'virtual-downloadable' => __( 'Virtual & Downloadable', 'woocommerce-checkout-manager' ), ); $is_billing_shipping = true; include_once WOOCCM_PLUGIN_DIR . 'lib/view/backend/pages/billing.php'; } } public function add_header() { global $current_section; ?>