Results 1 to 8 of 8
  1. #1
    Join Date
    May 2010
    Location
    USA
    Posts
    43
    Plugin Contributions
    0

    Default Can the Admin view a users cart?

    I did search the forums for "view cart" and even "view users cart" but none of the hits came close to the actual topic. So my apologies if this is indeed covered in a thread. Just point me there and I'll work with that info.

    Otherwise that is the issue I have to deal with. I got a user who isnt the sharpest tool in the shed, so his description of the problem has me confused.

    I would like to cut to the chase and simply view what is currently in his cart. He hasnt placed his order, so I assume the persistent cart still holds what he intends to buy. But I cant figure out how I can view his carts contents. or for that matter if its currently possible at all.

    And if its not possible as zen is currently configured out of the box, does anyone here have a solution or an area for me to look into to make my zencart allow the admin to view users current cart contents?

    Thanks
    Photoseller
    Current configuration:
    zencart v1.3.9e
    zen cherry template
    IH2,easy populate, installed

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,527
    Plugin Contributions
    127

    Default Re: Can the Admin view a users cart?

    Some versions of Enhanced Who's Online (in the free software add ons) will allow this, depending on your host's configuration.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Can the Admin view a users cart?

    If he's currently logged in, you should be able to go to Admin - Tools - Who's Online to view his cart. If not, you could install the Encrypted Master Password mod and log in as him to see his cart contents, if any.

  4. #4
    Join Date
    May 2010
    Location
    USA
    Posts
    43
    Plugin Contributions
    0

    Default Re: Can the Admin view a users cart?

    Quote Originally Posted by swguy View Post
    Some versions of Enhanced Who's Online (in the free software add ons) will allow this, depending on your host's configuration.
    thanks! I downloaded the latest (july 2010) and it looks nice.

    besides the factor of I need the users to be logged in, can you give me a little more on the 'hosts config' you were mentioning?

    Is that my webhosting accounts config? or a zen config?

    photoseller

  5. #5
    Join Date
    May 2010
    Location
    USA
    Posts
    43
    Plugin Contributions
    0

    Default Re: Can the Admin view a users cart?

    Quote Originally Posted by swguy View Post
    Some versions of Enhanced Who's Online (in the free software add ons) will allow this, depending on your host's configuration.
    oh I forgot to add that the version/configuration I have now of the enhanced whos online does NOT have the ability to show me the cart contents. I can see if its active but no link to view inside

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,527
    Plugin Contributions
    127

    Default Re: Can the Admin view a users cart?

    If the cart is green, you can click on it and it will show the contents of the cart.

    What might cause it not to work is if your host runs suhosin. Instructions are inside admin/whos_online.php for a way to deal with this. (Search for "suhosin".
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    May 2010
    Location
    USA
    Posts
    43
    Plugin Contributions
    0

    Default Re: Can the Admin view a users cart?

    Quote Originally Posted by swguy View Post
    If the cart is green, you can click on it and it will show the contents of the cart.

    What might cause it not to work is if your host runs suhosin. Instructions are inside admin/whos_online.php for a way to deal with this. (Search for "suhosin".
    ok thanks! I'll open up the php editor and take a look at whats doing for suhosin!!

    In the meantime I did figure out what I needed to know via SQL. I am WAYYYY more comfortable working with sql than php

    so if anyone is comfortable with using your mysql-phpadmin here is the query I used

    Code:
    select `znc_customers_basket`.`products_id` , `products_model` , `znc_manufacturers`.`manufacturers_name` , `products_image` 
    FROM `znc_customers_basket` inner join `znc_products` on `znc_customers_basket`.`products_id` = `znc_products`.`products_id` 
    inner join `znc_manufacturers` on `znc_products`.`manufacturers_id` = `znc_manufacturers`.`manufacturers_id`
    WHERE `znc_customers_basket`.`customers_id` = 19
    YOU might not need as much info as I have here. techincally speaking just a simple query for the product ID should be enough to fill an order. But in my case I needed the extra info to resolve a customer question.

    thanks again to you guys for the speedy help!
    Photoseller

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,527
    Plugin Contributions
    127

    Default Re: Can the Admin view a users cart?

    This is a nice option - thanks for taking the time to document it.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. RESOLVED: whos_online.php View Users Shopping Cart
    By JorgeR in forum Basic Configuration
    Replies: 0
    Last Post: 1 Dec 2011, 01:52 AM
  2. Can I setup the cart so users need to login before shopping?
    By foochuck in forum General Questions
    Replies: 4
    Last Post: 7 Jul 2009, 08:55 PM
  3. Can the admin view an inactive cart?
    By shocker in forum General Questions
    Replies: 1
    Last Post: 7 Feb 2008, 02:38 PM
  4. Just sucessfully install Zen Cart but can't view the webpage
    By BOB'5 in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 16 Nov 2007, 04:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg