Post by brydekirk » Sun Aug 09, 2020 5:59 pm

Hi Guys,

Small problem - when a customer changes their address it shows on the dashboard Recent Activity as " added a new address." with no Customer name. If I look at the page source in Chrome I see :

<small class="text-muted"><i class="fa fa-clock-o"></i>09/08/2020 10:07:31</small></li> <li class="list-group-item"><a href="https://xxxxxxxxxx.com/admin/index.php? ... tomer_id=0"> </a> added a new address.<br />

I don't know why this has recently started happening and why OC is not picking up the customer id - any ideas?

Opencart version is 3.0.3.1 default theme

New member

Posts

Joined
Sun Dec 30, 2018 7:26 pm

Post by sw!tch » Mon Aug 10, 2020 8:24 am

Are you able to duplicate by creating a test account and adding an address from the account section?

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by brydekirk » Tue Aug 11, 2020 4:59 am

No...

New member

Posts

Joined
Sun Dec 30, 2018 7:26 pm

Post by sw!tch » Tue Aug 11, 2020 9:38 am

brydekirk wrote:
Tue Aug 11, 2020 4:59 am
No...
Think it's a bug with the event system and customer ID being set in session. I am able to duplicate on a local install of 3.0.3.6

Seems to happen on initial checkout when you register.

In the oc_customer_activity table, customer_id is being passed as null.

Code: Select all

{"customer_id":null,"name":" "}
You might want search OC's gitHub and see if there is any fix, I will post one here if I have time to look into it further.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by brydekirk » Tue Aug 11, 2020 3:23 pm

Thanks, I appreciate your help....

New member

Posts

Joined
Sun Dec 30, 2018 7:26 pm
Who is online

Users browsing this forum: JessiesBoutique and 518 guests