If anyone knows of a extension or VQMod that is built and can point me there, that would be great!
Mike
cue4cheap not cheap quality
http://www.opencart.com/index.php?route ... on_id=8698
But it costs as much as $100.
If you feel it is too expensive, I can code a user-friendly extension for you at a lower and reasonable cost for you.
Features of the extension I can think of now is like:
(1)You can set orders of which stores an admin account has access to in the order list page.
(2)If orders of mutiple stores are designated to an admin account, that account will be able to filter orders based on which store the orders are placed in.
PM me if you are interested.
Post in the forum yet no one's willing to help? Contact me for free opencart coding or configuration assistance. Reach me at uneverno1986#gmail.com(replace # with @). But no free extension development request. Sorry about that It could take a few days to make a complicated mod.
If you feel I have helped, a donation is optional and appreciated.
All I am looking for is just another column that displays what store the order came from. Something like a column between maybe customer and status that says "Store 1" or Store 2, etc.
Mike
cue4cheap not cheap quality
Post in the forum yet no one's willing to help? Contact me for free opencart coding or configuration assistance. Reach me at uneverno1986#gmail.com(replace # with @). But no free extension development request. Sorry about that It could take a few days to make a complicated mod.
If you feel I have helped, a donation is optional and appreciated.
In admin/controller/sale/order.php file,
find:
Code: Select all
$results = $this->model_sale_order->getOrders($filter_data);
Code: Select all
$this->load->model('setting/store');
Code: Select all
$data['orders'][] = array(
Code: Select all
$store_info = $this->model_setting_store->getStore($result['store_id']);
if ($store_info) {
$store_name = strip_tags(html_entity_decode(trim($store_info['name']), ENT_QUOTES, 'UTF-8'));
} else {
$store_name = strip_tags(html_entity_decode(trim($this->config->get('config_name')), ENT_QUOTES, 'UTF-8'));
}
Code: Select all
'order_id' => $result['order_id'],
Code: Select all
'store' => $store_name,
Code: Select all
$data['column_customer'] = $this->language->get('column_customer');
Code: Select all
$data['column_store'] = $this->language->get('column_store');
Code: Select all
$data['sort_customer'] = $this->url->link('sale/order', 'token=' . $this->session->data['token'] . '&sort=customer' . $url, 'SSL');
Code: Select all
$data['sort_store'] = $this->url->link('sale/order', 'token=' . $this->session->data['token'] . '&sort=store' . $url, 'SSL');
Code: Select all
$_['column_customer'] = 'Customer';
Code: Select all
$_['column_store'] = 'Store';
find:
Code: Select all
o.order_id,
Code: Select all
`o`.`store_id`,
find:
Code: Select all
<td class="text-left"><?php if ($sort == 'customer') { ?>
<a href="<?php echo $sort_customer; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_customer; ?></a>
<?php } else { ?>
<a href="<?php echo $sort_customer; ?>"><?php echo $column_customer; ?></a>
<?php } ?></td>
Code: Select all
<td class="text-left"><?php if ($sort == 'store') { ?>
<a href="<?php echo $sort_store; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_store; ?></a>
<?php } else { ?>
<a href="<?php echo $sort_store; ?>"><?php echo $column_store; ?></a>
<?php } ?></td>
Code: Select all
<td class="text-left"><?php echo $order['customer']; ?></td>
Code: Select all
<td class="text-left"><?php echo $order['store']; ?></td>
Code: Select all
<td class="text-center" colspan="8"><?php echo $text_no_results; ?></td>
Code: Select all
<td class="text-center" colspan="9"><?php echo $text_no_results; ?></td>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I don´t need a filter or whole column for store so I applyed just code till:
Code: Select all
'store' => $store_name,
What am I doing wrong? I just want to show the data from column store_name to order.
I´m using OC 2.3.0.2.
Thank you for any help.
https://www.opencart.com/index.php?rout ... n_id=28947
and in product list
https://www.opencart.com/index.php?rout ... n_id=28948
Works for all opencart versions
Users browsing this forum: No registered users and 25 guests