Sorry if this question may have been asked before, but I could not find the answer.
Is there a module to make orders update by it self (instead of pressing F5 or refresh to see if there any new orders). This is to appear on the dashboard.
Similarly can this be possibly done to allow the customer see order updates appearing automatically without them having to update the page by pressing F5 or refreshing the page.
Thank you
2.) easier -- use a simple refresh through regular html (not automatic but will happen every X minutes or X seconds
For the customer:
What area are you talking about?
930sc ... because it is fun!
1. EDIT: admin/view/template/common/header.tpl
2. FIND:
Code: Select all
</head>
Code: Select all
<meta http-equiv="refresh" content="60">
Yes, that would work. But it will refresh EVERY page in the administration, not just the dashboard page. To refresh just the dashboard page (and no others in the admin) try this:Qphoria wrote:I'd go with easier....
1. EDIT: admin/view/template/common/header.tpl
2. FIND:3. BEFORE, ADD:Code: Select all
</head>
change 60 (secs) to whateverCode: Select all
<meta http-equiv="refresh" content="60">
Code: Select all
<?php if ((isset($this->request->get['route']) && $this->request->get['route'] == 'common/home') || !isset($this->request->get['route'])) { ?>
<meta http-equiv="refresh" content="60">
<?php } ?>
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
fido-x wrote:Yes, that would work. But it will refresh EVERY page in the administration, not just the dashboard page. To refresh just the dashboard page (and no others in the admin) try this:Code: Select all
<?php if ((isset($this->request->get['route']) && $this->request->get['route'] == 'common/home') || !isset($this->request->get['route'])) { ?> <meta http-equiv="refresh" content="60"> <?php } ?>
Works like a charm!
I've set it to 180, 60seconds it to fast.
Thanks!
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Find and get many various of opencart modules, themes, mods, etc for your opencart store at http://www.openmycart.com/oc/, OPENCART SITE customization and Maintenance supports at here
You could do that.
Have something in the code to set a refresh ... but who is going to code it?
930sc ... because it is fun!
If I want to do the same for the customer section i.e. e.g. http://localhost/index.php?route=checkout/success (localhost). I want the screen to refresh when it reaches that pages ,say every few minutes so the customer gets updated with the progress. I have seen some eCommerce sites where this is the options and once the order is updated it appears on the customer screen.
Users browsing this forum: No registered users and 13 guests