Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2018
    Location
    Tennessee
    Posts
    42
    Plugin Contributions
    0

    Default Admin - Orders page - Righthand infobox- Customers comments not showing though they e

    Admin - Orders page - Righthand infobox- Customers comments not showing though they exist and can be seen when you go into the details of that specific order but not in the Infobox as shown in the image!

    I could be wrong but I thought this was supposed to show any customer comments, Red Box in the image, they may have entered about their orders

    Click image for larger version. 

Name:	Customer Infobox.jpg 
Views:	20 
Size:	50.1 KB 
ID:	18860

  2. #2
    Join Date
    Jul 2012
    Posts
    14,849
    Plugin Contributions
    17

    Default Re: Admin - Orders page - Righthand infobox- Customers comments not showing though th

    It would really help to know information that is missing from the above that is asked/discussed in the posting tips...

    For starters, what Zen Cart version and then please fill in the blanks associated to the remainder of items.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,528
    Plugin Contributions
    0

    Default Re: Admin - Orders page - Righthand infobox- Customers comments not showing though th

    I haven't seen comment actually being shown in that spot in a very long time. I am not even sure what version it might have been that showed the order comments in that spot.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,528
    Plugin Contributions
    0

    Default Re: Admin - Orders page - Righthand infobox- Customers comments not showing though th

    ok, digging back as far as I can in my archives it seems ZC stock has never actually shown the comments in that location. The Word "comments" showing up there is an indicator that there are comments on the order, and not necessarily comments from the customer when they placed the order. It will show even when there are comments added automatically by a payment method. I tested an order that had no comments, either by the customer (me) or automatically added comments and the word comments disappears from the infobox which lines up with the code, with that code being pretty much the same all the way back to ZC v1.2.6

    Code:
                        // indicate if comments exist
                        $orders_history_query = $db->Execute("SELECT orders_status_id, date_added, customer_notified, comments
                                                              FROM " . TABLE_ORDERS_STATUS_HISTORY . "
                                                              WHERE orders_id = " . (int)$oInfo->orders_id . "
                                                              AND comments != ''");
    
                        if ($orders_history_query->RecordCount() > 0) {
                          $contents[] = array('text' => '<br>' . TABLE_HEADING_COMMENTS);
                        }
    So my remembering seeing comments there must have been on a site I worked on that was customized.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Feb 2018
    Location
    Tennessee
    Posts
    42
    Plugin Contributions
    0

    Default Re: Admin - Orders page - Righthand infobox- Customers comments not showing though th

    I actually thought about me not leaving the Version of Zen cart on the way home today from work but we are looking at Version 155f of Zencart.

    And this actually has nothing to do with it showing whether comments are left or not as here is a screen shot of one that no comments were left by the customer and it as I would expect it to be! Showing no comments.
    Click image for larger version. 

Name:	No Coomments.jpg 
Views:	1 
Size:	20.8 KB 
ID:	18869

    And this is one that actually has comments left by the customer but again you see nothing on the order page under the Comments section.

    Click image for larger version. 

Name:	No Comment 2.jpg 
Views:	0 
Size:	22.6 KB 
ID:	18870

    So the first one has no comments by the customer and the second one does have comments by the customer but they both show the same thing under the commens area of their orders page.

    I also understand that it could have been some time since it was shown but what I am asking is what would I need to do to get it corrected so that it shows the Customers comments in the Comments Section of the Order page if they actually left a Comment for that order??

  6. #6
    Join Date
    Feb 2018
    Location
    Tennessee
    Posts
    42
    Plugin Contributions
    0

    Default Re: Admin - Orders page - Righthand infobox- Customers comments not showing though th

    If the system itself adds comments it makes no sense to show those but if a Customer leaves a Comment it would be great to see those on the Order page.

    But that is just my opinion.
    I even feel that if we could get it to pop up the comment for a specific order just by clicking on the CUstomer Comments indicator (little yellow square) if a small popup window would come up showing the customers comments it would be great!

    But again that is just my opinion thinking why click on any more than you would need too just to view a comment.

    If I knew how to code it I would!!

    Click image for larger version. 

Name:	Screen Shot 2020-02-21 at 3.17.11 PM.png 
Views:	1 
Size:	9.1 KB 
ID:	18871

  7. #7
    Join Date
    Feb 2018
    Location
    Tennessee
    Posts
    42
    Plugin Contributions
    0

    Default Re: Admin - Orders page - Righthand infobox- Customers comments not showing though th

    It would even be great that if I hove over one of the yellow squares it will show - Customer comments - YES but it would be better if it showed the actual comment as I know the customer left a comment because it shows me the Yellow square indicating "The customer has left a comment"!

    Name:  Screen Shot 2020-02-21 at 3.45.11 PM.png
Views: 14
Size:  10.8 KB

  8. #8
    Join Date
    Feb 2018
    Location
    Tennessee
    Posts
    42
    Plugin Contributions
    0

    Default Re: Admin - Orders page - Righthand infobox- Customers comments not showing though th

    I think that one of the issues is that even though Zen Cart allows the Customers to leave a Comment to an order it does not flag or store is as a Customer Comment but like you said it stores it as just an Order Comment. So I guess the first thing would be to save a Customer Comment in the Order_Status_History section of the database, in a new column called Customer_Comments, after the comments column and store actual Customer Comments in that column for each Order

    Click image for larger version. 

Name:	Screen Shot 2020-02-21 at 4.09.19 PM.png 
Views:	1 
Size:	13.0 KB 
ID:	18873

  9. #9
    Join Date
    Feb 2018
    Location
    Tennessee
    Posts
    42
    Plugin Contributions
    0

    Default Re: Admin - Orders page - Righthand infobox- Customers comments not showing though th

    But I know it knows that their is a Customer comment and not just a Comment on the order because if it did not differentiate in them then every order in this column would have the Yellow Sqaures and not just the ones with the actual customer comments! I know cart generated comments exist as well as comments I have added to the order myself at the bottom of theg actual Order page in admin fo a specific order

    Click image for larger version. 

Name:	Screen Shot 2020-02-21 at 3.17.11 PM.png 
Views:	1 
Size:	9.1 KB 
ID:	18874

 

 

Similar Threads

  1. v151 Customers orders not showing up in admin
    By In2Deep in forum General Questions
    Replies: 3
    Last Post: 30 Oct 2014, 11:03 PM
  2. Customers orders not showing in admin
    By ricangem in forum Managing Customers and Orders
    Replies: 9
    Last Post: 16 May 2014, 03:43 PM
  3. Paypal IPN new orders not showing on Customers/Orders page
    By daelan in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 Feb 2010, 02:23 AM
  4. Orders not showing up in admin/customers/orders
    By vfrazier in forum Managing Customers and Orders
    Replies: 19
    Last Post: 21 Oct 2008, 08:52 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR