Hi,
Right, the option "valid order statuses" is in the "market" tab.
The best is to add a new configuration option (that I will add also in the next release).
In the file "administrator/components/com_hikamarket/views/config/tmpl/main.php", you can replace
<tr>
<td class="key"><?php echo JText::_('HIKAM_DISPLAY_ORDER_STATISTICS'); ?></td>
By
<tr>
<td class="key"><?php echo JText::_('HIKAM_VALID_ORDER_STATUSES'); ?></td>
<td>
<input id="stats_valid_order_statuses" type="text" name="config[stats_valid_order_statuses]" value="<?php echo $this->escape( @$this->config->get('stats_valid_order_statuses', 'confirmed,shipped') ); ?>" />
<?php
echo $this->popup->display(
'<img style="vertical-align:middle;" src="'.HIKAMARKET_IMAGES.'icon-16/edit.png" alt="'.JText::_('EDIT').'"/>',
'EDIT',
hikamarket::completeLink('shop.category&task=selectstatus&control=valid_order_statuses&values='. $this->escape( @$this->config->get('stats_valid_order_statuses', 'confirmed,shipped') ), true),
'link_valid_order_statuses',
760, 480, '', '', 'link'
);
?>
</td>
</tr>
<tr>
<td class="key"><?php echo JText::_('HIKAM_DISPLAY_ORDER_STATISTICS'); ?></td>
And in the file "administrator/components/com_hikamarket/classes/statistics.php" you can replace
$valid_order_statuses = explode(',', $this->config->get('valid_order_statuses', 'confirmed,shipped'));
By
$valid_order_statuses = explode(',', $this->config->get('stats_valid_order_statuses', 'confirmed,shipped'));
So you will be able to change the configuration option "valid order status" in the "statistics" section in order to choose which order statuses will be used in the statistic processing.
Regards,