Print Page | Close Window

Display Product on Payment Page?

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2078
Printed Date: 23-April-2025 at 9:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Display Product on Payment Page?
Posted By: hnAust
Subject: Display Product on Payment Page?
Date 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.



Replies:
Posted By: Matt
Date 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.


Posted By: hnAust
Date 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 =


Posted By: Matt
Date 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!


Posted By: hnAust
Date 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?


Posted By: hnAust
Date 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



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