Print Page | Close Window

Time In Order page

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Suggestions
Forum Description: ProductCart Suggestions
URL: https://forum.productcart.com/forum_posts.asp?TID=812
Printed Date: 03-May-2024 at 8:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Time In Order page
Posted By: Tzur-pc
Subject: Time In Order page
Date Posted: 21-May-2007 at 1:06am

Hi,

sincce I update to ver 3.051 the TIME dissapear from the order page....

Maybe some one know how to get it back???




Replies:
Posted By: sdalan
Date Posted: 21-May-2007 at 12:10pm

Here is the code from orddetails.asp:

Line 276: '------------------------------
' Order time: retrieve and format
pcv_OrderTime=rs("pcOrd_Time")
if pcv_OrderTime<>"" and not isNull(pcv_OrderTime) then
 if scDateFrmt="DD/MM/YY" then
  pcv_OrderTime = FormatDateTime(pcv_OrderTime, 4)
  else
  pcv_OrderTime = FormatDateTime(pcv_OrderTime, 3)
 end if
else
 pcv_OrderTime=""
end if

Line: 492:

Order #: <%=(scpre+int(qry_ID))%>&nbsp;|&nbsp;Date: <%=porderdate%><% if pcv_OrderTime<>"" then %>&nbsp;|&nbsp;Time: <%=pcv_OrderTime%><%end if%>&nbsp;|&nbsp;Total: <%=scCurSign&money(ptotal)%>

I looked at our backup copy of our SQL data and the field continues to be populated. But the code that formats apparently returns "" for it so the code that displays it skips it. Perhaps take this up in a PC support ticket.

Best regards,

AA




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net