Page 1 of 1

Who's Online - Products in cart

Posted: Thu Dec 19, 2024 6:29 pm
by GetSirius
Back in the osC2.3.4 days the admin page, Who's Online, would indicate what is in a customer's shopping cart. I am not seeing that in my Phoenix v1.0.8.20 install. Is this something broken, or just gone missing?

I did not notice anything in the Addons. This would be a nice thing to have.

Thank you, Chuck

Re: Who's Online - Products in cart

Posted: Thu Dec 19, 2024 6:39 pm
by ecartz
It worked the last time that I tried it.

Note that it only works for logged in customers.

Re: Who's Online - Products in cart

Posted: Thu Dec 19, 2024 6:48 pm
by GetSirius
Thank you. Must be something broken in my installation. I never see anything, just blank space on the right side of the page.

Re: Who's Online - Products in cart

Posted: Thu Dec 19, 2024 7:19 pm
by GetSirius
Found the issue. For some reason the following line was missing from whos_online.php
require 'includes/segments/process_action.php';

Code: Select all

  require 'includes/application_top.php';

// remove entries that have expired
  $db->query("DELETE FROM whos_online WHERE time_last_click < " . (int)$xx_mins_ago);
  
    require 'includes/segments/process_action.php';

  require 'includes/template_top.php';