ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Display Product on Payment Page?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Display Product on Payment Page?

 Post Reply Post Reply
Author
Message
hnAust View Drop Down
Newbie
Newbie


Joined: 21-August-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote hnAust Quote  Post ReplyReply Direct Link To This Post Topic: Display Product on Payment Page?
    Posted: 21-October-2008 at 11:13pm
Hi All

Is anyone able to provide some guidance about how to display the products being bought on the paymnta_o.asp page?

We tried adding the following that we found in the wiki to paymnta_o.asp:
<%
ppcCartIndex =session(“pcCartIndex”)
for f=1 to ppcCartIndex
response.write "Product ID: " & ppcCartIndex (f,0)
response.write "Product Name: " & ppcCartIndex (f,1)
Next
%>
But it produced no results.

Thank you for your help.
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 21-October-2008 at 11:38pm
After OrderVerify.asp (the order verify screen) everything needs to come out of the database.  So you should grab the code you need from orderComplete.asp.  That page queries the db for the product ordered and loops through them.
Back to Top
hnAust View Drop Down
Newbie
Newbie


Joined: 21-August-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote hnAust Quote  Post ReplyReply Direct Link To This Post Posted: 21-October-2008 at 11:46pm
Thanks for your prompt reply.

I have taken - what i think i need from ordercomplete.asp but get this error;

Error Description: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'orders.idOrder ='.
* Last Query: SELECT orders.idCustomer,orders.orderStatus FROM orders WHERE orders.idOrder =
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 21-October-2008 at 11:50pm
There is no order ID in your query.  You have to look over the page and find the variable that holds it.  On the page you are working with it is different than on orderComplete.asp.  It is called "session("GWOrderId")".  Good Luck!

Edited by Matt - 21-October-2008 at 11:51pm
Back to Top
hnAust View Drop Down
Newbie
Newbie


Joined: 21-August-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote hnAust Quote  Post ReplyReply Direct Link To This Post Posted: 21-October-2008 at 11:56pm
Is there any one out there looking for a freelance job to complete the task that we have described in this post?
Back to Top
hnAust View Drop Down
Newbie
Newbie


Joined: 21-August-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote hnAust Quote  Post ReplyReply Direct Link To This Post Posted: 22-October-2008 at 3:35am
Hi Matt

Thanks for your help. I have been able to work out the process and customise the payment page successfully. Just need to work out when and where the confirmation emails fire from to customise those.

Thanks again
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.