Who's Online - Products in cart

Open to all! Ask other shopowners for help.
Post Reply
GetSirius
Member
Posts: 50
Joined: Wed Mar 17, 2021 7:15 pm
Phoenix Version:
Has thanked: 14 times
Been thanked: 2 times

Who's Online - Products in cart

Post 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

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Who's Online - Products in cart

Post by ecartz »

It worked the last time that I tried it.

Note that it only works for logged in customers.
GetSirius
Member
Posts: 50
Joined: Wed Mar 17, 2021 7:15 pm
Phoenix Version:
Has thanked: 14 times
Been thanked: 2 times

Re: Who's Online - Products in cart

Post 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.
GetSirius
Member
Posts: 50
Joined: Wed Mar 17, 2021 7:15 pm
Phoenix Version:
Has thanked: 14 times
Been thanked: 2 times

Re: Who's Online - Products in cart

Post 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';


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply