Ubercart most selling product in drupal 7 I'm using Drupal 7 on my site with Ubercart 7.x - 3.4. I want is an existing module or a view customization tips to make the most selling / best selling product.
Here is a view Export 

$view = new view;
$view-&gt;name = 'best_sellers';
$view-&gt;description = 'Best Sellers';
$view-&gt;tag = 'Best Sellers';
$view-&gt;base_table = 'node';
$view-&gt;human_name = 'Best Sellers';
$view-&gt;core = 7;
$view-&gt;api_version = '3.0-alpha1';
$view-&gt;disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Defaults */
$handler = $view-&gt;new_display('default', 'Defaults', 'default');
$handler-&gt;display-&gt;display_options['access']['type'] = 'none';
$handler-&gt;display-&gt;display_options['cache']['type'] = 'none';
$handler-&gt;display-&gt;display_options['query']['type'] = 'views_query';
$handler-&gt;display-&gt;display_options['exposed_form']['type'] = 'basic';
$handler-&gt;display-&gt;display_options['pager']['type'] = 'some';
$handler-&gt;display-&gt;display_options['pager']['options']['items_per_page'] = '5';
$handler-&gt;display-&gt;display_options['pager']['options']['offset'] = '0';
$handler-&gt;display-&gt;display_options['style_plugin'] = 'default';
$handler-&gt;display-&gt;display_options['row_plugin'] = 'fields';
/* Field: Fields: uc_product_image */
$handler-&gt;display-&gt;display_options['fields']['entity_id']['id'] = 'entity_id';
$handler-&gt;display-&gt;display_options['fields']['entity_id']['table'] = 'field_data_uc_product_image';
$handler-&gt;display-&gt;display_options['fields']['entity_id']['field'] = 'entity_id';
$handler-&gt;display-&gt;display_options['fields']['entity_id']['label'] = '';
$handler-&gt;display-&gt;display_options['fields']['entity_id']['alter']['alter_text'] = 0;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['alter']['make_link'] = 0;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['alter']['absolute'] = 0;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['alter']['trim'] = 0;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['alter']['word_boundary'] = 1;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['alter']['ellipsis'] = 1;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['alter']['strip_tags'] = 0;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['alter']['html'] = 0;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['element_label_colon'] = 1;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['element_default_classes'] = 1;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['hide_empty'] = 0;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['empty_zero'] = 0;
$handler-&gt;display-&gt;display_options['fields']['entity_id']['click_sort_column'] = 'fid';
$handler-&gt;display-&gt;display_options['fields']['entity_id']['settings'] = array(
  'image_style' =&gt; 'thumbnail',
  'image_link' =&gt; 'content',
);
/* Field: Node: Title */
$handler-&gt;display-&gt;display_options['fields']['title']['id'] = 'title';
$handler-&gt;display-&gt;display_options['fields']['title']['table'] = 'node';
$handler-&gt;display-&gt;display_options['fields']['title']['field'] = 'title';
$handler-&gt;display-&gt;display_options['fields']['title']['label'] = '';
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['alter_text'] = 0;
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['make_link'] = 0;
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['absolute'] = 0;
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['trim'] = 0;
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['word_boundary'] = 1;
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['ellipsis'] = 1;
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['strip_tags'] = 0;
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['html'] = 0;
$handler-&gt;display-&gt;display_options['fields']['title']['element_label_colon'] = 1;
$handler-&gt;display-&gt;display_options['fields']['title']['element_default_classes'] = 1;
$handler-&gt;display-&gt;display_options['fields']['title']['hide_empty'] = 0;
$handler-&gt;display-&gt;display_options['fields']['title']['empty_zero'] = 0;
$handler-&gt;display-&gt;display_options['fields']['title']['link_to_node'] = 1;
/* Field: Product: Buy it now button */
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['id'] = 'buyitnowbutton';
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['table'] = 'uc_products';
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['field'] = 'buyitnowbutton';
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['label'] = '';
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['alter']['alter_text'] = 0;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['alter']['make_link'] = 0;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['alter']['absolute'] = 0;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['alter']['trim'] = 0;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['alter']['word_boundary'] = 1;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['alter']['ellipsis'] = 1;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['alter']['strip_tags'] = 0;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['alter']['html'] = 0;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['element_label_colon'] = 1;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['element_default_classes'] = 1;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['hide_empty'] = 0;
$handler-&gt;display-&gt;display_options['fields']['buyitnowbutton']['empty_zero'] = 0;
/* Field: Product: Sell price */
$handler-&gt;display-&gt;display_options['fields']['sell_price']['id'] = 'sell_price';
$handler-&gt;display-&gt;display_options['fields']['sell_price']['table'] = 'uc_products';
$handler-&gt;display-&gt;display_options['fields']['sell_price']['field'] = 'sell_price';
$handler-&gt;display-&gt;display_options['fields']['sell_price']['label'] = '';
$handler-&gt;display-&gt;display_options['fields']['sell_price']['alter']['alter_text'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['alter']['make_link'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['alter']['absolute'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['alter']['trim'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['alter']['word_boundary'] = 1;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['alter']['ellipsis'] = 1;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['alter']['strip_tags'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['alter']['html'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['element_label_colon'] = 1;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['element_default_classes'] = 1;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['hide_empty'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['empty_zero'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['set_precision'] = 0;
$handler-&gt;display-&gt;display_options['fields']['sell_price']['precision'] = '0';
$handler-&gt;display-&gt;display_options['fields']['sell_price']['format_plural'] = 0;
/* Sort criterion: Order product: Qty */
$handler-&gt;display-&gt;display_options['sorts']['qty']['id'] = 'qty';
$handler-&gt;display-&gt;display_options['sorts']['qty']['table'] = 'uc_order_products';
$handler-&gt;display-&gt;display_options['sorts']['qty']['field'] = 'qty';
$handler-&gt;display-&gt;display_options['sorts']['qty']['order'] = 'DESC';
/* Filter: Node: Is a product */
$handler-&gt;display-&gt;display_options['filters']['is_product']['id'] = 'is_product';
$handler-&gt;display-&gt;display_options['filters']['is_product']['table'] = 'uc_products';
$handler-&gt;display-&gt;display_options['filters']['is_product']['field'] = 'is_product';
$handler-&gt;display-&gt;display_options['filters']['is_product']['value'] = '1';

/* Display: Block */
$handler = $view-&gt;new_display('block', 'Block', 'best_sellers');
$handler-&gt;display-&gt;display_options['defaults']['title'] = FALSE;
$handler-&gt;display-&gt;display_options['title'] = 'Best Sellers';
$handler-&gt;display-&gt;display_options['defaults']['css_class'] = FALSE;
$handler-&gt;display-&gt;display_options['css_class'] = 'new-product-block';
$handler-&gt;display-&gt;display_options['block_description'] = 'Best Sellers';
$translatables['best_sellers'] = array(
  t('Defaults'),
  t('more'),
  t('Apply'),
  t('Reset'),
  t('Sort By'),
  t('Asc'),
  t('Desc'),
  t('.'),
  t(','),
  t('Block'),
  t('Best Sellers'),
);


How to 


Login to Drupal as an administrator. Go to Structure > Views.
Click “Import View from Code”


Add "Popular Products" view