html__( 'WooCommerce', 'elementor-pro' ), 'active' => true, ], ]; $categories += parent::get_editor_panel_categories(); unset( $categories['theme-elements-archive'] ); return $categories; } public static function get_editor_panel_config() { $config = parent::get_editor_panel_config(); $config['widgets_settings']['theme-archive-title']['categories'][] = 'woocommerce-elements-archive'; return $config; } protected function register_controls() { parent::register_controls(); $this->update_control( 'preview_type', [ 'default' => 'post_type_archive/product', ] ); } protected function get_remote_library_config() { $config = parent::get_remote_library_config(); $config['category'] = 'product archive'; return $config; } }