Need to see a linkS.Favorite wrote:After upgrading from 2.0.2.0 to 2.3.0.3 and fixing "BUG: Error: Could not load model total!" now when I select an item and click "add to cart" I see the "Success: You have added (selected Item) to your shopping cart!" message however, the item is not added to the cart!
This is not a bug, it's designed to be that way.CypherUK wrote:Anyone else having issues with maintenance mode not disabling for admin, when logged in as administrator?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
It is?. I thought you could access the site normally, when logged in as admin and maintenance mode was enabled?JNeuhoff wrote:This is not a bug, it's designed to be that way.CypherUK wrote:Anyone else having issues with maintenance mode not disabling for admin, when logged in as administrator?
Sorry, I might have misunderstood you.CypherUK wrote:It is?. I thought you could access the site normally, when logged in as admin and maintenance mode was enabled?JNeuhoff wrote:This is not a bug, it's designed to be that way.CypherUK wrote:Anyone else having issues with maintenance mode not disabling for admin, when logged in as administrator?
Anyway, I just tested it on a 2.3.0.2 site, using Firefox to log into the admin backend and to set it to maintenance mode. If I then go to the frontend, using the same web browser, and from the same IP-address, you can still access the frontend just fine. Whenever I use another web browser, e.g. Chrome, then the frontend shows that the site is under maintenance. I assume any other web user will see the maintenance message on the frontend, too.
I think this is how it all should work, can't find anything wrong.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Thanks for checking it out. My bad for not testing in Firefox first. Working fine in that.Sorry, I might have misunderstood you.
Anyway, I just tested it on a 2.3.0.2 site, using Firefox to log into the admin backend and to set it to maintenance mode. If I then go to the frontend, using the same web browser, and from the same IP-address, you can still access the frontend just fine. Whenever I use another web browser, e.g. Chrome, then the frontend shows that the site is under maintenance. I assume any other web user will see the maintenance message on the frontend, too.
I think this is how it all should work, can't find anything wrong.
Code: Select all
catalog/controller/account/login/after
Code: Select all
$this->customer->getId()
email: trile7 at gmail dot com
Checkout My Extensions
I think you won't get a customer_id because, before it reaches the end of the execution of method index in catalog/controller/account/login.php, it would have re-directed to method index of catalog/controller/account/account.php . It only reaches the end of method index in catalog/controller/account/login.php if the login fails.tri1976 wrote:I need to get customer_id after customer login event. So I have this for my triggerand then run a script with the following code to get customer_idCode: Select all
catalog/controller/account/login/after
customer_id doens't show anything. Anyone has issue with this?Code: Select all
$this->customer->getId()
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
It looks like it should redirect to account page if the user is logged in and that should happen after $this->customer->login is run. And when the login function is run the customer_id should be set, right? Am I missing something? Do you know how to figure out when catalog/controller/account/login/after event get executed?JNeuhoff wrote: I think you won't get a customer_id because, before it reaches the end of the execution of method index in catalog/controller/account/login.php, it would have re-directed to method index of catalog/controller/account/account.php . It only reaches the end of method index in catalog/controller/account/login.php if the login fails.
email: trile7 at gmail dot com
Checkout My Extensions
Take a look at the system/engine/loader.php:tri1976 wrote:It looks like it should redirect to account page if the user is logged in and that should happen after $this->customer->login is run. And when the login function is run the customer_id should be set, right? Am I missing something? Do you know how to figure out when catalog/controller/account/login/after event get executed?JNeuhoff wrote: I think you won't get a customer_id because, before it reaches the end of the execution of method index in catalog/controller/account/login.php, it would have re-directed to method index of catalog/controller/account/account.php . It only reaches the end of method index in catalog/controller/account/login.php if the login fails.
Code: Select all
......
// Trigger the pre events
$result = $this->registry->get('event')->trigger('controller/' . $route . '/before', array(&$route, &$data, &$output));
if ($result) {
return $result;
}
if (!$output) {
$action = new Action($route);
$output = $action->execute($this->registry, array(&$data));
}
// Trigger the post events
$result = $this->registry->get('event')->trigger('controller/' . $route . '/after', array(&$route, &$data, &$output));
.....
You'd probably want to intercept after a successful login. Unfortunately there are no pre-defined event triggers for this. Personally, I'd use the Override Engine and then override the method login from the system/library/customer.php in an extended class. OpenCart's event triggers are powerful, but from my experience only about 50% of OpenCart modifications done via the Override Engine, or VQmod/OCmod, can be replicated via event triggers. There are no event triggers defined for library classes' methods.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
email: trile7 at gmail dot com
Checkout My Extensions
I think the problem is in connection with country code, because Chrome devtools show me this.
site/index.php?route=checkout/checkout/country&country_id=97 do 30-50s runtime...Something is not OK with that and I found some similar issue on the net but not the solution.
Unable to reproduce your problem, not a bug. Most likely an issue with your webhost, e.g. overloaded MySQL server.rewentlow wrote:Loading of shipping method and payment method is very-very slow in the checkout process. The error occurs only if you loginned to the shop and you would like to checkout that way. In the case of guest checkout the problem not occur.
I think the problem is in connection with country code, because Chrome devtools show me this.
site/index.php?route=checkout/checkout/country&country_id=97 do 30-50s runtime...Something is not OK with that and I found some similar issue on the net but not the solution.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
With so many unresolved outstanding bugs, I'm thinking I should roll back to v2.1.0.2
You are giving precious little information, nobody elkse can reproduce your error. You are getting these errors:
perf_trace {"name": "e2e", "parent": "PageEvents.BIGPIPE_ONLOAD"}
Try with the default theme. If that doesn't eliminate the error, ask your webhost as to where this error comes from.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
As I see activify on github, wont be in the next few weeks at least.risingisland wrote:Is there an ETA for v2.3.0.3?
With so many unresolved outstanding bugs, I'm thinking I should roll back to v2.1.0.2
Same here! Also, the OC. 2.3.0.2 First Data EMEA Web Service API Payment Extension Payment Settings > Settlement type stays as "Pre auth" even if I select "Sale" and save it.dharam81 wrote:In Admin > System > Settings > Mail > "Additional Alert Mail" email address cannot be saved.
after saving it is blank again.
is this known bug?
any fix?
OC 2.3.0.2
PHP Notice: Undefined index: mastercard in /catalog/view/theme/default/template/extension/payment/firstdata_remote.tpl on line 10
PHP Notice: Undefined index: visa in /catalog/view/theme/default/template/extension/payment/firstdata_remote.tpl on line 11
PHP Notice: Undefined index: diners in /catalog/view/theme/default/template/extension/payment/firstdata_remote.tpl on line 12
PHP Notice: Undefined index: amex in /catalog/view/theme/default/template/extension/payment/firstdata_remote.tpl on line 13
PHP Notice: Undefined index: maestro in /catalog/view/theme/default/template/extension/payment/firstdata_remote.tpl on line 14
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 11 guests